|
|
--- |
|
|
tags: |
|
|
- generated_from_trainer |
|
|
model-index: |
|
|
- name: medication-single |
|
|
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. --> |
|
|
|
|
|
# medication-single |
|
|
|
|
|
This model was trained from scratch on an unknown dataset. |
|
|
It achieves the following results on the evaluation set: |
|
|
- Loss: 1.1729 |
|
|
|
|
|
## 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: 0.001 |
|
|
- train_batch_size: 4 |
|
|
- eval_batch_size: 4 |
|
|
- seed: 42 |
|
|
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 |
|
|
- lr_scheduler_type: linear |
|
|
- lr_scheduler_warmup_ratio: 0.03 |
|
|
- num_epochs: 5 |
|
|
|
|
|
### Training results |
|
|
|
|
|
| Training Loss | Epoch | Step | Validation Loss | |
|
|
|:-------------:|:-----:|:----:|:---------------:| |
|
|
| 16.9944 | 0.56 | 10 | 14.4855 | |
|
|
| 8.9359 | 1.11 | 20 | 6.6117 | |
|
|
| 4.7661 | 1.67 | 30 | 2.9825 | |
|
|
| 2.0337 | 2.22 | 40 | 1.8939 | |
|
|
| 1.4419 | 2.78 | 50 | 1.5266 | |
|
|
| 0.9889 | 3.33 | 60 | 1.3596 | |
|
|
| 0.8627 | 3.89 | 70 | 1.2588 | |
|
|
| 0.7604 | 4.44 | 80 | 1.1964 | |
|
|
| 0.8141 | 5.0 | 90 | 1.1729 | |
|
|
|
|
|
|
|
|
### Framework versions |
|
|
|
|
|
- Transformers 4.35.2 |
|
|
- Pytorch 2.0.1+cu117 |
|
|
- Datasets 2.14.7 |
|
|
- Tokenizers 0.14.1 |
|
|
|