Skip to content

Commit

Permalink
docs: Update README.md (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pringled authored Feb 11, 2025
1 parent 6381d6f commit b83fb56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ from datasets import load_dataset
from model2vec.train import StaticModelForClassification

# Initialize a classifier from a pre-trained model
classifier = StaticModelForClassification.from_pretrained("minishlab/potion-base-8M")
classifier = StaticModelForClassification.from_pretrained(model_name="minishlab/potion-base-8M")

# Load a dataset
ds = load_dataset("setfit/subj")
Expand Down

0 comments on commit b83fb56

Please sign in to comment.