3v324v23 commited on
Commit
6e7bad4
·
1 Parent(s): 8ed2b5d
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ checkpoint-*/
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ datasets:
5
+ - null
6
+ model_index:
7
+ - name: gpt2-wikitext2
8
+ results:
9
+ - task:
10
+ name: Causal Language Modeling
11
+ type: text-generation
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # gpt2-wikitext2
18
+
19
+ This model is a fine-tuned version of [](https://huggingface.co/) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 6.3227
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 2e-05
41
+ - train_batch_size: 8
42
+ - eval_batch_size: 8
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 3.0
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss |
51
+ |:-------------:|:-----:|:----:|:---------------:|
52
+ | 6.7523 | 1.0 | 2249 | 6.6652 |
53
+ | 6.4134 | 2.0 | 4498 | 6.3987 |
54
+ | 6.2507 | 3.0 | 6747 | 6.3227 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.9.1
60
+ - Pytorch 1.9.0+cu102
61
+ - Datasets 1.10.2
62
+ - Tokenizers 0.10.3
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": 50256,
8
+ "embd_pdrop": 0.1,
9
+ "eos_token_id": 50256,
10
+ "gradient_checkpointing": false,
11
+ "initializer_range": 0.02,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "gpt2",
14
+ "n_ctx": 1024,
15
+ "n_embd": 768,
16
+ "n_head": 12,
17
+ "n_inner": null,
18
+ "n_layer": 12,
19
+ "n_positions": 1024,
20
+ "resid_pdrop": 0.1,
21
+ "scale_attn_weights": true,
22
+ "summary_activation": null,
23
+ "summary_first_dropout": 0.1,
24
+ "summary_proj_to_labels": true,
25
+ "summary_type": "cls_index",
26
+ "summary_use_proj": true,
27
+ "task_specific_params": {
28
+ "text-generation": {
29
+ "do_sample": true,
30
+ "max_length": 50
31
+ }
32
+ },
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.9.1",
35
+ "use_cache": true,
36
+ "vocab_size": 50257
37
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8211700f370456009b226fb7420070859e20341b7f0124f7455f37be3fcad2c8
3
+ size 510403817
runs/Jul28_03-28-41_287888f20f00/1627442932.0100908/events.out.tfevents.1627442932.287888f20f00.62.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b4b1553b21193d1c5d485c6b026226bcfc23d2742e5ae324f6d796eb2db4d43
3
+ size 4175
runs/Jul28_03-28-41_287888f20f00/events.out.tfevents.1627442931.287888f20f00.62.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b7cd2105d5f2e9768f0dbe2166fdba4b0cbb2b64ab17a77a97bf1c5f1aa78dd
3
+ size 6314
runs/Jul28_03-28-41_287888f20f00/events.out.tfevents.1627443750.287888f20f00.62.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8888263c46da6c32e07d27f2b2ed990a491c029e0269389191d7867cca098ad0
3
+ size 311
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbd03894cf20264a9c8b7d39a38fdbbf5a8c3dd843f357d6fc37405917c29386
3
+ size 2671