File size: 2,281 Bytes
bd25417 d0405e3 bd25417 198116a 85a99ac e455694 85a99ac bd25417 4ead422 bd25417 4ead422 bd25417 e455694 85a99ac bd25417 d0405e3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
---
license: apache-2.0
base_model: distilbert-base-uncased
tags:
- generated_from_keras_callback
model-index:
- name: Dave12121/Fsentiment
results: []
datasets:
- financial_phrasebank
language:
- en
---
# Dave12121/Fsentiment
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the [financial phrasebank sentences all agree](https://huggingface.co/datasets/financial_phrasebank/viewer/sentences_allagree) dataset.
- Train Loss: 0.0517
- Validation Loss: 0.2117
- Train Accuracy: 0.9384
- Epoch: 2
It achieves an macro f1 score on the validation set [financial phrasebank sentences 75%](https://huggingface.co/datasets/financial_phrasebank/viewer/sentences_75agree) of: 0.92
The testing data is a data subset of the finantial phrasebank in which [66% annotators agreed](https://huggingface.co/datasets/financial_phrasebank/viewer/sentences_66agree) on the label.
The reported macro f1 score on the test set is: 0.86
## Model description
More information needed
## Intended uses & limitations
Model should be treated with care. A simple review showed first signs of gender bias within the model.
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- optimizer: {'name': 'Adam', 'weight_decay': None, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': False, 'is_legacy_optimizer': False, 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 705, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False}
- training_precision: float32
### Training results
| Train Loss | Validation Loss | Train Accuracy | Epoch |
|:----------:|:---------------:|:--------------:|:-----:|
| 0.5028 | 0.3128 | 0.8904 | 0 |
| 0.1137 | 0.2117 | 0.9375 | 1 |
| 0.0517 | 0.2117 | 0.9384 | 2 |
### Framework versions
- Transformers 4.35.0
- TensorFlow 2.11.1
- Datasets 2.14.6
- Tokenizers 0.14.1 |