|
--- |
|
license: apache-2.0 |
|
base_model: allenai/longformer-base-4096 |
|
tags: |
|
- generated_from_trainer |
|
model-index: |
|
- name: clinical_longformer_same_tokens |
|
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. --> |
|
|
|
# clinical_longformer_same_tokens |
|
|
|
This model is a fine-tuned version of [allenai/longformer-base-4096](https://huggingface.co/allenai/longformer-base-4096) on the None dataset. |
|
It achieves the following results on the evaluation set: |
|
- Loss: 19.3114 |
|
|
|
## 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: 4 |
|
- seed: 42 |
|
- gradient_accumulation_steps: 4 |
|
- total_train_batch_size: 8 |
|
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 |
|
- lr_scheduler_type: linear |
|
- lr_scheduler_warmup_steps: 1500 |
|
- num_epochs: 4 |
|
|
|
### Training results |
|
|
|
| Training Loss | Epoch | Step | Validation Loss | |
|
|:-------------:|:-----:|:----:|:---------------:| |
|
| 20.339 | 0.36 | 4 | 20.7522 | |
|
| 18.817 | 0.71 | 8 | 20.7752 | |
|
| 19.8054 | 1.07 | 12 | 20.9602 | |
|
| 20.1845 | 1.42 | 16 | 20.5820 | |
|
| 19.0897 | 1.78 | 20 | 20.4297 | |
|
| 19.4773 | 2.13 | 24 | 20.5561 | |
|
| 19.448 | 2.49 | 28 | 20.3986 | |
|
| 18.6107 | 2.84 | 32 | 20.1962 | |
|
| 19.3799 | 3.2 | 36 | 20.0190 | |
|
| 19.0794 | 3.56 | 40 | 19.8159 | |
|
| 18.489 | 3.91 | 44 | 19.3114 | |
|
|
|
|
|
### Framework versions |
|
|
|
- Transformers 4.34.1 |
|
- Pytorch 2.1.0+cu118 |
|
- Datasets 2.14.6 |
|
- Tokenizers 0.14.1 |
|
|