|
--- |
|
license: apache-2.0 |
|
base_model: bert-base-cased |
|
tags: |
|
- generated_from_trainer |
|
metrics: |
|
- accuracy |
|
model-index: |
|
- name: newsdata-cls |
|
results: [] |
|
--- |
|
|
|
<!-- This model card has been generated automatically according to the information the Trainer had access to. You |
|
should probably proofread and complete it, then remove this comment. --> |
|
|
|
# newsdata-cls |
|
|
|
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the None dataset. |
|
It achieves the following results on the evaluation set: |
|
- Loss: 1.0625 |
|
- Accuracy: 0.8124 |
|
|
|
## 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: 2 |
|
- eval_batch_size: 2 |
|
- seed: 42 |
|
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 |
|
- lr_scheduler_type: linear |
|
- num_epochs: 1 |
|
|
|
### Training results |
|
|
|
| Training Loss | Epoch | Step | Validation Loss | Accuracy | |
|
|:-------------:|:------:|:-----:|:---------------:|:--------:| |
|
| 1.342 | 0.0859 | 5000 | 1.7155 | 0.6436 | |
|
| 1.2536 | 0.1718 | 10000 | 1.3484 | 0.7139 | |
|
| 1.1442 | 0.2577 | 15000 | 1.2988 | 0.7495 | |
|
| 1.0014 | 0.3436 | 20000 | 1.4252 | 0.7492 | |
|
| 0.8824 | 0.4295 | 25000 | 1.2261 | 0.7733 | |
|
| 0.9017 | 0.5155 | 30000 | 1.1556 | 0.7840 | |
|
| 0.7934 | 0.6014 | 35000 | 1.1842 | 0.7917 | |
|
| 0.9238 | 0.6873 | 40000 | 1.0854 | 0.7990 | |
|
| 0.9034 | 0.7732 | 45000 | 1.1318 | 0.7978 | |
|
| 0.7515 | 0.8591 | 50000 | 1.0742 | 0.8049 | |
|
| 0.7735 | 0.9450 | 55000 | 1.0625 | 0.8124 | |
|
|
|
|
|
### Framework versions |
|
|
|
- Transformers 4.41.2 |
|
- Pytorch 2.3.1+cu121 |
|
- Datasets 2.20.0 |
|
- Tokenizers 0.19.1 |
|
|