kloon99 commited on
Commit
dff9bbe
·
1 Parent(s): a7dfcfc

Update from

Browse files
README.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: trained_model2
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ # trained_model2
14
+
15
+ This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on an unknown dataset.
16
+
17
+ ## Model description
18
+
19
+ More information needed
20
+
21
+ ## Intended uses & limitations
22
+
23
+ More information needed
24
+
25
+ ## Training and evaluation data
26
+
27
+ More information needed
28
+
29
+ ## Training procedure
30
+
31
+ ### Training hyperparameters
32
+
33
+ The following hyperparameters were used during training:
34
+ - learning_rate: 5e-05
35
+ - train_batch_size: 2
36
+ - eval_batch_size: 8
37
+ - seed: 42
38
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
39
+ - lr_scheduler_type: linear
40
+ - num_epochs: 15.0
41
+
42
+ ### Training results
43
+
44
+
45
+
46
+ ### Framework versions
47
+
48
+ - Transformers 4.13.0.dev0
49
+ - Pytorch 1.9.1
50
+ - Datasets 1.14.0
51
+ - Tokenizers 0.10.3
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 15.0,
3
+ "train_loss": 1.875084553326059,
4
+ "train_runtime": 7135.6528,
5
+ "train_samples": 10310,
6
+ "train_samples_per_second": 21.673,
7
+ "train_steps_per_second": 10.836
8
+ }
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "id2label": {
13
+ "0": "LABEL_0"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "label2id": {
17
+ "LABEL_0": 0
18
+ },
19
+ "layer_norm_epsilon": 1e-05,
20
+ "model_type": "gpt2",
21
+ "n_ctx": 1024,
22
+ "n_embd": 768,
23
+ "n_head": 12,
24
+ "n_inner": null,
25
+ "n_layer": 6,
26
+ "n_positions": 1024,
27
+ "reorder_and_upcast_attn": false,
28
+ "resid_pdrop": 0.1,
29
+ "scale_attn_by_inverse_layer_idx": false,
30
+ "scale_attn_weights": true,
31
+ "summary_activation": null,
32
+ "summary_first_dropout": 0.1,
33
+ "summary_proj_to_labels": true,
34
+ "summary_type": "cls_index",
35
+ "summary_use_proj": true,
36
+ "task_specific_params": {
37
+ "text-generation": {
38
+ "do_sample": true,
39
+ "max_length": 50
40
+ }
41
+ },
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.13.0.dev0",
44
+ "use_cache": true,
45
+ "vocab_size": 50257
46
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44ce0fa85c73a540093ed9e400387076c061e9e83134cfe0128ba0b883293cc3
3
+ size 333972957
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "unk_token": "<|endoftext|>"}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "<|endoftext|>", "bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "add_prefix_space": false, "model_max_length": 1024, "special_tokens_map_file": null, "name_or_path": "distilgpt2", "tokenizer_class": "GPT2Tokenizer"}
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 15.0,
3
+ "train_loss": 1.875084553326059,
4
+ "train_runtime": 7135.6528,
5
+ "train_samples": 10310,
6
+ "train_samples_per_second": 21.673,
7
+ "train_steps_per_second": 10.836
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 15.0,
5
+ "global_step": 77325,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 1.94,
12
+ "learning_rate": 4.3533785968315555e-05,
13
+ "loss": 2.2903,
14
+ "step": 10000
15
+ },
16
+ {
17
+ "epoch": 3.88,
18
+ "learning_rate": 3.706757193663111e-05,
19
+ "loss": 2.0218,
20
+ "step": 20000
21
+ },
22
+ {
23
+ "epoch": 5.82,
24
+ "learning_rate": 3.0601357904946654e-05,
25
+ "loss": 1.9077,
26
+ "step": 30000
27
+ },
28
+ {
29
+ "epoch": 7.76,
30
+ "learning_rate": 2.4135143873262206e-05,
31
+ "loss": 1.8285,
32
+ "step": 40000
33
+ },
34
+ {
35
+ "epoch": 9.7,
36
+ "learning_rate": 1.766892984157776e-05,
37
+ "loss": 1.7738,
38
+ "step": 50000
39
+ },
40
+ {
41
+ "epoch": 11.64,
42
+ "learning_rate": 1.1202715809893308e-05,
43
+ "loss": 1.7327,
44
+ "step": 60000
45
+ },
46
+ {
47
+ "epoch": 13.58,
48
+ "learning_rate": 4.736501778208859e-06,
49
+ "loss": 1.7067,
50
+ "step": 70000
51
+ },
52
+ {
53
+ "epoch": 15.0,
54
+ "step": 77325,
55
+ "total_flos": 4.04095424790528e+16,
56
+ "train_loss": 1.875084553326059,
57
+ "train_runtime": 7135.6528,
58
+ "train_samples_per_second": 21.673,
59
+ "train_steps_per_second": 10.836
60
+ }
61
+ ],
62
+ "max_steps": 77325,
63
+ "num_train_epochs": 15,
64
+ "total_flos": 4.04095424790528e+16,
65
+ "trial_name": null,
66
+ "trial_params": null
67
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90967dd3cbfc979c72e13d62c9fe0fbe07fdf54c531f7c791737274c2a828948
3
+ size 2863
vocab.json ADDED
The diff for this file is too large to render. See raw diff