add pkgs
This commit is contained in:
16
examples/gptneox/get_weights.sh
Normal file
16
examples/gptneox/get_weights.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
mkdir -p downloads
|
||||
pushd downloads
|
||||
rm -rf gptneox_model
|
||||
git clone https://huggingface.co/EleutherAI/gpt-neox-20b gptneox_model
|
||||
|
||||
rm -f gptneox_model/model-*.safetensors
|
||||
rm -f gptneox_model/model.safetensors.index.json
|
||||
wget -q https://huggingface.co/EleutherAI/gpt-neox-20b/resolve/main/model.safetensors.index.json --directory-prefix gptneox_model
|
||||
|
||||
for i in $(seq -f %05g 46)
|
||||
do
|
||||
echo -n "Downloading $i of 00046..."
|
||||
wget -q https://huggingface.co/EleutherAI/gpt-neox-20b/resolve/main/model-$i-of-00046.safetensors --directory-prefix gptneox_model
|
||||
echo "Done"
|
||||
done
|
||||
popd
|
||||
Reference in New Issue
Block a user