vmpsergio commited on
Commit
448ea3c
·
verified ·
1 Parent(s): 76b2dfb

End of training

Browse files
README.md ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: other
4
+ base_model: facebook/opt-1.3b
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: d6e9f77b-56c5-412e-8f96-2267d4fc5ae3
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: facebook/opt-1.3b
23
+ bf16: true
24
+ chat_template: llama3
25
+ data_processes: 8
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - 7f9deb6c5dd6a57f_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ path: /workspace/input_data/7f9deb6c5dd6a57f_train_data.json
33
+ type:
34
+ field_instruction: question_title
35
+ field_output: answer_text
36
+ format: '{instruction}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ device_map: auto
43
+ do_eval: true
44
+ early_stopping_patience: 1
45
+ eval_batch_size: 4
46
+ eval_max_new_tokens: 128
47
+ eval_steps: 5
48
+ eval_table_size: null
49
+ evals_per_epoch: null
50
+ flash_attention: false
51
+ fp16: false
52
+ gradient_accumulation_steps: 4
53
+ gradient_checkpointing: true
54
+ group_by_length: true
55
+ hub_model_id: vmpsergio/d6e9f77b-56c5-412e-8f96-2267d4fc5ae3
56
+ hub_repo: null
57
+ hub_strategy: end
58
+ hub_token: null
59
+ learning_rate: 0.0001
60
+ load_in_4bit: false
61
+ load_in_8bit: false
62
+ local_rank: null
63
+ logging_steps: 3
64
+ lora_alpha: 128
65
+ lora_dropout: 0.05
66
+ lora_fan_in_fan_out: null
67
+ lora_model_dir: null
68
+ lora_r: 64
69
+ lora_target_linear: true
70
+ lr_scheduler: cosine
71
+ max_memory:
72
+ 0: 78GiB
73
+ cpu: 30GiB
74
+ max_steps: 30
75
+ micro_batch_size: 8
76
+ mlflow_experiment_name: /tmp/7f9deb6c5dd6a57f_train_data.json
77
+ model_type: AutoModelForCausalLM
78
+ num_epochs: 1
79
+ optim_args:
80
+ adam_beta1: 0.9
81
+ adam_beta2: 0.95
82
+ adam_epsilon: 1e-5
83
+ optimizer: adamw_bnb_8bit
84
+ output_dir: miner_id_24
85
+ pad_to_sequence_len: true
86
+ resume_from_checkpoint: null
87
+ s2_attention: null
88
+ sample_packing: false
89
+ save_steps: 10
90
+ sequence_len: 1024
91
+ strict: false
92
+ tf32: true
93
+ tokenizer_type: AutoTokenizer
94
+ train_on_inputs: false
95
+ trust_remote_code: true
96
+ val_set_size: 0.05
97
+ wandb_entity: null
98
+ wandb_mode: online
99
+ wandb_name: f3b6f5df-eb9f-4e04-8d6c-84873dfea206
100
+ wandb_project: cold1
101
+ wandb_run: your_name
102
+ wandb_runid: f3b6f5df-eb9f-4e04-8d6c-84873dfea206
103
+ warmup_steps: 5
104
+ weight_decay: 0.0
105
+ xformers_attention: null
106
+
107
+ ```
108
+
109
+ </details><br>
110
+
111
+ # d6e9f77b-56c5-412e-8f96-2267d4fc5ae3
112
+
113
+ This model is a fine-tuned version of [facebook/opt-1.3b](https://huggingface.co/facebook/opt-1.3b) on the None dataset.
114
+ It achieves the following results on the evaluation set:
115
+ - Loss: 1.5549
116
+
117
+ ## Model description
118
+
119
+ More information needed
120
+
121
+ ## Intended uses & limitations
122
+
123
+ More information needed
124
+
125
+ ## Training and evaluation data
126
+
127
+ More information needed
128
+
129
+ ## Training procedure
130
+
131
+ ### Training hyperparameters
132
+
133
+ The following hyperparameters were used during training:
134
+ - learning_rate: 0.0001
135
+ - train_batch_size: 8
136
+ - eval_batch_size: 4
137
+ - seed: 42
138
+ - gradient_accumulation_steps: 4
139
+ - total_train_batch_size: 32
140
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=adam_beta1=0.9,adam_beta2=0.95,adam_epsilon=1e-5
141
+ - lr_scheduler_type: cosine
142
+ - lr_scheduler_warmup_steps: 5
143
+ - training_steps: 30
144
+
145
+ ### Training results
146
+
147
+ | Training Loss | Epoch | Step | Validation Loss |
148
+ |:-------------:|:------:|:----:|:---------------:|
149
+ | No log | 0.0001 | 1 | 2.3212 |
150
+ | 7.7721 | 0.0003 | 5 | 2.1424 |
151
+ | 6.765 | 0.0007 | 10 | 2.1107 |
152
+ | 7.0267 | 0.0010 | 15 | 1.9590 |
153
+ | 6.9248 | 0.0013 | 20 | 1.6951 |
154
+ | 6.1483 | 0.0017 | 25 | 1.5760 |
155
+ | 6.6571 | 0.0020 | 30 | 1.5549 |
156
+
157
+
158
+ ### Framework versions
159
+
160
+ - PEFT 0.13.2
161
+ - Transformers 4.46.0
162
+ - Pytorch 2.5.0+cu124
163
+ - Datasets 3.0.1
164
+ - 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": "facebook/opt-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": 128,
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": 64,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "out_proj",
24
+ "k_proj",
25
+ "q_proj",
26
+ "v_proj",
27
+ "fc1",
28
+ "fc2"
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:9d247416afb2a35a71e713aa746c9f8f29c3b197cb140d9a9814d63c112adc9c
3
+ size 226598154
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbe819ca8d80d5698fedfe572174949ef78b9bbb53682b5ab06f6635a4b53631
3
+ size 226532664
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "facebook/opt-1.3b",
4
+ "_remove_final_layer_norm": false,
5
+ "activation_dropout": 0.0,
6
+ "activation_function": "relu",
7
+ "architectures": [
8
+ "OPTForCausalLM"
9
+ ],
10
+ "attention_dropout": 0.0,
11
+ "bos_token_id": 2,
12
+ "do_layer_norm_before": true,
13
+ "dropout": 0.1,
14
+ "enable_bias": true,
15
+ "eos_token_id": 2,
16
+ "ffn_dim": 8192,
17
+ "hidden_size": 2048,
18
+ "init_std": 0.02,
19
+ "layer_norm_elementwise_affine": true,
20
+ "layerdrop": 0.0,
21
+ "max_position_embeddings": 2048,
22
+ "model_type": "opt",
23
+ "num_attention_heads": 32,
24
+ "num_hidden_layers": 24,
25
+ "pad_token_id": 1,
26
+ "prefix": "</s>",
27
+ "torch_dtype": "float16",
28
+ "transformers_version": "4.46.0",
29
+ "use_cache": false,
30
+ "vocab_size": 50272,
31
+ "word_embed_proj_dim": 2048
32
+ }
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": "</s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<pad>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "</s>",
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,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "1": {
6
+ "content": "<pad>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "2": {
14
+ "content": "</s>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ }
21
+ },
22
+ "bos_token": "</s>",
23
+ "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 %}",
24
+ "clean_up_tokenization_spaces": false,
25
+ "eos_token": "</s>",
26
+ "errors": "replace",
27
+ "model_max_length": 1000000000000000019884624838656,
28
+ "pad_token": "<pad>",
29
+ "tokenizer_class": "GPT2Tokenizer",
30
+ "unk_token": "</s>"
31
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68d4a9cfff2541f12daaa007d05025e322b38c417afa733efd2e9051d68f06d2
3
+ size 6840
vocab.json ADDED
The diff for this file is too large to render. See raw diff