Skip to content

Commit 466e64d

Browse files
committed
Code block
1 parent 7fb5f08 commit 466e64d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,10 @@ vocabulary = ["word1", "word2", "word3"]
112112
model_name = "BAAI/bge-base-en-v1.5"
113113

114114
# Distill the model with the custom vocabulary
115-
m2v_model = distill(model_name=model_name, vocabulary=vocabulary, pca_dims=None, apply_zipf=True)
115+
m2v_model = distill(model_name=model_name,
116+
vocabulary=vocabulary,
117+
pca_dims=None,
118+
apply_zipf=True)
116119

117120
# Save the model
118121
m2v_model.save_pretrained("m2v_model")

0 commit comments

Comments
 (0)