varun-v-rao commited on
Commit
852214c
1 Parent(s): cd748ca

End of training

Browse files
Files changed (1) hide show
  1. README.md +74 -0
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: openai-community/gpt2
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - stanfordnlp/snli
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: gpt2-snli-model1
12
+ results:
13
+ - task:
14
+ name: Text Classification
15
+ type: text-classification
16
+ dataset:
17
+ name: snli
18
+ type: stanfordnlp/snli
19
+ metrics:
20
+ - name: Accuracy
21
+ type: accuracy
22
+ value: 0.8756350335297703
23
+ ---
24
+
25
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
26
+ should probably proofread and complete it, then remove this comment. -->
27
+
28
+ # gpt2-snli-model1
29
+
30
+ This model is a fine-tuned version of [openai-community/gpt2](https://huggingface.co/openai-community/gpt2) on the snli dataset.
31
+ It achieves the following results on the evaluation set:
32
+ - Loss: 0.3309
33
+ - Accuracy: 0.8756
34
+
35
+ ## Model description
36
+
37
+ More information needed
38
+
39
+ ## Intended uses & limitations
40
+
41
+ More information needed
42
+
43
+ ## Training and evaluation data
44
+
45
+ More information needed
46
+
47
+ ## Training procedure
48
+
49
+ ### Training hyperparameters
50
+
51
+ The following hyperparameters were used during training:
52
+ - learning_rate: 2e-05
53
+ - train_batch_size: 256
54
+ - eval_batch_size: 128
55
+ - seed: 41
56
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
57
+ - lr_scheduler_type: linear
58
+ - num_epochs: 3
59
+
60
+ ### Training results
61
+
62
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
63
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
64
+ | 0.4499 | 1.0 | 2146 | 0.3658 | 0.8593 |
65
+ | 0.4065 | 2.0 | 4292 | 0.3434 | 0.8686 |
66
+ | 0.3785 | 3.0 | 6438 | 0.3309 | 0.8756 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.35.2
72
+ - Pytorch 2.1.1+cu121
73
+ - Datasets 2.15.0
74
+ - Tokenizers 0.15.0