varun-v-rao commited on
Commit
f28f900
1 Parent(s): 52d19fd

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-model2
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.7926234505181874
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-model2
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.5249
33
+ - Accuracy: 0.7926
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: 10
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.7231 | 1.0 | 2146 | 0.5854 | 0.7600 |
65
+ | 0.6412 | 2.0 | 4292 | 0.5355 | 0.7867 |
66
+ | 0.6266 | 3.0 | 6438 | 0.5249 | 0.7926 |
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:18bf62674a7531d5fc75609824cd61c7e655a84a5be29aa0194ae56440e79b9b
3
  size 2371680
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6022f7b7734a914d985a92a902f4357edffee8a202e9ad255d992897106b6d65
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:0ea93323f9f51728beecc3dc69ef04a12c437b6e952a1506a07985e4e6ef2210
3
+ size 497783504
runs/Jun19_23-12-50_gl1510.arc-ts.umich.edu/events.out.tfevents.1718853176.gl1510.arc-ts.umich.edu.4074931.1 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d49032cc7b5d26d284525f3b61e9d5ee4e7c375b435f7f5a418cb2c39d288f04
3
- size 6944
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d65227ef7463cf6311c1c5a7cd023cbc104e75201e49bc2edfdc480a2e6efd34
3
+ size 8249