Update copy_weights.py
Browse files- copy_weights.py +3 -3
copy_weights.py
CHANGED
|
@@ -5,9 +5,9 @@ import os
|
|
| 5 |
|
| 6 |
print("🚀 Copying embeddings and lm_head...")
|
| 7 |
|
| 8 |
-
old_model_path = "."
|
| 9 |
-
new_tokenizer_path = "./
|
| 10 |
-
save_path = "./
|
| 11 |
|
| 12 |
os.makedirs(save_path, exist_ok=True)
|
| 13 |
|
|
|
|
| 5 |
|
| 6 |
print("🚀 Copying embeddings and lm_head...")
|
| 7 |
|
| 8 |
+
old_model_path = "." ## curent model
|
| 9 |
+
new_tokenizer_path = "./jirack_code_tokenizer" ## new JiRack tokenizer
|
| 10 |
+
save_path = "./JiRack_init_model_with_new_vocab" ## new safe bank model
|
| 11 |
|
| 12 |
os.makedirs(save_path, exist_ok=True)
|
| 13 |
|