We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 738c7da commit 0ccb6f8Copy full SHA for 0ccb6f8
model2vec/train/README.md
@@ -22,7 +22,7 @@ from model2vec.train import StaticModelForClassification
22
23
# From a distilled model
24
distilled_model = distill("baai/bge-base-en-v1.5")
25
-classifier = StaticModelForClassification.from_static_model(distilled_model)
+classifier = StaticModelForClassification.from_static_model(model=distilled_model)
26
27
# From a pre-trained model: potion is the default
28
classifier = StaticModelForClassification.from_pretrained(model_name="minishlab/potion-base-32m")
0 commit comments