fireballoon
commited on
Commit
•
7502c3a
1
Parent(s):
3cdc5c4
Update convert_baichuan_to_llama.py
Browse files
convert_baichuan_to_llama.py
CHANGED
@@ -11,4 +11,4 @@ for key in baichuan:
|
|
11 |
llama[key.replace('W_pack', 'v_proj')] = baichuan[key][4096 * 2:]
|
12 |
else:
|
13 |
llama[key] = baichuan[key]
|
14 |
-
torch.save(
|
|
|
11 |
llama[key.replace('W_pack', 'v_proj')] = baichuan[key][4096 * 2:]
|
12 |
else:
|
13 |
llama[key] = baichuan[key]
|
14 |
+
torch.save(llama, "pytorch_model.bin")
|