Instructions to use cardiffnlp/camembert-base-tweet-sentiment-fr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cardiffnlp/camembert-base-tweet-sentiment-fr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cardiffnlp/camembert-base-tweet-sentiment-fr")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/camembert-base-tweet-sentiment-fr") model = AutoModelForSequenceClassification.from_pretrained("cardiffnlp/camembert-base-tweet-sentiment-fr", 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/camembert-base-tweet-sentiment-fr
This model is a fine-tuned version of camembert-base on the
cardiffnlp/tweet_sentiment_multilingual (french).
Following metrics are computed on the test split of
cardiffnlp/tweet_sentiment_multilingual(french).
| eval_f1_micro | eval_recall_micro | eval_precision_micro | eval_f1_macro | eval_recall_macro | eval_precision_macro | eval_accuracy | |
|---|---|---|---|---|---|---|---|
| 0 | 72.76 | 72.76 | 72.76 | 72.81 | 72.76 | 73.15 | 72.76 |
Check the result file here.
- Downloads last month
- 55