--- language: - en license: apache-2.0 datasets: - glue metrics: - accuracy model-index: - name: gpt2-finetuned-wnli results: - task: name: Text Classification type: text-classification dataset: name: GLUE WNLI type: glue args: wnli metrics: - name: Accuracy type: accuracy value: 0.54930 --- # gpt2-finetuned-wnli This model is GPT-2 fine-tuned on GLUE STS-B dataset. It acheives the following results on the validation set - Accuracy: 0.54930 ## Model Details GPT-2 is a transformers model pretrained on a very large corpus of English data in a self-supervised fashion. This means it was pretrained on the raw texts only, with no humans labelling them in any way (which is why it can use lots of publicly available data) with an automatic process to generate inputs and labels from those texts. More precisely, it was trained to guess the next word in sentences. However, it acheives very good results on Text Classification tasks. ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - learning_rate: 2e-5 - train_batch_size: 16 - eval_batch_size: 16 - seed: 123 - optimizer: epsilon=1e-08 - num_epochs: 3 ### Training results |Epoch | Training Loss | Training Accuracy | Validation Loss | Validation Accuracy | |:----:|:-------------:|:-----------------:|:---------------:|:-------------------:| | 1 | 0.72133 | 0.49449 | 0.67626 | 0.50704 | | 2 | 0.71982 | 0.50866 | 0.70278 | 0.49296 | | 3 | 0.70411 | 0.51181 | 0.68919 | **0.54930** |