Skip to content

Commit 7a95b21

Browse files
committed
store tokenizer for recovered dir.
1 parent c538412 commit 7a95b21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

weight_diff.py

+1
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ def recover(
133133

134134
if path_tuned is not None:
135135
model_recovered.save_pretrained(path_tuned)
136+
tokenizer_recovered.save_pretrained(path_tuned)
136137

137138
if test_inference:
138139
input_text = (

0 commit comments

Comments
 (0)