End of training
Browse files- README.md +149 -0
- adapter_config.json +31 -0
- adapter_model.bin +3 -0
- adapter_model.safetensors +3 -0
- config.json +51 -0
- merges.txt +0 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer_config.json +21 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: 69b7fab1-2f9b-4014-a535-30d75d430a19
|
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: auto
|
24 |
+
chat_template: llama3
|
25 |
+
dataset_prepared_path: null
|
26 |
+
datasets:
|
27 |
+
- data_files:
|
28 |
+
- 071b1ad3c6556dc8_train_data.json
|
29 |
+
ds_type: json
|
30 |
+
format: custom
|
31 |
+
path: /workspace/input_data/071b1ad3c6556dc8_train_data.json
|
32 |
+
type:
|
33 |
+
field_input: input
|
34 |
+
field_instruction: instruction
|
35 |
+
field_output: output
|
36 |
+
format: '{instruction} {input}'
|
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: 1
|
51 |
+
gradient_checkpointing: true
|
52 |
+
group_by_length: false
|
53 |
+
hub_model_id: nbninh/69b7fab1-2f9b-4014-a535-30d75d430a19
|
54 |
+
hub_repo: null
|
55 |
+
hub_strategy: end
|
56 |
+
hub_token: null
|
57 |
+
learning_rate: 0.0001
|
58 |
+
load_in_4bit: true
|
59 |
+
load_in_8bit: true
|
60 |
+
local_rank: null
|
61 |
+
logging_steps: 1
|
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_steps: 50
|
70 |
+
micro_batch_size: 1
|
71 |
+
mlflow_experiment_name: /tmp/071b1ad3c6556dc8_train_data.json
|
72 |
+
model_type: AutoModelForCausalLM
|
73 |
+
num_epochs: 1
|
74 |
+
optimizer: adamw_bnb_8bit
|
75 |
+
output_dir: miner_id_24
|
76 |
+
pad_to_sequence_len: true
|
77 |
+
resume_from_checkpoint: null
|
78 |
+
s2_attention: null
|
79 |
+
sample_packing: false
|
80 |
+
saves_per_epoch: 1
|
81 |
+
sequence_len: 2048
|
82 |
+
special_tokens:
|
83 |
+
pad_token: <|endoftext|>
|
84 |
+
strict: false
|
85 |
+
tf32: false
|
86 |
+
tokenizer_type: AutoTokenizer
|
87 |
+
train_on_inputs: false
|
88 |
+
trust_remote_code: true
|
89 |
+
val_set_size: 0.05
|
90 |
+
wandb_entity: null
|
91 |
+
wandb_mode: online
|
92 |
+
wandb_name: 69b7fab1-2f9b-4014-a535-30d75d430a19
|
93 |
+
wandb_project: Gradients-On-Demand
|
94 |
+
wandb_run: your_name
|
95 |
+
wandb_runid: 69b7fab1-2f9b-4014-a535-30d75d430a19
|
96 |
+
warmup_steps: 10
|
97 |
+
weight_decay: 0.0
|
98 |
+
xformers_attention: true
|
99 |
+
|
100 |
+
```
|
101 |
+
|
102 |
+
</details><br>
|
103 |
+
|
104 |
+
# 69b7fab1-2f9b-4014-a535-30d75d430a19
|
105 |
+
|
106 |
+
This model is a fine-tuned version of [tiiuae/falcon-rw-1b](https://huggingface.co/tiiuae/falcon-rw-1b) on the None dataset.
|
107 |
+
It achieves the following results on the evaluation set:
|
108 |
+
- Loss: 1.3331
|
109 |
+
|
110 |
+
## Model description
|
111 |
+
|
112 |
+
More information needed
|
113 |
+
|
114 |
+
## Intended uses & limitations
|
115 |
+
|
116 |
+
More information needed
|
117 |
+
|
118 |
+
## Training and evaluation data
|
119 |
+
|
120 |
+
More information needed
|
121 |
+
|
122 |
+
## Training procedure
|
123 |
+
|
124 |
+
### Training hyperparameters
|
125 |
+
|
126 |
+
The following hyperparameters were used during training:
|
127 |
+
- learning_rate: 0.0001
|
128 |
+
- train_batch_size: 1
|
129 |
+
- eval_batch_size: 1
|
130 |
+
- seed: 42
|
131 |
+
- optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
132 |
+
- lr_scheduler_type: cosine
|
133 |
+
- lr_scheduler_warmup_steps: 10
|
134 |
+
- training_steps: 50
|
135 |
+
|
136 |
+
### Training results
|
137 |
+
|
138 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
139 |
+
|:-------------:|:------:|:----:|:---------------:|
|
140 |
+
| 1.0928 | 0.0004 | 50 | 1.3331 |
|
141 |
+
|
142 |
+
|
143 |
+
### Framework versions
|
144 |
+
|
145 |
+
- PEFT 0.13.2
|
146 |
+
- Transformers 4.46.0
|
147 |
+
- Pytorch 2.5.0+cu124
|
148 |
+
- Datasets 3.0.1
|
149 |
+
- 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": 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 |
+
"dense_h_to_4h",
|
24 |
+
"dense_4h_to_h",
|
25 |
+
"dense",
|
26 |
+
"query_key_value"
|
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:9388f5f578f6e6bf041137e78bc3598217f9a5f7236d2b2f74454ae2555a3525
|
3 |
+
size 50402250
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:19aa93a3ca60f6d6b2f819c5359d4e4577183f540179b22963f0d6b0fafc9a8d
|
3 |
+
size 50358592
|
config.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"quantization_config": {
|
33 |
+
"_load_in_4bit": false,
|
34 |
+
"_load_in_8bit": true,
|
35 |
+
"bnb_4bit_compute_dtype": "float32",
|
36 |
+
"bnb_4bit_quant_storage": "uint8",
|
37 |
+
"bnb_4bit_quant_type": "fp4",
|
38 |
+
"bnb_4bit_use_double_quant": false,
|
39 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
40 |
+
"llm_int8_has_fp16_weight": false,
|
41 |
+
"llm_int8_skip_modules": null,
|
42 |
+
"llm_int8_threshold": 6.0,
|
43 |
+
"load_in_4bit": false,
|
44 |
+
"load_in_8bit": true,
|
45 |
+
"quant_method": "bitsandbytes"
|
46 |
+
},
|
47 |
+
"torch_dtype": "bfloat16",
|
48 |
+
"transformers_version": "4.46.0",
|
49 |
+
"use_cache": false,
|
50 |
+
"vocab_size": 50304
|
51 |
+
}
|
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:3c794c879d175c2b6ff80ec69e0b7f7d671a8479b56cadad26e3299ebdac49a7
|
3 |
+
size 6776
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|