Text Classification
Transformers
TensorBoard
Safetensors
modernbert
sentiment
multilingual
sentiment-analysis
product-reviews
place-reviews
text-embeddings-inference
Instructions to use clapAI/modernBERT-large-multilingual-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use clapAI/modernBERT-large-multilingual-sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="clapAI/modernBERT-large-multilingual-sentiment")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("clapAI/modernBERT-large-multilingual-sentiment") model = AutoModelForSequenceClassification.from_pretrained("clapAI/modernBERT-large-multilingual-sentiment", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download eval_results.json from clapAI/modernBERT-large-multilingual-sentiment: direct link, hf CLI and curl.
- Browser
- Download file 274 Bytes
-
https://huggingface.co/clapAI/modernBERT-large-multilingual-sentiment/resolve/main/eval_results.json
- Command line
-
hf download hf://clapAI/modernBERT-large-multilingual-sentiment/eval_results.json
-
curl -L -o eval_results.json https://huggingface.co/clapAI/modernBERT-large-multilingual-sentiment/resolve/main/eval_results.json
274 Bytes
| { | |
| "epoch": 5.0, | |
| "eval_f1": 0.812837658080022, | |
| "eval_loss": 0.43994140625, | |
| "eval_precision": 0.8124680334875379, | |
| "eval_recall": 0.8133431620386601, | |
| "eval_runtime": 251.4442, | |
| "eval_samples_per_second": 1564.701, | |
| "eval_steps_per_second": 1.531 | |
| } |