Training in progress, step 40
Browse files- axolotl_config.yaml +45 -0
- config.json +31 -0
- model.safetensors +3 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +43 -0
- training_args.bin +3 -0
axolotl_config.yaml
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
base_model: trl-internal-testing/tiny-random-LlamaForCausalLM
|
2 |
+
batch_size: 32
|
3 |
+
bf16: true
|
4 |
+
chat_template: tokenizer_default_fallback_alpaca
|
5 |
+
datasets:
|
6 |
+
- format: custom
|
7 |
+
path: argilla/databricks-dolly-15k-curated-en
|
8 |
+
type:
|
9 |
+
field_input: original-instruction
|
10 |
+
field_instruction: original-instruction
|
11 |
+
field_output: original-response
|
12 |
+
format: '{instruction} {input}'
|
13 |
+
no_input_format: '{instruction}'
|
14 |
+
system_format: '{system}'
|
15 |
+
system_prompt: ''
|
16 |
+
eval_steps: 20
|
17 |
+
flash_attention: true
|
18 |
+
gpu_memory_limit: 80GiB
|
19 |
+
group_by_length: true
|
20 |
+
hub_model_id: SystemAdmin123/tiny-random-LlamaForCausalLM
|
21 |
+
hub_strategy: checkpoint
|
22 |
+
learning_rate: 0.0002
|
23 |
+
logging_steps: 10
|
24 |
+
lr_scheduler: cosine
|
25 |
+
max_steps: 2500
|
26 |
+
micro_batch_size: 2
|
27 |
+
model_type: AutoModelForCausalLM
|
28 |
+
num_epochs: 100
|
29 |
+
optimizer: adamw_bnb_8bit
|
30 |
+
output_dir: /root/.sn56/axolotl/outputs/tiny-random-LlamaForCausalLM
|
31 |
+
pad_to_sequence_len: true
|
32 |
+
resize_token_embeddings_to_32x: false
|
33 |
+
save_steps: 40
|
34 |
+
save_total_limit: 1
|
35 |
+
sequence_len: 2048
|
36 |
+
tokenizer_type: LlamaTokenizerFast
|
37 |
+
trust_remote_code: true
|
38 |
+
val_set_size: 0.1
|
39 |
+
wandb_entity: ''
|
40 |
+
wandb_mode: online
|
41 |
+
wandb_name: trl-internal-testing/tiny-random-LlamaForCausalLM-argilla/databricks-dolly-15k-curated-en
|
42 |
+
wandb_project: Gradients-On-Demand
|
43 |
+
wandb_run: your_name
|
44 |
+
wandb_runid: default
|
45 |
+
warmup_ratio: 0.05
|
config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "trl-internal-testing/tiny-random-LlamaForCausalLM",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"head_dim": 4,
|
11 |
+
"hidden_act": "silu",
|
12 |
+
"hidden_size": 16,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 64,
|
15 |
+
"max_position_embeddings": 2048,
|
16 |
+
"mlp_bias": false,
|
17 |
+
"model_type": "llama",
|
18 |
+
"num_attention_heads": 4,
|
19 |
+
"num_hidden_layers": 2,
|
20 |
+
"num_key_value_heads": 4,
|
21 |
+
"pad_token_id": -1,
|
22 |
+
"pretraining_tp": 1,
|
23 |
+
"rms_norm_eps": 1e-06,
|
24 |
+
"rope_scaling": null,
|
25 |
+
"rope_theta": 10000.0,
|
26 |
+
"tie_word_embeddings": false,
|
27 |
+
"torch_dtype": "bfloat16",
|
28 |
+
"transformers_version": "4.48.1",
|
29 |
+
"use_cache": false,
|
30 |
+
"vocab_size": 32000
|
31 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:49d3c1ac91dc28dfad9b5915327f90ead196d74a74cca0701e4fc407a177ace3
|
3 |
+
size 2066752
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<unk>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
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.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": null,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"0": {
|
7 |
+
"content": "<unk>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": true
|
13 |
+
},
|
14 |
+
"1": {
|
15 |
+
"content": "<s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
"2": {
|
23 |
+
"content": "</s>",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": false,
|
26 |
+
"rstrip": false,
|
27 |
+
"single_word": false,
|
28 |
+
"special": true
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"bos_token": "<s>",
|
32 |
+
"chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ '### Instruction: ' + message['content'] + '\n\n' }}{% elif message['role'] == 'assistant' %}{{ '### Response: ' + message['content'] + eos_token}}{% endif %}{% endfor %}",
|
33 |
+
"clean_up_tokenization_spaces": false,
|
34 |
+
"eos_token": "</s>",
|
35 |
+
"extra_special_tokens": {},
|
36 |
+
"legacy": true,
|
37 |
+
"model_max_length": 2048,
|
38 |
+
"pad_token": "<unk>",
|
39 |
+
"tokenizer_class": "LlamaTokenizer",
|
40 |
+
"unk_token": "<unk>",
|
41 |
+
"use_default_system_prompt": true,
|
42 |
+
"use_fast": true
|
43 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5963e63ecd9d9eeb7c6df89ed5187f28b89cc675db182e3abde919b991354090
|
3 |
+
size 6776
|