Skip to content

Commit 0ccb6f8

Browse files
committed
docs: update README
1 parent 738c7da commit 0ccb6f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model2vec/train/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ from model2vec.train import StaticModelForClassification
2222

2323
# From a distilled model
2424
distilled_model = distill("baai/bge-base-en-v1.5")
25-
classifier = StaticModelForClassification.from_static_model(distilled_model)
25+
classifier = StaticModelForClassification.from_static_model(model=distilled_model)
2626

2727
# From a pre-trained model: potion is the default
2828
classifier = StaticModelForClassification.from_pretrained(model_name="minishlab/potion-base-32m")

0 commit comments

Comments
 (0)