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 3aff6d1 commit d2d2d9bCopy full SHA for d2d2d9b
src/adaptive_classifier/classifier.py
@@ -482,7 +482,7 @@ def _generate_model_card(self) -> str:
482
from adaptive_classifier import AdaptiveClassifier
483
484
# Load the model
485
-classifier = AdaptiveClassifier.from_pretrained("{self.model.config._name_or_path}")
+classifier = AdaptiveClassifier.from_pretrained("adaptive-classifier/model-name")
486
487
# Make predictions
488
text = "Your text here"
0 commit comments