cvoffer commited on
Commit
ef8bdd9
·
verified ·
1 Parent(s): 2be560b

End of training

Browse files
README.md ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: mit
4
+ base_model: EleutherAI/gpt-neo-125m
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 9660fe11-625c-4748-85b1-7c2f3b2be139
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ [<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
17
+ <details><summary>See axolotl config</summary>
18
+
19
+ axolotl version: `0.4.1`
20
+ ```yaml
21
+ adapter: lora
22
+ base_model: EleutherAI/gpt-neo-125m
23
+ bf16: auto
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 77cc533a1da87fc9_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/77cc533a1da87fc9_train_data.json
32
+ type:
33
+ field_input: system
34
+ field_instruction: instruction
35
+ field_output: response
36
+ format: '{instruction} {input}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ device: cuda
43
+ early_stopping_patience: 1
44
+ eval_max_new_tokens: 128
45
+ eval_steps: 5
46
+ eval_table_size: null
47
+ evals_per_epoch: null
48
+ flash_attention: false
49
+ fp16: null
50
+ gradient_accumulation_steps: 4
51
+ gradient_checkpointing: true
52
+ group_by_length: true
53
+ hub_model_id: cvoffer/9660fe11-625c-4748-85b1-7c2f3b2be139
54
+ hub_repo: null
55
+ hub_strategy: end
56
+ hub_token: null
57
+ learning_rate: 0.0002
58
+ load_in_4bit: false
59
+ load_in_8bit: false
60
+ local_rank: null
61
+ logging_steps: 3
62
+ lora_alpha: 32
63
+ lora_dropout: 0.05
64
+ lora_fan_in_fan_out: null
65
+ lora_model_dir: null
66
+ lora_r: 16
67
+ lora_target_linear: true
68
+ lr_scheduler: cosine
69
+ max_memory:
70
+ 0: 78GiB
71
+ max_steps: 30
72
+ micro_batch_size: 2
73
+ mlflow_experiment_name: /tmp/77cc533a1da87fc9_train_data.json
74
+ model_type: AutoModelForCausalLM
75
+ num_epochs: 1
76
+ optimizer: adamw_torch
77
+ output_dir: miner_id_24
78
+ pad_to_sequence_len: true
79
+ resume_from_checkpoint: null
80
+ s2_attention: null
81
+ sample_packing: false
82
+ save_steps: 10
83
+ sequence_len: 1024
84
+ special_tokens:
85
+ pad_token: <|endoftext|>
86
+ strict: false
87
+ tf32: false
88
+ tokenizer_type: AutoTokenizer
89
+ train_on_inputs: true
90
+ trust_remote_code: true
91
+ val_set_size: 0.05
92
+ wandb_entity: null
93
+ wandb_mode: online
94
+ wandb_name: 684c3805-5bf2-48df-8676-fbdd3195ced8
95
+ wandb_project: Gradients-On-Demand
96
+ wandb_run: your_name
97
+ wandb_runid: 684c3805-5bf2-48df-8676-fbdd3195ced8
98
+ warmup_steps: 5
99
+ weight_decay: 0.001
100
+ xformers_attention: true
101
+
102
+ ```
103
+
104
+ </details><br>
105
+
106
+ # 9660fe11-625c-4748-85b1-7c2f3b2be139
107
+
108
+ This model is a fine-tuned version of [EleutherAI/gpt-neo-125m](https://huggingface.co/EleutherAI/gpt-neo-125m) on the None dataset.
109
+ It achieves the following results on the evaluation set:
110
+ - Loss: 2.7260
111
+
112
+ ## Model description
113
+
114
+ More information needed
115
+
116
+ ## Intended uses & limitations
117
+
118
+ More information needed
119
+
120
+ ## Training and evaluation data
121
+
122
+ More information needed
123
+
124
+ ## Training procedure
125
+
126
+ ### Training hyperparameters
127
+
128
+ The following hyperparameters were used during training:
129
+ - learning_rate: 0.0002
130
+ - train_batch_size: 2
131
+ - eval_batch_size: 2
132
+ - seed: 42
133
+ - gradient_accumulation_steps: 4
134
+ - total_train_batch_size: 8
135
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
136
+ - lr_scheduler_type: cosine
137
+ - lr_scheduler_warmup_steps: 5
138
+ - training_steps: 30
139
+
140
+ ### Training results
141
+
142
+ | Training Loss | Epoch | Step | Validation Loss |
143
+ |:-------------:|:------:|:----:|:---------------:|
144
+ | No log | 0.0004 | 1 | 2.8323 |
145
+ | 10.411 | 0.0020 | 5 | 2.8291 |
146
+ | 10.6035 | 0.0040 | 10 | 2.7993 |
147
+ | 11.7116 | 0.0060 | 15 | 2.7610 |
148
+ | 11.2081 | 0.0080 | 20 | 2.7376 |
149
+ | 11.0049 | 0.0100 | 25 | 2.7283 |
150
+ | 10.8303 | 0.0119 | 30 | 2.7260 |
151
+
152
+
153
+ ### Framework versions
154
+
155
+ - PEFT 0.13.2
156
+ - Transformers 4.46.0
157
+ - Pytorch 2.5.0+cu124
158
+ - Datasets 3.0.1
159
+ - Tokenizers 0.20.1
adapter_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "EleutherAI/gpt-neo-125m",
5
+ "bias": "none",
6
+ "fan_in_fan_out": null,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 32,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 16,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "v_proj",
24
+ "c_proj",
25
+ "c_fc",
26
+ "k_proj",
27
+ "out_proj",
28
+ "q_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_dora": false,
32
+ "use_rslora": false
33
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:728f9ebe11d2eaced51c02b4d40151bb60d7079be2735b1789f7a2c6714cdeaa
3
+ size 10669066
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e375698cae6354f84f464ee665bf24ab89d34ecf5688a629ccf2ab09823056dd
3
+ size 10636096
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "EleutherAI/gpt-neo-125m",
4
+ "activation_function": "gelu_new",
5
+ "architectures": [
6
+ "GPTNeoForCausalLM"
7
+ ],
8
+ "attention_dropout": 0,
9
+ "attention_layers": [
10
+ "global",
11
+ "local",
12
+ "global",
13
+ "local",
14
+ "global",
15
+ "local",
16
+ "global",
17
+ "local",
18
+ "global",
19
+ "local",
20
+ "global",
21
+ "local"
22
+ ],
23
+ "attention_types": [
24
+ [
25
+ [
26
+ "global",
27
+ "local"
28
+ ],
29
+ 6
30
+ ]
31
+ ],
32
+ "bos_token_id": 50256,
33
+ "classifier_dropout": 0.1,
34
+ "embed_dropout": 0,
35
+ "eos_token_id": 50256,
36
+ "gradient_checkpointing": false,
37
+ "hidden_size": 768,
38
+ "initializer_range": 0.02,
39
+ "intermediate_size": null,
40
+ "layer_norm_epsilon": 1e-05,
41
+ "max_position_embeddings": 2048,
42
+ "model_type": "gpt_neo",
43
+ "num_heads": 12,
44
+ "num_layers": 12,
45
+ "resid_dropout": 0,
46
+ "summary_activation": null,
47
+ "summary_first_dropout": 0.1,
48
+ "summary_proj_to_labels": true,
49
+ "summary_type": "cls_index",
50
+ "summary_use_proj": true,
51
+ "transformers_version": "4.46.0",
52
+ "use_cache": false,
53
+ "vocab_size": 50257,
54
+ "window_size": 256
55
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|endoftext|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<|endoftext|>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "50256": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ }
13
+ },
14
+ "bos_token": "<|endoftext|>",
15
+ "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}",
16
+ "clean_up_tokenization_spaces": true,
17
+ "eos_token": "<|endoftext|>",
18
+ "errors": "replace",
19
+ "model_max_length": 2048,
20
+ "pad_token": "<|endoftext|>",
21
+ "tokenizer_class": "GPT2Tokenizer",
22
+ "unk_token": "<|endoftext|>"
23
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d736751bc40df3dd7009ab584ffe2aea81050bba15b985975e79057c21caaed9
3
+ size 6776
vocab.json ADDED
The diff for this file is too large to render. See raw diff