We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6381d6f commit b83fb56Copy full SHA for b83fb56
README.md
@@ -103,7 +103,7 @@ from datasets import load_dataset
103
from model2vec.train import StaticModelForClassification
104
105
# Initialize a classifier from a pre-trained model
106
-classifier = StaticModelForClassification.from_pretrained("minishlab/potion-base-8M")
+classifier = StaticModelForClassification.from_pretrained(model_name="minishlab/potion-base-8M")
107
108
# Load a dataset
109
ds = load_dataset("setfit/subj")
0 commit comments