Text Classification
Transformers
PyTorch
TensorFlow
Italian
camembert
sentiment
emotion
Italian
text-embeddings-inference
Instructions to use MilaNLProc/feel-it-italian-emotion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MilaNLProc/feel-it-italian-emotion with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="MilaNLProc/feel-it-italian-emotion")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("MilaNLProc/feel-it-italian-emotion") model = AutoModelForSequenceClassification.from_pretrained("MilaNLProc/feel-it-italian-emotion", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download trainer_state.json from MilaNLProc/feel-it-italian-emotion: direct link, hf CLI and curl.
- Browser
- Download file 749 Bytes
-
https://huggingface.co/MilaNLProc/feel-it-italian-emotion/resolve/9991d31667931de2777683064f09840c0aeeb90a/trainer_state.json
- Command line
-
hf download hf://MilaNLProc/feel-it-italian-emotion@9991d31667931de2777683064f09840c0aeeb90a/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/MilaNLProc/feel-it-italian-emotion/resolve/9991d31667931de2777683064f09840c0aeeb90a/trainer_state.json
749 Bytes
| { | |
| "best_metric": null, | |
| "best_model_checkpoint": null, | |
| "epoch": 20.0, | |
| "global_step": 1280, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 7.81, | |
| "learning_rate": 3.0468750000000002e-05, | |
| "loss": 0.3051, | |
| "step": 500 | |
| }, | |
| { | |
| "epoch": 15.62, | |
| "learning_rate": 1.09375e-05, | |
| "loss": 0.0211, | |
| "step": 1000 | |
| }, | |
| { | |
| "epoch": 20.0, | |
| "step": 1280, | |
| "total_flos": 13845085104291840, | |
| "train_runtime": 963.3998, | |
| "train_samples_per_second": 1.329 | |
| } | |
| ], | |
| "max_steps": 1280, | |
| "num_train_epochs": 20, | |
| "total_flos": 13845085104291840, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |