Instructions to use Vandita/EmoCentricSarcBERT27FebRstate42 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Vandita/EmoCentricSarcBERT27FebRstate42 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Vandita/EmoCentricSarcBERT27FebRstate42")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Vandita/EmoCentricSarcBERT27FebRstate42") model = AutoModelForSequenceClassification.from_pretrained("Vandita/EmoCentricSarcBERT27FebRstate42") - Notebooks
- Google Colab
- Kaggle
EmoCentricSarcBERT27FebRstate42
This model is a fine-tuned version of bert-base-cased on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.8644
- Accuracy: 0.8930
- Precision: 0.8843
- Recall: 0.8345
- F1: 0.8587
- Mcc: 0.7735
- Roc Auc: 0.9530
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: 32
- eval_batch_size: 32
- seed: 42
- distributed_type: tpu
- optimizer: Use OptimizerNames.ADAMW_TORCH_XLA with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Mcc | Roc Auc |
|---|---|---|---|---|---|---|---|---|---|
| 0.2250 | 1.0 | 735 | 0.2860 | 0.8826 | 0.8630 | 0.8306 | 0.8465 | 0.7518 | 0.9550 |
| 0.1647 | 2.0 | 1470 | 0.3501 | 0.8863 | 0.8815 | 0.8183 | 0.8487 | 0.7592 | 0.9560 |
| 0.0876 | 3.0 | 2205 | 0.5058 | 0.8856 | 0.8520 | 0.8550 | 0.8535 | 0.7597 | 0.9555 |
| 0.0665 | 4.0 | 2940 | 0.5514 | 0.8873 | 0.8847 | 0.8175 | 0.8498 | 0.7614 | 0.9545 |
| 0.0363 | 5.0 | 3675 | 0.7074 | 0.8822 | 0.8991 | 0.7860 | 0.8388 | 0.7508 | 0.9384 |
| 0.0370 | 6.0 | 4410 | 0.7952 | 0.8867 | 0.8406 | 0.8751 | 0.8575 | 0.7639 | 0.9307 |
| 0.0274 | 7.0 | 5145 | 0.8289 | 0.8863 | 0.8960 | 0.8013 | 0.8460 | 0.7593 | 0.9533 |
| 0.0171 | 8.0 | 5880 | 0.8610 | 0.8863 | 0.8869 | 0.8118 | 0.8477 | 0.7592 | 0.9497 |
| 0.0166 | 9.0 | 6615 | 0.8506 | 0.8921 | 0.8816 | 0.8354 | 0.8578 | 0.7717 | 0.9507 |
| 0.0128 | 10.0 | 7350 | 0.8644 | 0.8930 | 0.8843 | 0.8345 | 0.8587 | 0.7735 | 0.9530 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.9.0+cpu
- Datasets 4.5.0
- Tokenizers 0.22.2
- Downloads last month
- 1
Model tree for Vandita/EmoCentricSarcBERT27FebRstate42
Base model
google-bert/bert-base-cased