🏷️ Text Classification

twitter-xlm-roberta-base-sentiment

cardiffnlp/twitter-xlm-roberta-base-sentiment

Get AI Model →
988.8K
Downloads
❤️
275
Likes
🏷️
10
Tags
📦
transformers
Library
Model Details
Full Model IDcardiffnlp/twitter-xlm-roberta-base-sentiment
Pipeline / Tasktext-classification
Librarytransformers
Downloads (all-time)988.8K
Likes275
Last Modified7/19/2023
Author / Orgcardiffnlp
PrivateNo — public
⚡ Quick Usage (Python)

Using the 🤗 Transformers library. Install with pip install transformers

from transformers import pipeline

# Load the model
pipe = pipeline("text-classification", model="cardiffnlp/twitter-xlm-roberta-base-sentiment")

# Run inference
result = pipe("Your input here")
print(result)
🏷️ Tags
transformerspytorchtfxlm-robertatext-classificationmultilingualarxiv:2104.12250endpoints_compatibledeploy:azureregion:us
More Text Classification Models
See all →
ms-marco-MiniLM-L6-v2

cross-encoder/ms-marco-MiniLM-L6-v2

86.4M❤️ 308
Get AI Model →
bge-reranker-v2-m3

BAAI/bge-reranker-v2-m3

18.1M❤️ 1.2K
Get AI Model →
ms-marco-MiniLM-L4-v2

cross-encoder/ms-marco-MiniLM-L4-v2

6.4M❤️ 28
Get AI Model →
🚀 Use This Model

Access model files, inference API, and full documentation on Hugging Face.

Open on Hugging Face →Browse Model Files ↗← Browse All Models
🏷️ Task: Text Classification

This model is designed for the Text Classification task. Explore more models for this use case.

All Text Classification Models →
📊 Popularity
Downloads988.8K
❤️ Community Likes275
🛠️ Requirements
  • Install: pip install transformers
  • Python 3.8+ recommended for Transformers.
  • GPU (CUDA) speeds up inference significantly.
  • Use model.half() for fp16 on limited VRAM.
👋 Need help with code?