lesso04 commited on
Commit
0c29146
·
verified ·
1 Parent(s): 70b9ffd

End of training

Browse files
README.md ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: mit
4
+ base_model: EleutherAI/gpt-neo-1.3B
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: a8029df0-b32c-461e-8fdc-1d9c4b8f0618
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-1.3B
23
+ bf16: auto
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 8e6de5875db72cf4_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/8e6de5875db72cf4_train_data.json
32
+ type:
33
+ field_input: ''
34
+ field_instruction: caption_summary
35
+ field_output: caption_writing
36
+ format: '{instruction}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ early_stopping_patience: null
43
+ eval_max_new_tokens: 128
44
+ eval_table_size: null
45
+ evals_per_epoch: 1
46
+ flash_attention: false
47
+ fp16: null
48
+ fsdp: null
49
+ fsdp_config: null
50
+ gradient_accumulation_steps: 4
51
+ gradient_checkpointing: true
52
+ gradient_clipping: 1.0
53
+ group_by_length: false
54
+ hub_model_id: lesso04/a8029df0-b32c-461e-8fdc-1d9c4b8f0618
55
+ hub_repo: null
56
+ hub_strategy: end
57
+ hub_token: null
58
+ learning_rate: 5.0e-05
59
+ load_in_4bit: false
60
+ load_in_8bit: false
61
+ local_rank: null
62
+ logging_steps: 1
63
+ lora_alpha: 16
64
+ lora_dropout: 0.05
65
+ lora_fan_in_fan_out: null
66
+ lora_model_dir: null
67
+ lora_r: 8
68
+ lora_target_linear: true
69
+ lr_scheduler: cosine
70
+ max_steps: 200
71
+ micro_batch_size: 2
72
+ mixed_precision: bf16
73
+ mlflow_experiment_name: /tmp/8e6de5875db72cf4_train_data.json
74
+ model_type: AutoModelForCausalLM
75
+ num_epochs: 1
76
+ optimizer: adamw_bnb_8bit
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
+ saves_per_epoch: 1
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: false
90
+ trust_remote_code: true
91
+ val_set_size: 0.05
92
+ wandb_entity: null
93
+ wandb_mode: online
94
+ wandb_name: 20072966-7aa4-430a-9652-0db9e6fad06d
95
+ wandb_project: multi
96
+ wandb_run: your_name
97
+ wandb_runid: 20072966-7aa4-430a-9652-0db9e6fad06d
98
+ warmup_steps: 5
99
+ weight_decay: 0.01
100
+ xformers_attention: true
101
+
102
+ ```
103
+
104
+ </details><br>
105
+
106
+ # a8029df0-b32c-461e-8fdc-1d9c4b8f0618
107
+
108
+ This model is a fine-tuned version of [EleutherAI/gpt-neo-1.3B](https://huggingface.co/EleutherAI/gpt-neo-1.3B) on the None dataset.
109
+ It achieves the following results on the evaluation set:
110
+ - Loss: 2.1486
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: 5e-05
130
+ - train_batch_size: 2
131
+ - eval_batch_size: 2
132
+ - seed: 42
133
+ - distributed_type: multi-GPU
134
+ - num_devices: 8
135
+ - gradient_accumulation_steps: 4
136
+ - total_train_batch_size: 64
137
+ - total_eval_batch_size: 16
138
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
139
+ - lr_scheduler_type: cosine
140
+ - lr_scheduler_warmup_steps: 5
141
+ - training_steps: 79
142
+
143
+ ### Training results
144
+
145
+ | Training Loss | Epoch | Step | Validation Loss |
146
+ |:-------------:|:-----:|:----:|:---------------:|
147
+ | 8.607 | 1.0 | 79 | 2.1486 |
148
+
149
+
150
+ ### Framework versions
151
+
152
+ - PEFT 0.13.2
153
+ - Transformers 4.46.0
154
+ - Pytorch 2.5.0+cu124
155
+ - Datasets 3.0.1
156
+ - 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-1.3B",
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": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "c_fc",
24
+ "c_proj",
25
+ "k_proj",
26
+ "q_proj",
27
+ "out_proj",
28
+ "v_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:719408e85a11baa1632ecc0c896fdcccd1236331ff89f05972873a57c11f0304
3
+ size 28416330
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af560c25379f717e95279a4f4b02a8240501d2f28e9a1909a2e63ee626b7385c
3
+ size 28350504
config.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "EleutherAI/gpt-neo-1.3B",
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
+ "global",
23
+ "local",
24
+ "global",
25
+ "local",
26
+ "global",
27
+ "local",
28
+ "global",
29
+ "local",
30
+ "global",
31
+ "local",
32
+ "global",
33
+ "local"
34
+ ],
35
+ "attention_types": [
36
+ [
37
+ [
38
+ "global",
39
+ "local"
40
+ ],
41
+ 12
42
+ ]
43
+ ],
44
+ "bos_token_id": 50256,
45
+ "classifier_dropout": 0.1,
46
+ "embed_dropout": 0,
47
+ "eos_token_id": 50256,
48
+ "gradient_checkpointing": false,
49
+ "hidden_size": 2048,
50
+ "initializer_range": 0.02,
51
+ "intermediate_size": null,
52
+ "layer_norm_epsilon": 1e-05,
53
+ "max_position_embeddings": 2048,
54
+ "model_type": "gpt_neo",
55
+ "num_heads": 16,
56
+ "num_layers": 24,
57
+ "resid_dropout": 0,
58
+ "summary_activation": null,
59
+ "summary_first_dropout": 0.1,
60
+ "summary_proj_to_labels": true,
61
+ "summary_type": "cls_index",
62
+ "summary_use_proj": true,
63
+ "task_specific_params": {
64
+ "text-generation": {
65
+ "do_sample": true,
66
+ "max_length": 50,
67
+ "temperature": 0.9
68
+ }
69
+ },
70
+ "tokenizer_class": "GPT2Tokenizer",
71
+ "transformers_version": "4.46.0",
72
+ "use_cache": false,
73
+ "vocab_size": 50257,
74
+ "window_size": 256
75
+ }
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": false,
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:74c5f79f052ad534a550ffd3c6c747d3d8e04ad43c0b2119fa4f88f678d32ec2
3
+ size 6776
vocab.json ADDED
The diff for this file is too large to render. See raw diff