Instructions to use shahp7575/electricidad-base-muchocine-finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shahp7575/electricidad-base-muchocine-finetuned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="shahp7575/electricidad-base-muchocine-finetuned")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("shahp7575/electricidad-base-muchocine-finetuned") model = AutoModelForSequenceClassification.from_pretrained("shahp7575/electricidad-base-muchocine-finetuned") - Notebooks
- Google Colab
- Kaggle
| tags: | |
| - spanish | |
| - sentiment | |
| datasets: | |
| - muchocine | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # electricidad-base-muchocine-finetuned | |
| This model fine-tunes [mrm8488/electricidad-base-discriminator](https://huggingface.co/mrm8488/electricidad-base-discriminator) on [muchocine](https://huggingface.co/datasets/muchocine) dataset for sentiment classification to predict *star_rating*. | |
| ## Model description | |
| More information needed | |
| ## Intended uses & limitations | |
| More information needed | |
| ## Training and evaluation data | |
| More information needed | |
| ## Training procedure | |
| ### Training hyperparameters | |
| The following hyperparameters were used during training: | |
| - learning_rate: 2e-05 | |
| - train_batch_size: 2 | |
| - eval_batch_size: 2 | |
| - seed: 42 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - num_epochs: 2 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall | | |
| |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:| | |
| | 1.3945 | 1.0 | 2582 | 1.1709 | 0.5 | 0.4852 | 0.5171 | 0.5 | | |
| | 0.9972 | 2.0 | 5164 | 1.2564 | 0.5161 | 0.5166 | 0.5331 | 0.5161 | | |
| ### Framework versions | |
| - Transformers 4.16.2 | |
| - Pytorch 1.10.0+cu111 | |
| - Datasets 1.18.3 | |
| - Tokenizers 0.11.6 | |