mlx-examples/llms/export/third_party/download_unicode.sh
Awni Hannun 26e2d97e27 comment
2025-01-09 15:54:49 -08:00

10 lines
271 B
Bash

#!/bin/bash
commit=1204f9727005974587d6fc1dcd4d4f0ead87c856
url=https://raw.githubusercontent.com/ggerganov/llama.cpp/${commit}/src/
for file in 'unicode.cpp' 'unicode.h' 'unicode-data.cpp' 'unicode-data.h'
do
curl -OL ${url}/${file} --output-dir $1 2>/dev/null
done