cappuch commited on
Commit
7b77d89
1 Parent(s): 83d7d3a

Training in progress, step 500

Browse files
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ datasets:
5
+ - wikitext
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: test_pretrain
10
+ results:
11
+ - task:
12
+ name: Causal Language Modeling
13
+ type: text-generation
14
+ dataset:
15
+ name: wikitext wikitext-2-v1
16
+ type: wikitext
17
+ args: wikitext-2-v1
18
+ metrics:
19
+ - name: Accuracy
20
+ type: accuracy
21
+ value: 0.28011557471332055
22
+ ---
23
+
24
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
25
+ should probably proofread and complete it, then remove this comment. -->
26
+
27
+ # test_pretrain
28
+
29
+ This model is a fine-tuned version of [](https://huggingface.co/) on the wikitext wikitext-2-v1 dataset.
30
+ It achieves the following results on the evaluation set:
31
+ - Loss: 5.0612
32
+ - Accuracy: 0.2801
33
+
34
+ ## Model description
35
+
36
+ More information needed
37
+
38
+ ## Intended uses & limitations
39
+
40
+ More information needed
41
+
42
+ ## Training and evaluation data
43
+
44
+ More information needed
45
+
46
+ ## Training procedure
47
+
48
+ ### Training hyperparameters
49
+
50
+ The following hyperparameters were used during training:
51
+ - learning_rate: 5e-05
52
+ - train_batch_size: 4
53
+ - eval_batch_size: 8
54
+ - seed: 42
55
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
56
+ - lr_scheduler_type: linear
57
+ - num_epochs: 3.0
58
+ - mixed_precision_training: Native AMP
59
+
60
+ ### Training results
61
+
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.37.0.dev0
67
+ - Pytorch 2.1.0+cu121
68
+ - Datasets 2.16.1
69
+ - Tokenizers 0.15.0
all_results.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.28011557471332055,
4
+ "eval_loss": 5.061196804046631,
5
+ "eval_runtime": 16.9445,
6
+ "eval_samples": 249,
7
+ "eval_samples_per_second": 14.695,
8
+ "eval_steps_per_second": 1.889,
9
+ "perplexity": 157.77923419764554,
10
+ "train_loss": 5.833661626916525,
11
+ "train_runtime": 1259.5482,
12
+ "train_samples": 2346,
13
+ "train_samples_per_second": 5.588,
14
+ "train_steps_per_second": 1.398
15
+ }
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_remove_final_layer_norm": false,
3
+ "activation_function": "relu",
4
+ "architectures": [
5
+ "OPTForCausalLM"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 2,
9
+ "do_layer_norm_before": true,
10
+ "dropout": 0.1,
11
+ "enable_bias": true,
12
+ "eos_token_id": 2,
13
+ "ffn_dim": 3072,
14
+ "hidden_size": 768,
15
+ "init_std": 0.02,
16
+ "layer_norm_elementwise_affine": true,
17
+ "layerdrop": 0.0,
18
+ "max_position_embeddings": 2048,
19
+ "model_type": "opt",
20
+ "num_attention_heads": 12,
21
+ "num_hidden_layers": 12,
22
+ "pad_token_id": 1,
23
+ "torch_dtype": "float32",
24
+ "transformers_version": "4.37.0.dev0",
25
+ "use_cache": true,
26
+ "vocab_size": 50272,
27
+ "word_embed_proj_dim": 768
28
+ }
eval_results.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.28011557471332055,
4
+ "eval_loss": 5.061196804046631,
5
+ "eval_runtime": 16.9445,
6
+ "eval_samples": 249,
7
+ "eval_samples_per_second": 14.695,
8
+ "eval_steps_per_second": 1.889,
9
+ "perplexity": 157.77923419764554
10
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.37.0.dev0"
6
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:123e2468f32e41c988079bbddb9498d70f05f2923b803a528af1268907af8756
3
+ size 500979600
runs/Jan16_12-14-01_0048b83c9bcc/events.out.tfevents.1705407250.0048b83c9bcc.6626.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8bba1d17b4945892e9a48476eabe96419c7f502520f2270289cc6e8882ab32bf
3
+ size 4374
runs/Jan16_12-16-45_0048b83c9bcc/events.out.tfevents.1705407414.0048b83c9bcc.7361.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:194c96f09026ef6458fbbfed747a0625abb0940e72ba093a5a5959ab8cdf9f6d
3
+ size 4383
runs/Jan16_12-19-24_0048b83c9bcc/events.out.tfevents.1705407574.0048b83c9bcc.8085.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bb7861555220dc618b8582668c1dff0deb47aa694e82398c6fc31a168c92452
3
+ size 5208
runs/Jan16_12-19-24_0048b83c9bcc/events.out.tfevents.1705408904.0048b83c9bcc.8085.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdccfc534e36e0ef05618e84cfb2030fcda248989d02f6fb1ae9ed49b5dc571d
3
+ size 411
runs/Jan16_13-08-13_0048b83c9bcc/events.out.tfevents.1705410502.0048b83c9bcc.20471.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3329ad656997119ea93fb833895bf5a6edcbb0b3c812805cd4b76e66496367a
3
+ size 4291
runs/Jan16_13-13-03_0048b83c9bcc/events.out.tfevents.1705410793.0048b83c9bcc.21728.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08d6817be3228b52320a4838a850965b5391424f4048efa4b12579896173b391
3
+ size 4450
special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "unk_token": "<|endoftext|>"
5
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "50256": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ }
12
+ },
13
+ "bos_token": "<|endoftext|>",
14
+ "clean_up_tokenization_spaces": true,
15
+ "eos_token": "<|endoftext|>",
16
+ "model_max_length": 1024,
17
+ "tokenizer_class": "GPT2Tokenizer",
18
+ "unk_token": "<|endoftext|>"
19
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "train_loss": 5.833661626916525,
4
+ "train_runtime": 1259.5482,
5
+ "train_samples": 2346,
6
+ "train_samples_per_second": 5.588,
7
+ "train_steps_per_second": 1.398
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 1761,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.85,
13
+ "learning_rate": 3.580352072685974e-05,
14
+ "loss": 6.4049,
15
+ "step": 500
16
+ },
17
+ {
18
+ "epoch": 1.7,
19
+ "learning_rate": 2.160704145371948e-05,
20
+ "loss": 5.7387,
21
+ "step": 1000
22
+ },
23
+ {
24
+ "epoch": 2.56,
25
+ "learning_rate": 7.410562180579217e-06,
26
+ "loss": 5.5475,
27
+ "step": 1500
28
+ },
29
+ {
30
+ "epoch": 3.0,
31
+ "step": 1761,
32
+ "total_flos": 3677946642432000.0,
33
+ "train_loss": 5.833661626916525,
34
+ "train_runtime": 1259.5482,
35
+ "train_samples_per_second": 5.588,
36
+ "train_steps_per_second": 1.398
37
+ }
38
+ ],
39
+ "logging_steps": 500,
40
+ "max_steps": 1761,
41
+ "num_input_tokens_seen": 0,
42
+ "num_train_epochs": 3,
43
+ "save_steps": 500,
44
+ "total_flos": 3677946642432000.0,
45
+ "train_batch_size": 4,
46
+ "trial_name": null,
47
+ "trial_params": null
48
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d31abb3889a7d1fe0d33f662ab8e5a693765d499037e0128d37c03d5b1b422d9
3
+ size 4728
vocab.json ADDED
The diff for this file is too large to render. See raw diff