Skip to content

Commit e737eb0

Browse files
committed
add -c in download script, add onnx download script.
1 parent 5e23370 commit e737eb0

File tree

4 files changed

+19
-9
lines changed

4 files changed

+19
-9
lines changed

download_onnx.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
for i in `seq 0 27`
2+
do
3+
wget -c https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.4/glm_block_$i.onnx
4+
done
5+
6+
wget -c https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.4/embedding.onnx
7+
wget -c https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.4/embedding_weight.zip
8+
wget -c https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.4/lm_head.onnx
9+
wget -c https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.4/lm_head_weight.zip
10+
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
for i in `seq 0 27`
22
do
3-
wget https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.1/glm_block_$i.mnn
3+
wget -c https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.1/glm_block_$i.mnn
44
done
55

6-
wget https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.1/lm.mnn
7-
wget https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.1/slim_word_embeddings.bin
6+
wget -c https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.1/lm.mnn
7+
wget -c https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.1/slim_word_embeddings.bin
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
for i in `seq 0 27`
22
do
3-
wget https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.3/glm_block_$i.mnn
3+
wget -c https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.3/glm_block_$i.mnn
44
done
55

6-
wget https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.1/lm.mnn
7-
wget https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.1/slim_word_embeddings.bin
6+
wget -c https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.1/lm.mnn
7+
wget -c https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.1/slim_word_embeddings.bin
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
for i in `seq 0 27`
22
do
3-
wget https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.2/glm_block_$i.mnn
3+
wget -c https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.2/glm_block_$i.mnn
44
done
55

6-
wget https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.1/lm.mnn
7-
wget https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.1/slim_word_embeddings.bin
6+
wget -c https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.1/lm.mnn
7+
wget -c https://ghproxy.com/https://github.com/wangzhaode/ChatGLM-MNN/releases/download/v0.1/slim_word_embeddings.bin

0 commit comments

Comments
 (0)