����� Text Classification

twitter-roberta-base-sentiment-latest

cardiffnlp/twitter-roberta-base-sentiment-latest

Get AI Model →
3.3M
Downloads
�����
804
Likes
�����
12
Tags
📦
transformers
Library
Model Details
Full Model IDcardiffnlp/twitter-roberta-base-sentiment-latest
Pipeline / Tasktext-classification
Librarytransformers
Downloads (all-time)3.3M
Likes804
Last Modified8/4/2025
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-roberta-base-sentiment-latest")

# Run inference
result = pipe("Your input here")
print(result)
����� Tags
transformerspytorchtfrobertatext-classificationendataset:tweet_evalarxiv:2202.03829license:cc-by-4.0endpoints_compatibledeploy:azureregion:us
More Text Classification Models
See all →
ms-marco-MiniLM-L6-v2

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

66.7M����� 249
Get AI Model →
bge-reranker-v2-m3

BAAI/bge-reranker-v2-m3

13.3M����� 1.0K
Get AI Model →
finbert

ProsusAI/finbert

6.8M����� 1.2K
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
Downloads3.3M
����� Community Likes804
🛠�� 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?