Text Classification
Transformers
PyTorch
xlm-roberta
language classification
text-embeddings-inference
Instructions to use nikitast/lang-classifier-roberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nikitast/lang-classifier-roberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nikitast/lang-classifier-roberta")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nikitast/lang-classifier-roberta") model = AutoModelForSequenceClassification.from_pretrained("nikitast/lang-classifier-roberta") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
8fc73b1 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:fb82a294e1851f1483fa192265dd1bccb9535e072d78f906280a1a3114144394
size 1112274157
|