readme: ---
  license: mit
  tags:
  - generated_from_trainer
  datasets:
  - glue
  metrics:
  - matthews_correlation
  model-index:
  - name: roberta-base-finetuned-cola
    results:
    - task:
        name: Text Classification
        type: text-classification
      dataset:
        name: glue
        type: glue
        config: cola
        split: train
        args: cola
      metrics:
      - name: Matthews Correlation
        type: matthews_correlation
        value: 0.6294853119353584
  ---
  
  <!-- 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. -->
  
  # roberta-base-finetuned-cola
  
  This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on the glue dataset.
  It achieves the following results on the evaluation set:
  - Loss: 0.9395
  - Matthews Correlation: 0.6295
  
  ## 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: 16
  - eval_batch_size: 16
  - seed: 42
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  - lr_scheduler_type: linear
  - num_epochs: 12
  
  ### Training results
  
  | Training Loss | Epoch | Step | Validation Loss | Matthews Correlation |
  |:-------------:|:-----:|:----:|:---------------:|:--------------------:|
  | 0.4988        | 1.0   | 535  | 0.6503          | 0.4420               |
  | 0.3345        | 2.0   | 1070 | 0.5180          | 0.5756               |
  | 0.2408        | 3.0   | 1605 | 0.5348          | 0.5781               |
  | 0.193         | 4.0   | 2140 | 0.6002          | 0.5916               |
  | 0.1506        | 5.0   | 2675 | 0.9790          | 0.5803               |
  | 0.114         | 6.0   | 3210 | 0.9925          | 0.5907               |
  | 0.0882        | 7.0   | 3745 | 0.9395          | 0.6295               |
  | 0.0832        | 8.0   | 4280 | 1.1077          | 0.6167               |
  | 0.0506        | 9.0   | 4815 | 1.2207          | 0.6119               |
  | 0.0473        | 10.0  | 5350 | 1.3050          | 0.5931               |
  | 0.0378        | 11.0  | 5885 | 1.3288          | 0.6115               |
  | 0.0381        | 12.0  | 6420 | 1.3596          | 0.6115               |
  
  
  ### Framework versions
  
  - Transformers 4.22.1
  - Pytorch 1.12.1+cu113
  - Datasets 2.5.1
  - Tokenizers 0.12.1
  