Text Classification
Transformers
TensorBoard
Safetensors
modernbert
sentiment
multilingual
sentiment-analysis
product-reviews
place-reviews
text-embeddings-inference
Instructions to use clapAI/modernBERT-base-multilingual-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use clapAI/modernBERT-base-multilingual-sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="clapAI/modernBERT-base-multilingual-sentiment")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("clapAI/modernBERT-base-multilingual-sentiment") model = AutoModelForSequenceClassification.from_pretrained("clapAI/modernBERT-base-multilingual-sentiment", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
| { | |
| "test_f1": 0.8016275597111338, | |
| "test_loss": 0.450439453125, | |
| "test_precision": 0.8026123522766202, | |
| "test_recall": 0.8009420818603815, | |
| "test_runtime": 258.8507, | |
| "test_samples_per_second": 1519.934, | |
| "test_steps_per_second": 1.487 | |
| } |