Instructions to use Danieljava/minilm-language-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Danieljava/minilm-language-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Danieljava/minilm-language-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Danieljava/minilm-language-classifier") model = AutoModelForSequenceClassification.from_pretrained("Danieljava/minilm-language-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
End of training
Verified signature2ab46f6 -
Training in progress, step 500
Verified signature6f58a38 -
initial commit
Verified signature60cfe04