pytorch tensorboard longformer fill-mask transformers generated_from_trainer model-index autotrain_compatible
---
tags:
- generated_from_trainer
model-index:
- name: Clinical-Longformer-Cardiology
  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-Cardiology

This model is a fine-tuned version of [yikuan8/Clinical-Longformer](https://huggingface.co/yikuan8/Clinical-Longformer) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 1.4546

## 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: 1
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 4
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 10
- mixed_precision_training: Native AMP

### Training results

| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| 2.2764        | 1.0   | 492  | 1.8319          |
| 1.8285        | 2.0   | 984  | 1.6720          |
| 1.7608        | 3.0   | 1476 | 1.5980          |
| 1.6622        | 4.0   | 1968 | 1.5597          |
| 1.6382        | 5.0   | 2460 | 1.5084          |
| 1.5846        | 6.0   | 2952 | 1.5037          |
| 1.5755        | 7.0   | 3444 | 1.4781          |
| 1.5404        | 8.0   | 3936 | 1.4673          |
| 1.5399        | 9.0   | 4428 | 1.4631          |
| 1.5287        | 10.0  | 4920 | 1.4640          |


### Framework versions

- Transformers 4.17.0
- Pytorch 1.8.0
- Datasets 2.2.2
- Tokenizers 0.11.6
