nomsgadded commited on
Commit
022e5e2
·
1 Parent(s): 9fc589b

Training in progress, epoch 1

Browse files
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilgpt2
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - wikitext
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: clm
12
+ results:
13
+ - task:
14
+ name: Causal Language Modeling
15
+ type: text-generation
16
+ dataset:
17
+ name: wikitext wikitext-2-raw-v1
18
+ type: wikitext
19
+ config: wikitext-2-raw-v1
20
+ split: validation
21
+ args: wikitext-2-raw-v1
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.37187601824698596
26
+ ---
27
+
28
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
29
+ should probably proofread and complete it, then remove this comment. -->
30
+
31
+ # clm
32
+
33
+ This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on the wikitext wikitext-2-raw-v1 dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 3.4802
36
+ - Accuracy: 0.3719
37
+
38
+ ## Model description
39
+
40
+ More information needed
41
+
42
+ ## Intended uses & limitations
43
+
44
+ More information needed
45
+
46
+ ## Training and evaluation data
47
+
48
+ More information needed
49
+
50
+ ## Training procedure
51
+
52
+ ### Training hyperparameters
53
+
54
+ The following hyperparameters were used during training:
55
+ - learning_rate: 3e-05
56
+ - train_batch_size: 8
57
+ - eval_batch_size: 8
58
+ - seed: 0
59
+ - gradient_accumulation_steps: 4
60
+ - total_train_batch_size: 32
61
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
62
+ - lr_scheduler_type: linear
63
+ - lr_scheduler_warmup_ratio: 0.1
64
+ - num_epochs: 1.0
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | 3.6158 | 0.99 | 72 | 3.4802 | 0.3719 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - Transformers 4.33.0.dev0
76
+ - Pytorch 2.0.1+cu118
77
+ - Datasets 2.14.4
78
+ - Tokenizers 0.13.3
all_results.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.99,
3
+ "eval_accuracy": 0.37187601824698596,
4
+ "eval_loss": 3.4801909923553467,
5
+ "eval_runtime": 104.7921,
6
+ "eval_samples": 240,
7
+ "eval_samples_per_second": 2.29,
8
+ "eval_steps_per_second": 0.286,
9
+ "perplexity": 32.46592222670883,
10
+ "train_loss": 3.7061044375101724,
11
+ "train_runtime": 2296.6495,
12
+ "train_samples": 2318,
13
+ "train_samples_per_second": 1.009,
14
+ "train_steps_per_second": 0.031
15
+ }
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "roberta-base",
3
+ "architectures": [
4
+ "RobertaForMaskedLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "roberta",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "pad_token_id": 1,
21
+ "position_embedding_type": "absolute",
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.33.0.dev0",
24
+ "type_vocab_size": 1,
25
+ "use_cache": true,
26
+ "vocab_size": 50265
27
+ }
eval_results.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.99,
3
+ "eval_accuracy": 0.37187601824698596,
4
+ "eval_loss": 3.4801909923553467,
5
+ "eval_runtime": 104.7921,
6
+ "eval_samples": 240,
7
+ "eval_samples_per_second": 2.29,
8
+ "eval_steps_per_second": 0.286,
9
+ "perplexity": 32.46592222670883
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.33.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:f5429067da8fb648dfe8ccf6e5dbf2eb368f8e329340e7bee856ee6d7d5768aa
3
+ size 498813948
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": "<s>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "cls_token": "<s>",
6
+ "eos_token": "</s>",
7
+ "errors": "replace",
8
+ "mask_token": "<mask>",
9
+ "model_max_length": 512,
10
+ "pad_token": "<pad>",
11
+ "sep_token": "</s>",
12
+ "tokenizer_class": "RobertaTokenizer",
13
+ "trim_offsets": true,
14
+ "unk_token": "<unk>"
15
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.99,
3
+ "train_loss": 3.7061044375101724,
4
+ "train_runtime": 2296.6495,
5
+ "train_samples": 2318,
6
+ "train_samples_per_second": 1.009,
7
+ "train_steps_per_second": 0.031
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.37187601824698596,
3
+ "best_model_checkpoint": ".\\output\\checkpoint-72",
4
+ "epoch": 0.993103448275862,
5
+ "eval_steps": 500,
6
+ "global_step": 72,
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.14,
13
+ "learning_rate": 2.90625e-05,
14
+ "loss": 3.9372,
15
+ "step": 10
16
+ },
17
+ {
18
+ "epoch": 0.28,
19
+ "learning_rate": 2.4375e-05,
20
+ "loss": 3.76,
21
+ "step": 20
22
+ },
23
+ {
24
+ "epoch": 0.41,
25
+ "learning_rate": 1.96875e-05,
26
+ "loss": 3.6869,
27
+ "step": 30
28
+ },
29
+ {
30
+ "epoch": 0.55,
31
+ "learning_rate": 1.5e-05,
32
+ "loss": 3.6689,
33
+ "step": 40
34
+ },
35
+ {
36
+ "epoch": 0.69,
37
+ "learning_rate": 1.03125e-05,
38
+ "loss": 3.6483,
39
+ "step": 50
40
+ },
41
+ {
42
+ "epoch": 0.83,
43
+ "learning_rate": 5.625e-06,
44
+ "loss": 3.6523,
45
+ "step": 60
46
+ },
47
+ {
48
+ "epoch": 0.97,
49
+ "learning_rate": 9.375e-07,
50
+ "loss": 3.6158,
51
+ "step": 70
52
+ },
53
+ {
54
+ "epoch": 0.99,
55
+ "eval_accuracy": 0.37187601824698596,
56
+ "eval_loss": 3.4801909923553467,
57
+ "eval_runtime": 101.4158,
58
+ "eval_samples_per_second": 2.366,
59
+ "eval_steps_per_second": 0.296,
60
+ "step": 72
61
+ },
62
+ {
63
+ "epoch": 0.99,
64
+ "step": 72,
65
+ "total_flos": 602027713363968.0,
66
+ "train_loss": 3.7061044375101724,
67
+ "train_runtime": 2296.6495,
68
+ "train_samples_per_second": 1.009,
69
+ "train_steps_per_second": 0.031
70
+ }
71
+ ],
72
+ "logging_steps": 10,
73
+ "max_steps": 72,
74
+ "num_train_epochs": 1,
75
+ "save_steps": 100.0,
76
+ "total_flos": 602027713363968.0,
77
+ "trial_name": null,
78
+ "trial_params": null
79
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eecc1a23813468abbfad1ed69d75b50571c855bff724ea47421074dd8f61c1e0
3
+ size 4027
vocab.json ADDED
The diff for this file is too large to render. See raw diff