Text Classification
Transformers
PyTorch
Safetensors
xlm-roberta
genre
text-genre
text-embeddings-inference
Instructions to use classla/xlm-roberta-base-multilingual-text-genre-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use classla/xlm-roberta-base-multilingual-text-genre-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="classla/xlm-roberta-base-multilingual-text-genre-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("classla/xlm-roberta-base-multilingual-text-genre-classifier") model = AutoModelForSequenceClassification.from_pretrained("classla/xlm-roberta-base-multilingual-text-genre-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
Update README.md c9cb98d verified
Update README.md c09e570 verified
Update README.md 11b46ab verified
Taja Kuzman commited on
Update README.md 55a869b verified
Taja Kuzman commited on
Update README.md c7f9bfc verified
Taja Kuzman commited on
Added information on the cross-lingual capabilities of the model 68c4a0f verified
Taja Kuzman commited on
Update README.md 8784f89 verified
Taja Kuzman commited on
Update README.md de7ed0f verified
Taja Kuzman commited on
Update README.md 5ffe01f verified
Taja Kuzman commited on
Update README.md 470fa16 verified
Taja Kuzman commited on
Update README.md c613f0e verified
Taja Kuzman commited on
Update README.md 28fac11 verified
Taja Kuzman commited on
Update README.md 6be9a30 verified
Taja Kuzman commited on
Update README 9b8116e
Taja Kuzman commited on
Update README.md ac6c965
Taja Kuzman commited on
Update README.md 07f72cb
Taja Kuzman commited on
Adding `safetensors` variant of this model (#1) 13bdbf0
Update README.md a8c5c62
Taja Kuzman commited on
Update README.md 15883fb
Taja Kuzman commited on
Update README.md 746aba2
Taja Kuzman commited on
Update README.md ac2bd19
Taja Kuzman commited on
Update README.md ab3f058
Taja Kuzman commited on
Update README.md be4e3d7
Taja Kuzman commited on
Update config.json d31f5f4
Taja Kuzman commited on
Update config.json 246b839
Taja Kuzman commited on
Update README.md ec8f425
Taja Kuzman commited on
Update README.md c8db1cb
Taja Kuzman commited on
Update README.md d699313
Taja Kuzman commited on
Update README.md f98b0d9
Taja Kuzman commited on
Update README.md 39047a3
Taja Kuzman commited on
Update README.md 874e90e
Taja Kuzman commited on
Update README.md b5466db
Taja Kuzman commited on
Update README.md d66e12b
Taja Kuzman commited on
Update README.md 91ccbbb
Taja Kuzman commited on
Update README.md 98c4e0d
Taja Kuzman commited on
Update config.json 4297d20
Taja Kuzman commited on
Upload model files a00b903
Taja Kuzman commited on
Update README.md 2ad8747
Taja Kuzman commited on
Update README.md 83a7051
Taja Kuzman commited on