uyeongjae commited on
Commit
88f0ba1
1 Parent(s): 6f6a7f4
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ checkpoint-*/
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - null
7
+ model-index:
8
+ - name: distilgpt2-finetuned-wikitext2
9
+ results:
10
+ - task:
11
+ name: Causal Language Modeling
12
+ type: text-generation
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # distilgpt2-finetuned-wikitext2
19
+
20
+ This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on the None dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 3.6426
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 2e-05
42
+ - train_batch_size: 8
43
+ - eval_batch_size: 8
44
+ - seed: 42
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: linear
47
+ - num_epochs: 3.0
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss |
52
+ |:-------------:|:-----:|:----:|:---------------:|
53
+ | 3.5974 | 1.0 | 2334 | 3.6426 |
54
+ | 3.5891 | 2.0 | 4668 | 3.6426 |
55
+ | 3.572 | 3.0 | 7002 | 3.6426 |
56
+
57
+
58
+ ### Framework versions
59
+
60
+ - Transformers 4.10.2
61
+ - Pytorch 1.7.1
62
+ - Datasets 1.11.0
63
+ - Tokenizers 0.10.3
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilgpt2",
3
+ "_num_labels": 1,
4
+ "activation_function": "gelu_new",
5
+ "architectures": [
6
+ "GPT2LMHeadModel"
7
+ ],
8
+ "attn_pdrop": 0.1,
9
+ "bos_token_id": 50256,
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 50256,
12
+ "gradient_checkpointing": false,
13
+ "id2label": {
14
+ "0": "LABEL_0"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "label2id": {
18
+ "LABEL_0": 0
19
+ },
20
+ "layer_norm_epsilon": 1e-05,
21
+ "model_type": "gpt2",
22
+ "n_ctx": 1024,
23
+ "n_embd": 768,
24
+ "n_head": 12,
25
+ "n_inner": null,
26
+ "n_layer": 6,
27
+ "n_positions": 1024,
28
+ "resid_pdrop": 0.1,
29
+ "scale_attn_weights": true,
30
+ "summary_activation": null,
31
+ "summary_first_dropout": 0.1,
32
+ "summary_proj_to_labels": true,
33
+ "summary_type": "cls_index",
34
+ "summary_use_proj": true,
35
+ "task_specific_params": {
36
+ "text-generation": {
37
+ "do_sample": true,
38
+ "max_length": 50
39
+ }
40
+ },
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.10.2",
43
+ "use_cache": true,
44
+ "vocab_size": 50257
45
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e677c56c650f55da31e2574e7c5e30d8591c6e9319d0b9c7105e20523dd49bee
3
+ size 333975623
runs/Sep17_05-01-36_79cb048dbac9/1631855364.2582457/events.out.tfevents.1631855364.79cb048dbac9.92392.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75f0ea56b665878906a44bce1341e1de9b766af184398f2bdae9096296ff30a5
3
+ size 4200
runs/Sep17_05-01-36_79cb048dbac9/1631856069.6606054/events.out.tfevents.1631856069.79cb048dbac9.92392.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:807f65a12dfa635af575a42d09fb79bf957ecd44f382bd4106c6fbb464bcb7cd
3
+ size 4200
runs/Sep17_05-01-36_79cb048dbac9/events.out.tfevents.1631855364.79cb048dbac9.92392.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32f565c6c296e0101e962eca704a90fed07c1a31bdf4e8ea0a8453522b55bb42
3
+ size 6631
runs/Sep17_05-01-36_79cb048dbac9/events.out.tfevents.1631856069.79cb048dbac9.92392.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aba2569a3b9abb8f7029c3f89b9b1087a82e8056cd53dafde4e30cc8b6c58c2e
3
+ size 6659
runs/Sep17_05-01-36_79cb048dbac9/events.out.tfevents.1631856828.79cb048dbac9.92392.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce5f3885bc8ddd00c139377aad040cd6c9069ff3d5fde8aa8fa91e949bf3ce8f
3
+ size 311
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3acfe18fc643931526c32bec15523697005ab54e573d02c6d867dc2b130e24a
3
+ size 2671