Upload folder using huggingface_hub
Browse files- training_checkpoints/checkpoint-1284/README.md +21 -0
- training_checkpoints/checkpoint-1284/adapter_config.json +26 -0
- training_checkpoints/checkpoint-1284/adapter_model.safetensors +3 -0
- training_checkpoints/checkpoint-1284/optimizer.pt +3 -0
- training_checkpoints/checkpoint-1284/rng_state.pth +3 -0
- training_checkpoints/checkpoint-1284/scheduler.pt +3 -0
- training_checkpoints/checkpoint-1284/special_tokens_map.json +30 -0
- training_checkpoints/checkpoint-1284/tokenizer.json +0 -0
- training_checkpoints/checkpoint-1284/tokenizer.model +3 -0
- training_checkpoints/checkpoint-1284/tokenizer_config.json +40 -0
- training_checkpoints/checkpoint-1284/trainer_state.json +75 -0
- training_checkpoints/checkpoint-1284/training_args.bin +3 -0
training_checkpoints/checkpoint-1284/README.md
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
---
|
4 |
+
## Training procedure
|
5 |
+
|
6 |
+
|
7 |
+
The following `bitsandbytes` quantization config was used during training:
|
8 |
+
- quant_method: bitsandbytes
|
9 |
+
- load_in_8bit: False
|
10 |
+
- load_in_4bit: True
|
11 |
+
- llm_int8_threshold: 6.0
|
12 |
+
- llm_int8_skip_modules: None
|
13 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
14 |
+
- llm_int8_has_fp16_weight: False
|
15 |
+
- bnb_4bit_quant_type: nf4
|
16 |
+
- bnb_4bit_use_double_quant: True
|
17 |
+
- bnb_4bit_compute_dtype: bfloat16
|
18 |
+
### Framework versions
|
19 |
+
|
20 |
+
|
21 |
+
- PEFT 0.4.0
|
training_checkpoints/checkpoint-1284/adapter_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_mapping": null,
|
3 |
+
"base_model_name_or_path": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
|
4 |
+
"bias": "none",
|
5 |
+
"fan_in_fan_out": false,
|
6 |
+
"inference_mode": true,
|
7 |
+
"init_lora_weights": true,
|
8 |
+
"layers_pattern": null,
|
9 |
+
"layers_to_transform": null,
|
10 |
+
"lora_alpha": 64,
|
11 |
+
"lora_dropout": 0.1,
|
12 |
+
"modules_to_save": null,
|
13 |
+
"peft_type": "LORA",
|
14 |
+
"r": 16,
|
15 |
+
"revision": null,
|
16 |
+
"target_modules": [
|
17 |
+
"k_proj",
|
18 |
+
"down_proj",
|
19 |
+
"o_proj",
|
20 |
+
"gate_proj",
|
21 |
+
"q_proj",
|
22 |
+
"v_proj",
|
23 |
+
"up_proj"
|
24 |
+
],
|
25 |
+
"task_type": "SEQ_CLS"
|
26 |
+
}
|
training_checkpoints/checkpoint-1284/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7c1c014801ba286396ea8aa68cbe5a19eebaa25c6458094a9f8633597208c334
|
3 |
+
size 50626520
|
training_checkpoints/checkpoint-1284/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ad6adedd11ec038979ab97713e36ed543aa8fcabaf9d3361a2eb3b0fc0df426a
|
3 |
+
size 101430714
|
training_checkpoints/checkpoint-1284/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:249bc78fa99dc570cb9abdc30e5b34bee207d0ef0de55c2582230f62874dd9c4
|
3 |
+
size 14244
|
training_checkpoints/checkpoint-1284/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:416f227998a999ec547a2a2f70fcbb18ffaa67dd9ec12b9762cef7c7b0d1b4d1
|
3 |
+
size 1064
|
training_checkpoints/checkpoint-1284/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": "</s>",
|
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 |
+
}
|
training_checkpoints/checkpoint-1284/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
training_checkpoints/checkpoint-1284/tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
training_checkpoints/checkpoint-1284/tokenizer_config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<unk>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<s>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
}
|
27 |
+
},
|
28 |
+
"bos_token": "<s>",
|
29 |
+
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
|
30 |
+
"clean_up_tokenization_spaces": false,
|
31 |
+
"eos_token": "</s>",
|
32 |
+
"legacy": false,
|
33 |
+
"model_max_length": 2048,
|
34 |
+
"pad_token": "</s>",
|
35 |
+
"padding_side": "right",
|
36 |
+
"sp_model_kwargs": {},
|
37 |
+
"tokenizer_class": "LlamaTokenizer",
|
38 |
+
"unk_token": "<unk>",
|
39 |
+
"use_default_system_prompt": false
|
40 |
+
}
|
training_checkpoints/checkpoint-1284/trainer_state.json
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.7849208402678758,
|
3 |
+
"best_model_checkpoint": "tiny-llama/checkpoint-1284",
|
4 |
+
"epoch": 1.9992214869599065,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 1284,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.78,
|
13 |
+
"learning_rate": 4.614485981308411e-05,
|
14 |
+
"loss": 1.0444,
|
15 |
+
"step": 500
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 1.0,
|
19 |
+
"eval_accuracy": 0.8055770720371804,
|
20 |
+
"eval_f1_macro": 0.6986433125217109,
|
21 |
+
"eval_f1_micro": 0.8055770720371804,
|
22 |
+
"eval_f1_weighted": 0.8014415131779974,
|
23 |
+
"eval_loss": 0.5968185067176819,
|
24 |
+
"eval_macro_fpr": 0.017477297659887057,
|
25 |
+
"eval_macro_sensitivity": 0.6995136011888944,
|
26 |
+
"eval_macro_specificity": 0.9852356804676051,
|
27 |
+
"eval_precision": 0.8049997976909469,
|
28 |
+
"eval_precision_macro": 0.7121994461809698,
|
29 |
+
"eval_recall": 0.8055770720371804,
|
30 |
+
"eval_recall_macro": 0.6995136011888944,
|
31 |
+
"eval_runtime": 1398.4578,
|
32 |
+
"eval_samples_per_second": 0.923,
|
33 |
+
"eval_steps_per_second": 0.462,
|
34 |
+
"eval_weighted_fpr": 0.01694686381743299,
|
35 |
+
"eval_weighted_sensitivity": 0.8055770720371804,
|
36 |
+
"eval_weighted_specificity": 0.9729581349768969,
|
37 |
+
"step": 642
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 1.56,
|
41 |
+
"learning_rate": 4.2250778816199374e-05,
|
42 |
+
"loss": 0.4788,
|
43 |
+
"step": 1000
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"epoch": 2.0,
|
47 |
+
"eval_accuracy": 0.8195197521301317,
|
48 |
+
"eval_f1_macro": 0.7849208402678758,
|
49 |
+
"eval_f1_micro": 0.8195197521301317,
|
50 |
+
"eval_f1_weighted": 0.8172221848923289,
|
51 |
+
"eval_loss": 0.696565568447113,
|
52 |
+
"eval_macro_fpr": 0.016141504898788652,
|
53 |
+
"eval_macro_sensitivity": 0.782528240704334,
|
54 |
+
"eval_macro_specificity": 0.9863319896705219,
|
55 |
+
"eval_precision": 0.8221579556499354,
|
56 |
+
"eval_precision_macro": 0.8091762597974816,
|
57 |
+
"eval_recall": 0.8195197521301317,
|
58 |
+
"eval_recall_macro": 0.782528240704334,
|
59 |
+
"eval_runtime": 1392.2226,
|
60 |
+
"eval_samples_per_second": 0.927,
|
61 |
+
"eval_steps_per_second": 0.464,
|
62 |
+
"eval_weighted_fpr": 0.01548687271518777,
|
63 |
+
"eval_weighted_sensitivity": 0.8195197521301317,
|
64 |
+
"eval_weighted_specificity": 0.9754600929277001,
|
65 |
+
"step": 1284
|
66 |
+
}
|
67 |
+
],
|
68 |
+
"logging_steps": 500,
|
69 |
+
"max_steps": 6420,
|
70 |
+
"num_train_epochs": 10,
|
71 |
+
"save_steps": 500,
|
72 |
+
"total_flos": 1.2395484865049395e+17,
|
73 |
+
"trial_name": null,
|
74 |
+
"trial_params": null
|
75 |
+
}
|
training_checkpoints/checkpoint-1284/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:63f5fd560de7929fa900a07f6b2ea1ff18602c1b6c7171e4c9203c260226c44b
|
3 |
+
size 4600
|