Instructions to use cardiffnlp/mbert-base-tweet-sentiment-pt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cardiffnlp/mbert-base-tweet-sentiment-pt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cardiffnlp/mbert-base-tweet-sentiment-pt")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/mbert-base-tweet-sentiment-pt") model = AutoModelForSequenceClassification.from_pretrained("cardiffnlp/mbert-base-tweet-sentiment-pt", device_map="auto") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
cardiffnlp/mbert-base-tweet-sentiment-pt
This model is a fine-tuned version of bert-base-multilingual-cased on the
cardiffnlp/tweet_sentiment_multilingual (portuguese).
Following metrics are computed on the test split of
cardiffnlp/tweet_sentiment_multilingual(portuguese).
| eval_f1_micro | eval_recall_micro | eval_precision_micro | eval_f1_macro | eval_recall_macro | eval_precision_macro | eval_accuracy | |
|---|---|---|---|---|---|---|---|
| 0 | 61.26 | 61.26 | 61.26 | 61.31 | 61.26 | 61.55 | 61.26 |
Check the result file here.
- Downloads last month
- 14