Upload folder using huggingface_hub
Browse files- training_checkpoints/checkpoint-1926/README.md +21 -0
- training_checkpoints/checkpoint-1926/adapter_config.json +26 -0
- training_checkpoints/checkpoint-1926/adapter_model.safetensors +3 -0
- training_checkpoints/checkpoint-1926/optimizer.pt +3 -0
- training_checkpoints/checkpoint-1926/rng_state.pth +3 -0
- training_checkpoints/checkpoint-1926/scheduler.pt +3 -0
- training_checkpoints/checkpoint-1926/special_tokens_map.json +30 -0
- training_checkpoints/checkpoint-1926/tokenizer.json +0 -0
- training_checkpoints/checkpoint-1926/tokenizer.model +3 -0
- training_checkpoints/checkpoint-1926/tokenizer_config.json +40 -0
- training_checkpoints/checkpoint-1926/trainer_state.json +103 -0
- training_checkpoints/checkpoint-1926/training_args.bin +3 -0
training_checkpoints/checkpoint-1926/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-1926/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-1926/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bf10866b3b4dde336fa75cd84ec01eaeee066cac028c964c98a54d0a311504e6
|
3 |
+
size 50626520
|
training_checkpoints/checkpoint-1926/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c1b3bbfd96b5b8bf980d7078362e14de96a62735bebed252dc4b036fc47112d2
|
3 |
+
size 101430714
|
training_checkpoints/checkpoint-1926/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:32a9b3441045cec6251b5e2d0f020d72734979a5c5e65c886fe9318c5c15e087
|
3 |
+
size 14244
|
training_checkpoints/checkpoint-1926/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3f6fd9669bf65b94099869c64621148aa0238a64b03926c5ff1fce3c23795487
|
3 |
+
size 1064
|
training_checkpoints/checkpoint-1926/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-1926/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
training_checkpoints/checkpoint-1926/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-1926/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-1926/trainer_state.json
ADDED
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.7849208402678758,
|
3 |
+
"best_model_checkpoint": "tiny-llama/checkpoint-1284",
|
4 |
+
"epoch": 2.99883223043986,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 1926,
|
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 |
+
"epoch": 2.34,
|
69 |
+
"learning_rate": 3.836448598130841e-05,
|
70 |
+
"loss": 0.3354,
|
71 |
+
"step": 1500
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"epoch": 3.0,
|
75 |
+
"eval_accuracy": 0.8326878388845856,
|
76 |
+
"eval_f1_macro": 0.7742114597713703,
|
77 |
+
"eval_f1_micro": 0.8326878388845856,
|
78 |
+
"eval_f1_weighted": 0.8281979563082781,
|
79 |
+
"eval_loss": 0.8046467304229736,
|
80 |
+
"eval_macro_fpr": 0.014819935806968648,
|
81 |
+
"eval_macro_sensitivity": 0.7581833318977771,
|
82 |
+
"eval_macro_specificity": 0.9872339538797621,
|
83 |
+
"eval_precision": 0.8276269450338689,
|
84 |
+
"eval_precision_macro": 0.8057581057880366,
|
85 |
+
"eval_recall": 0.8326878388845856,
|
86 |
+
"eval_recall_macro": 0.7581833318977771,
|
87 |
+
"eval_runtime": 1396.4981,
|
88 |
+
"eval_samples_per_second": 0.924,
|
89 |
+
"eval_steps_per_second": 0.463,
|
90 |
+
"eval_weighted_fpr": 0.01414908947988995,
|
91 |
+
"eval_weighted_sensitivity": 0.8326878388845856,
|
92 |
+
"eval_weighted_specificity": 0.9758214693118433,
|
93 |
+
"step": 1926
|
94 |
+
}
|
95 |
+
],
|
96 |
+
"logging_steps": 500,
|
97 |
+
"max_steps": 6420,
|
98 |
+
"num_train_epochs": 10,
|
99 |
+
"save_steps": 500,
|
100 |
+
"total_flos": 1.8593227297574093e+17,
|
101 |
+
"trial_name": null,
|
102 |
+
"trial_params": null
|
103 |
+
}
|
training_checkpoints/checkpoint-1926/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:63f5fd560de7929fa900a07f6b2ea1ff18602c1b6c7171e4c9203c260226c44b
|
3 |
+
size 4600
|