mlx-examples/llms/export/third_party/download_unicode.sh

10 lines
271 B
Bash
Raw Normal View History

2025-01-10 04:21:31 +08:00
#!/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
2025-01-10 07:30:16 +08:00
curl -OL ${url}/${file} --output-dir $1 2>/dev/null
2025-01-10 04:21:31 +08:00
done