metadata
license: apache-2.0
base_model: bert-large-cased
tags:
- generated_from_trainer
metrics:
- accuracy
model-index:
- name: FakeNews-bert-large-cased-grad
results: []
FakeNews-bert-large-cased-grad
This model is a fine-tuned version of bert-large-cased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.1237
- Accuracy: 0.9743
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: 4
- eval_batch_size: 4
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 8
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 5
Training results
Training Loss | Epoch | Step | Validation Loss | Accuracy |
---|---|---|---|---|
0.3266 | 1.0 | 802 | 0.1648 | 0.9621 |
0.1194 | 2.0 | 1605 | 0.1535 | 0.9682 |
0.0844 | 3.0 | 2407 | 0.1237 | 0.9743 |
0.0248 | 4.0 | 3210 | 0.1537 | 0.9706 |
0.0137 | 5.0 | 4010 | 0.1473 | 0.9748 |
Framework versions
- Transformers 4.35.0
- Pytorch 2.1.0+cu118
- Datasets 2.14.6
- Tokenizers 0.14.1