Instructions to use Vandita/EmoCentricSarcBERT27FebRstate97 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Vandita/EmoCentricSarcBERT27FebRstate97 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Vandita/EmoCentricSarcBERT27FebRstate97")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Vandita/EmoCentricSarcBERT27FebRstate97") model = AutoModelForSequenceClassification.from_pretrained("Vandita/EmoCentricSarcBERT27FebRstate97", device_map="auto") - Notebooks
- Google Colab
- Kaggle
EmoCentricSarcBERT27FebRstate97
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.8018
- Accuracy: 0.8829
- Precision: 0.8654
- Recall: 0.8284
- F1: 0.8465
- Mcc: 0.7524
- Roc Auc: 0.9554
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.3918 | 1.0 | 735 | 0.3039 | 0.8633 | 0.8431 | 0.7978 | 0.8198 | 0.7106 | 0.9433 |
| 0.2766 | 2.0 | 1470 | 0.3133 | 0.8664 | 0.9114 | 0.7279 | 0.8094 | 0.7192 | 0.9551 |
| 0.1459 | 3.0 | 2205 | 0.3325 | 0.8746 | 0.8706 | 0.7965 | 0.8319 | 0.7340 | 0.9548 |
| 0.1155 | 4.0 | 2940 | 0.4817 | 0.8747 | 0.8273 | 0.8576 | 0.8422 | 0.7387 | 0.9518 |
| 0.0629 | 5.0 | 3675 | 0.5622 | 0.8819 | 0.8739 | 0.8144 | 0.8431 | 0.7498 | 0.9539 |
| 0.0476 | 6.0 | 4410 | 0.6410 | 0.8814 | 0.8727 | 0.8144 | 0.8426 | 0.7487 | 0.9534 |
| 0.0349 | 7.0 | 5145 | 0.6857 | 0.8826 | 0.8872 | 0.8004 | 0.8416 | 0.7512 | 0.9543 |
| 0.0292 | 8.0 | 5880 | 0.7575 | 0.8860 | 0.8695 | 0.8323 | 0.8505 | 0.7589 | 0.9545 |
| 0.0215 | 9.0 | 6615 | 0.7781 | 0.8826 | 0.8626 | 0.8310 | 0.8465 | 0.7518 | 0.9546 |
| 0.0155 | 10.0 | 7350 | 0.8018 | 0.8829 | 0.8654 | 0.8284 | 0.8465 | 0.7524 | 0.9554 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.9.0+cpu
- Datasets 4.5.0
- Tokenizers 0.22.2
- Downloads last month
- 7
Model tree for Vandita/EmoCentricSarcBERT27FebRstate97
Base model
google-bert/bert-base-cased