error577 commited on
Commit
e36dfd2
·
verified ·
1 Parent(s): be18639

End of training

Browse files
README.md ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: dd16db69-1b37-46cb-8cdc-300247770e61
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: qlora
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
+ - ada86800c72e60ac_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/ada86800c72e60ac_train_data.json
32
+ type:
33
+ field_instruction: Plot
34
+ field_output: PlotSummary
35
+ format: '{instruction}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ early_stopping_patience: null
42
+ eval_max_new_tokens: 128
43
+ eval_table_size: null
44
+ evals_per_epoch: 1
45
+ flash_attention: false
46
+ fp16: null
47
+ fsdp: null
48
+ fsdp_config: null
49
+ gradient_accumulation_steps: 8
50
+ gradient_checkpointing: true
51
+ group_by_length: false
52
+ hub_model_id: error577/dd16db69-1b37-46cb-8cdc-300247770e61
53
+ hub_repo: null
54
+ hub_strategy: end
55
+ hub_token: null
56
+ learning_rate: 0.0001
57
+ load_in_4bit: true
58
+ load_in_8bit: false
59
+ local_rank: null
60
+ logging_steps: 1
61
+ lora_alpha: 16
62
+ lora_dropout: 0.05
63
+ lora_fan_in_fan_out: null
64
+ lora_model_dir: null
65
+ lora_r: 32
66
+ lora_target_linear: true
67
+ lr_scheduler: cosine
68
+ max_steps: 100
69
+ micro_batch_size: 1
70
+ mlflow_experiment_name: /tmp/ada86800c72e60ac_train_data.json
71
+ model_type: AutoModelForCausalLM
72
+ num_epochs: 4
73
+ optimizer: adamw_bnb_8bit
74
+ output_dir: miner_id_24
75
+ pad_to_sequence_len: true
76
+ resume_from_checkpoint: null
77
+ s2_attention: null
78
+ sample_packing: false
79
+ saves_per_epoch: 1
80
+ sequence_len: 512
81
+ special_tokens:
82
+ pad_token: <|endoftext|>
83
+ strict: false
84
+ tf32: false
85
+ tokenizer_type: AutoTokenizer
86
+ train_on_inputs: false
87
+ trust_remote_code: true
88
+ val_set_size: 0.02
89
+ wandb_entity: null
90
+ wandb_mode: online
91
+ wandb_name: e6b9a342-04eb-4336-9059-77cde87c83f3
92
+ wandb_project: Gradients-On-Demand
93
+ wandb_run: your_name
94
+ wandb_runid: e6b9a342-04eb-4336-9059-77cde87c83f3
95
+ warmup_steps: 10
96
+ weight_decay: 0.0
97
+ xformers_attention: null
98
+
99
+ ```
100
+
101
+ </details><br>
102
+
103
+ # dd16db69-1b37-46cb-8cdc-300247770e61
104
+
105
+ This model is a fine-tuned version of [EleutherAI/gpt-neo-125m](https://huggingface.co/EleutherAI/gpt-neo-125m) on the None dataset.
106
+ It achieves the following results on the evaluation set:
107
+ - Loss: 0.7643
108
+
109
+ ## Model description
110
+
111
+ More information needed
112
+
113
+ ## Intended uses & limitations
114
+
115
+ More information needed
116
+
117
+ ## Training and evaluation data
118
+
119
+ More information needed
120
+
121
+ ## Training procedure
122
+
123
+ ### Training hyperparameters
124
+
125
+ The following hyperparameters were used during training:
126
+ - learning_rate: 0.0001
127
+ - train_batch_size: 1
128
+ - eval_batch_size: 1
129
+ - seed: 42
130
+ - gradient_accumulation_steps: 8
131
+ - total_train_batch_size: 8
132
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
133
+ - lr_scheduler_type: cosine
134
+ - lr_scheduler_warmup_steps: 10
135
+ - training_steps: 100
136
+
137
+ ### Training results
138
+
139
+ | Training Loss | Epoch | Step | Validation Loss |
140
+ |:-------------:|:------:|:----:|:---------------:|
141
+ | 10.4175 | 0.0002 | 1 | 1.1722 |
142
+ | 7.0933 | 0.0059 | 25 | 0.9392 |
143
+ | 6.7451 | 0.0118 | 50 | 0.8024 |
144
+ | 5.4162 | 0.0177 | 75 | 0.7689 |
145
+ | 5.2608 | 0.0235 | 100 | 0.7643 |
146
+
147
+
148
+ ### Framework versions
149
+
150
+ - PEFT 0.13.2
151
+ - Transformers 4.46.0
152
+ - Pytorch 2.5.0+cu124
153
+ - Datasets 3.0.1
154
+ - 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": 16,
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": 32,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "v_proj",
24
+ "k_proj",
25
+ "out_proj",
26
+ "q_proj",
27
+ "c_proj",
28
+ "c_fc"
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:0dca7f7a89711a90a88d95aecf0f16eab4166c2f3c93142f2d3206d3534470eb
3
+ size 21285962
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:307b70cdb805260310d90de6be6efa4df1a74e6be4d40db21ca6a782490deff2
3
+ size 21253080
config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "quantization_config": {
46
+ "_load_in_4bit": true,
47
+ "_load_in_8bit": false,
48
+ "bnb_4bit_compute_dtype": "bfloat16",
49
+ "bnb_4bit_quant_storage": "bfloat16",
50
+ "bnb_4bit_quant_type": "nf4",
51
+ "bnb_4bit_use_double_quant": true,
52
+ "llm_int8_enable_fp32_cpu_offload": false,
53
+ "llm_int8_has_fp16_weight": false,
54
+ "llm_int8_skip_modules": null,
55
+ "llm_int8_threshold": 6.0,
56
+ "load_in_4bit": true,
57
+ "load_in_8bit": false,
58
+ "quant_method": "bitsandbytes"
59
+ },
60
+ "resid_dropout": 0,
61
+ "summary_activation": null,
62
+ "summary_first_dropout": 0.1,
63
+ "summary_proj_to_labels": true,
64
+ "summary_type": "cls_index",
65
+ "summary_use_proj": true,
66
+ "transformers_version": "4.46.0",
67
+ "use_cache": false,
68
+ "vocab_size": 50257,
69
+ "window_size": 256
70
+ }
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:a8d0603a6d3c3a0533b5e4db1f04c7994e42c76917bc1172a79277d23319fa6c
3
+ size 6776
vocab.json ADDED
The diff for this file is too large to render. See raw diff