dzanbek commited on
Commit
ab29af8
·
verified ·
1 Parent(s): f253ed7

End of training

Browse files
README.md ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: tiiuae/falcon-rw-1b
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 763f5803-9ca0-4665-9c41-bed1b92f6de7
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: tiiuae/falcon-rw-1b
23
+ bf16: true
24
+ chat_template: llama3
25
+ data_processes: 8
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - d530b3fb348e23b8_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ path: /workspace/input_data/d530b3fb348e23b8_train_data.json
33
+ type:
34
+ field_instruction: input
35
+ field_output: output
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: dzanbek/763f5803-9ca0-4665-9c41-bed1b92f6de7
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_steps: 30
72
+ micro_batch_size: 8
73
+ mlflow_experiment_name: /tmp/d530b3fb348e23b8_train_data.json
74
+ model_type: AutoModelForCausalLM
75
+ num_epochs: 1
76
+ optim_args:
77
+ adam_beta1: 0.9
78
+ adam_beta2: 0.95
79
+ adam_epsilon: 1e-5
80
+ optimizer: adamw_bnb_8bit
81
+ output_dir: miner_id_24
82
+ pad_to_sequence_len: true
83
+ resume_from_checkpoint: null
84
+ s2_attention: null
85
+ sample_packing: false
86
+ save_steps: 10
87
+ sequence_len: 1024
88
+ special_tokens:
89
+ pad_token: <|endoftext|>
90
+ strict: false
91
+ tf32: true
92
+ tokenizer_type: AutoTokenizer
93
+ train_on_inputs: false
94
+ trust_remote_code: true
95
+ val_set_size: 0.05
96
+ wandb_entity: null
97
+ wandb_mode: online
98
+ wandb_name: e29963d8-d8bd-4849-a3c3-f1bbc4e389be
99
+ wandb_project: cold2
100
+ wandb_run: your_name
101
+ wandb_runid: e29963d8-d8bd-4849-a3c3-f1bbc4e389be
102
+ warmup_steps: 5
103
+ weight_decay: 0.0
104
+ xformers_attention: null
105
+
106
+ ```
107
+
108
+ </details><br>
109
+
110
+ # 763f5803-9ca0-4665-9c41-bed1b92f6de7
111
+
112
+ This model is a fine-tuned version of [tiiuae/falcon-rw-1b](https://huggingface.co/tiiuae/falcon-rw-1b) on the None dataset.
113
+ It achieves the following results on the evaluation set:
114
+ - Loss: 1.1996
115
+
116
+ ## Model description
117
+
118
+ More information needed
119
+
120
+ ## Intended uses & limitations
121
+
122
+ More information needed
123
+
124
+ ## Training and evaluation data
125
+
126
+ More information needed
127
+
128
+ ## Training procedure
129
+
130
+ ### Training hyperparameters
131
+
132
+ The following hyperparameters were used during training:
133
+ - learning_rate: 0.0001
134
+ - train_batch_size: 8
135
+ - eval_batch_size: 4
136
+ - seed: 42
137
+ - gradient_accumulation_steps: 4
138
+ - total_train_batch_size: 32
139
+ - 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
140
+ - lr_scheduler_type: cosine
141
+ - lr_scheduler_warmup_steps: 5
142
+ - training_steps: 30
143
+
144
+ ### Training results
145
+
146
+ | Training Loss | Epoch | Step | Validation Loss |
147
+ |:-------------:|:------:|:----:|:---------------:|
148
+ | No log | 0.0004 | 1 | 1.4341 |
149
+ | 5.7187 | 0.0018 | 5 | 1.3757 |
150
+ | 5.1223 | 0.0037 | 10 | 1.2911 |
151
+ | 4.7446 | 0.0055 | 15 | 1.2426 |
152
+ | 4.6523 | 0.0073 | 20 | 1.2151 |
153
+ | 4.623 | 0.0091 | 25 | 1.2031 |
154
+ | 4.9135 | 0.0110 | 30 | 1.1996 |
155
+
156
+
157
+ ### Framework versions
158
+
159
+ - PEFT 0.13.2
160
+ - Transformers 4.46.0
161
+ - Pytorch 2.5.0+cu124
162
+ - Datasets 3.0.1
163
+ - Tokenizers 0.20.1
adapter_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "tiiuae/falcon-rw-1b",
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
+ "query_key_value",
24
+ "dense",
25
+ "dense_4h_to_h",
26
+ "dense_h_to_4h"
27
+ ],
28
+ "task_type": "CAUSAL_LM",
29
+ "use_dora": false,
30
+ "use_rslora": false
31
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e719b9a7eaec1284e5cb593ba4f7ca233ca5d206e0dfa7d7b205e87637929e9
3
+ size 201397450
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ed1061386b01e5206122c1231061e7d8aaa45333fd26993c01d3f2b933dec64
3
+ size 201353800
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "tiiuae/falcon-rw-1b",
4
+ "alibi": true,
5
+ "apply_residual_connection_post_layernorm": false,
6
+ "architectures": [
7
+ "FalconForCausalLM"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "auto_map": {
11
+ "AutoConfig": "tiiuae/falcon-rw-1b--configuration_falcon.FalconConfig",
12
+ "AutoModel": "tiiuae/falcon-rw-1b--modeling_falcon.FalconModel",
13
+ "AutoModelForCausalLM": "tiiuae/falcon-rw-1b--modeling_falcon.FalconForCausalLM",
14
+ "AutoModelForQuestionAnswering": "tiiuae/falcon-rw-1b--modeling_falcon.FalconForQuestionAnswering",
15
+ "AutoModelForSequenceClassification": "tiiuae/falcon-rw-1b--modeling_falcon.FalconForSequenceClassification",
16
+ "AutoModelForTokenClassification": "tiiuae/falcon-rw-1b--modeling_falcon.FalconForTokenClassification"
17
+ },
18
+ "bias": true,
19
+ "bos_token_id": 50256,
20
+ "eos_token_id": 50256,
21
+ "hidden_dropout": 0.0,
22
+ "hidden_size": 2048,
23
+ "initializer_range": 0.02,
24
+ "layer_norm_epsilon": 1e-05,
25
+ "model_type": "falcon",
26
+ "multi_query": false,
27
+ "new_decoder_architecture": false,
28
+ "num_attention_heads": 32,
29
+ "num_hidden_layers": 24,
30
+ "num_kv_heads": 32,
31
+ "parallel_attn": false,
32
+ "torch_dtype": "bfloat16",
33
+ "transformers_version": "4.46.0",
34
+ "use_cache": false,
35
+ "vocab_size": 50304
36
+ }
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": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": false,
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": false,
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,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "50256": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ }
12
+ },
13
+ "bos_token": "<|endoftext|>",
14
+ "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 %}",
15
+ "clean_up_tokenization_spaces": true,
16
+ "eos_token": "<|endoftext|>",
17
+ "model_max_length": 1024,
18
+ "pad_token": "<|endoftext|>",
19
+ "tokenizer_class": "GPT2Tokenizer",
20
+ "unk_token": "<|endoftext|>"
21
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3049b3a67250becd86ec318a73a8057ec0b4719a4d25322cac7c51be7b219740
3
+ size 6840
vocab.json ADDED
The diff for this file is too large to render. See raw diff