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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nikitast/lang-classifier-roberta") model = AutoModelForSequenceClassification.from_pretrained("nikitast/lang-classifier-roberta", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add multilingual to the language tag
Hi! A PR to add multilingual to the language tag to improve the referencing.94eced2
-
nice readme
33ed588
-
Update README.md
a4fede0
-
Update README.md
5977716 -
Create README.md
83ce11f
-
add tokenizer
01a1d83 -
add model
8fc73b1 -
initial commit
d2ca4e2