readme: ---
  license: apache-2.0
  tags:
  - generated_from_trainer
  model-index:
  - name: CTEBMSP_bsc_test
    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. -->
  
  # CTEBMSP_bsc_test
  
  This model is a fine-tuned version of [PlanTL-GOB-ES/bsc-bio-ehr-es](https://huggingface.co/PlanTL-GOB-ES/bsc-bio-ehr-es) on an unknown dataset.
  It achieves the following results on the evaluation set:
  - Loss: 0.0557
  - Diso Precision: 0.8917
  - Diso Recall: 0.8968
  - Diso F1: 0.8943
  - Diso Number: 2645
  - Overall Precision: 0.8917
  - Overall Recall: 0.8968
  - Overall F1: 0.8943
  - Overall Accuracy: 0.9898
  
  ## 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: 4e-05
  - train_batch_size: 8
  - eval_batch_size: 8
  - seed: 42
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  - lr_scheduler_type: linear
  - num_epochs: 4
  
  ### Training results
  
  | Training Loss | Epoch | Step | Validation Loss | Diso Precision | Diso Recall | Diso F1 | Diso Number | Overall Precision | Overall Recall | Overall F1 | Overall Accuracy |
  |:-------------:|:-----:|:----:|:---------------:|:--------------:|:-----------:|:-------:|:-----------:|:-----------------:|:--------------:|:----------:|:----------------:|
  | 0.0382        | 1.0   | 1570 | 0.0421          | 0.8610         | 0.8922      | 0.8763  | 2645        | 0.8610            | 0.8922         | 0.8763     | 0.9880           |
  | 0.016         | 2.0   | 3140 | 0.0407          | 0.8767         | 0.9009      | 0.8887  | 2645        | 0.8767            | 0.9009         | 0.8887     | 0.9896           |
  | 0.0066        | 3.0   | 4710 | 0.0485          | 0.8962         | 0.8941      | 0.8952  | 2645        | 0.8962            | 0.8941         | 0.8952     | 0.9900           |
  | 0.0023        | 4.0   | 6280 | 0.0557          | 0.8917         | 0.8968      | 0.8943  | 2645        | 0.8917            | 0.8968         | 0.8943     | 0.9898           |
  
  
  ### Framework versions
  
  - Transformers 4.25.1
  - Pytorch 1.13.0+cu116
  - Datasets 2.8.0
  - Tokenizers 0.13.2
  