varun-v-rao commited on
Commit
2ffa59b
1 Parent(s): 55b3d17

End of training

Browse files
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-lora-592K-snli-model3
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.7878479983743142
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-lora-592K-snli-model3
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.5303
33
+ - Accuracy: 0.7878
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: 74
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.7313 | 1.0 | 2146 | 0.5860 | 0.7602 |
65
+ | 0.6559 | 2.0 | 4292 | 0.5387 | 0.7834 |
66
+ | 0.6367 | 3.0 | 6438 | 0.5303 | 0.7878 |
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
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:35e2ecf19acd36cbb034e23a47e48882a41c9029aa739b7ccd84e0397908b03a
3
  size 2371680
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6a7f006b6ce8433be9b5c04bae407a812bb4c8b00cb3e065fac1ad6357e54ea
3
  size 2371680
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openai-community/gpt2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2ForSequenceClassification"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 50256,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "label2id": {
18
+ "LABEL_0": 0,
19
+ "LABEL_1": 1,
20
+ "LABEL_2": 2
21
+ },
22
+ "layer_norm_epsilon": 1e-05,
23
+ "model_type": "gpt2",
24
+ "n_ctx": 1024,
25
+ "n_embd": 768,
26
+ "n_head": 12,
27
+ "n_inner": null,
28
+ "n_layer": 12,
29
+ "n_positions": 1024,
30
+ "pad_token_id": 50256,
31
+ "problem_type": "single_label_classification",
32
+ "reorder_and_upcast_attn": false,
33
+ "resid_pdrop": 0.1,
34
+ "scale_attn_by_inverse_layer_idx": false,
35
+ "scale_attn_weights": true,
36
+ "summary_activation": null,
37
+ "summary_first_dropout": 0.1,
38
+ "summary_proj_to_labels": true,
39
+ "summary_type": "cls_index",
40
+ "summary_use_proj": true,
41
+ "task_specific_params": {
42
+ "text-generation": {
43
+ "do_sample": true,
44
+ "max_length": 50
45
+ }
46
+ },
47
+ "torch_dtype": "float32",
48
+ "transformers_version": "4.35.2",
49
+ "use_cache": true,
50
+ "vocab_size": 50257
51
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c1bae2d2be480ebed846f07a00fe9be72f560b3cf7d82bac48559d637103fc4
3
+ size 497783504
runs/Jun19_23-57-50_gl1510.arc-ts.umich.edu/events.out.tfevents.1718855875.gl1510.arc-ts.umich.edu.4074931.2 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b05670405d28a7ef64efddb8e9b4d2fe5b8fb6e14491ed42fc7e3b1c7a8c5660
3
- size 6944
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbc894172eda660f67343ea2139263418c1f6d47c1a9923ce5f07a50fe0a3fff
3
+ size 8249