Instructions to use TimLupus/bert-bilstm-mla-emotion-small-data with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TimLupus/bert-bilstm-mla-emotion-small-data with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, DistilBertBiLSTMAttention tokenizer = AutoTokenizer.from_pretrained("TimLupus/bert-bilstm-mla-emotion-small-data") model = DistilBertBiLSTMAttention.from_pretrained("TimLupus/bert-bilstm-mla-emotion-small-data", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bert-bilstm-mla-emotion-small-data
This model is a fine-tuned version of distilbert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.1521
- Accuracy: 0.945
- F1: 0.9450
- Precision: 0.9179
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: 5e-05
- train_batch_size: 64
- eval_batch_size: 32
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 6
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision |
|---|---|---|---|---|---|---|
| 0.483 | 1.0 | 250 | 0.1808 | 0.9265 | 0.9275 | 0.8922 |
| 0.1461 | 2.0 | 500 | 0.1310 | 0.9395 | 0.9398 | 0.9129 |
| 0.1017 | 3.0 | 750 | 0.1176 | 0.9425 | 0.9429 | 0.9089 |
| 0.0776 | 4.0 | 1000 | 0.1295 | 0.946 | 0.9456 | 0.9259 |
| 0.0585 | 5.0 | 1250 | 0.1396 | 0.947 | 0.9469 | 0.9219 |
| 0.0434 | 6.0 | 1500 | 0.1521 | 0.945 | 0.9450 | 0.9179 |
Framework versions
- Transformers 4.48.1
- Pytorch 2.9.1+cu130
- Datasets 4.6.1
- Tokenizers 0.21.4
- Downloads last month
- 11
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for TimLupus/bert-bilstm-mla-emotion-small-data
Base model
distilbert/distilbert-base-uncased