safetensors roberta generated_from_trainer en dataset:glue base_model:FacebookAI/roberta-large base_model:finetune:FacebookAI/roberta-large model-index region:us
---
base_model: FacebookAI/roberta-large
datasets:
- glue
language:
- en
metrics:
- matthews_correlation
tags:
- generated_from_trainer
model-index:
- name: CoLA
  results:
  - task:
      type: text-classification
      name: Text Classification
    dataset:
      name: GLUE COLA
      type: glue
      args: cola
    metrics:
    - type: matthews_correlation
      value: 0.6506260334047431
      name: Matthews Correlation
---

<!-- 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. -->

# CoLA

This model is a fine-tuned version of [FacebookAI/roberta-large](https://huggingface.co/FacebookAI/roberta-large) on the GLUE COLA dataset.
It achieves the following results on the evaluation set:
- Loss: 0.3898
- Matthews Correlation: 0.6506

## 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: 64
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 6.0

### Training results

| Training Loss | Epoch | Step | Validation Loss | Matthews Correlation |
|:-------------:|:-----:|:----:|:---------------:|:--------------------:|
| No log        | 1.0   | 134  | 0.4051          | 0.5939               |
| No log        | 2.0   | 268  | 0.4063          | 0.6259               |
| No log        | 3.0   | 402  | 0.3898          | 0.6506               |
| 0.3265        | 4.0   | 536  | 0.5071          | 0.6048               |
| 0.3265        | 5.0   | 670  | 0.4976          | 0.6332               |
| 0.3265        | 6.0   | 804  | 0.5763          | 0.6385               |


### Framework versions

- Transformers 4.43.3
- Pytorch 1.11.0+cu113
- Datasets 2.20.0
- Tokenizers 0.19.1
