Instructions to use qanastek/51-languages-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use qanastek/51-languages-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="qanastek/51-languages-classifier")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("qanastek/51-languages-classifier", dtype="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#3 opened almost 3 years ago
by
SFconvertbot
How to get the logits of the model
#2 opened about 3 years ago
by
doterog
Update language tag
#1 opened almost 4 years ago
by
lbourdois