Text Classification
Transformers
PyTorch
TensorFlow
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Instructions to use papluca/xlm-roberta-base-language-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use papluca/xlm-roberta-base-language-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="papluca/xlm-roberta-base-language-detection")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("papluca/xlm-roberta-base-language-detection") model = AutoModelForSequenceClassification.from_pretrained("papluca/xlm-roberta-base-language-detection", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Model not loading or does not exists
#6
by Yojana - opened
Dear team,
I have been trying to use the API for the model but with every run it says that the "Model papluca/xlm-roberta-base-language-detection does not exist". Is there some error on my end? How can I fix this?
Hi,
I believe this is due to an infrastructure problem that has affected Huggingface in the last 24 hours or so. I read that several models were no longer available on the model hub.
I have tested it now and it seems to be working again.
Let me know if the problem persists! π
Oh, I see. I suspected the same but wasn't sure since the API severs seem to be running. Thanks for the update.
It looks like everything is fine now.
Yojana changed discussion status to closed