GPTQ model commit
Browse files- all_results.json +21 -0
- config.json +47 -0
- eval_results.json +16 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
- quantize_config.json +8 -0
- special_tokens_map.json +11 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +46 -0
- train_results.json +8 -0
all_results.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_logits/chosen": -2.353081703186035,
|
4 |
+
"eval_logits/rejected": -2.308103084564209,
|
5 |
+
"eval_logps/chosen": -299.4560546875,
|
6 |
+
"eval_logps/rejected": -340.154052734375,
|
7 |
+
"eval_loss": 0.7496059536933899,
|
8 |
+
"eval_rewards/accuracies": 0.78125,
|
9 |
+
"eval_rewards/chosen": -4.522095203399658,
|
10 |
+
"eval_rewards/margins": 3.7963125705718994,
|
11 |
+
"eval_rewards/rejected": -8.318408012390137,
|
12 |
+
"eval_runtime": 48.0152,
|
13 |
+
"eval_samples": 1000,
|
14 |
+
"eval_samples_per_second": 20.827,
|
15 |
+
"eval_steps_per_second": 0.333,
|
16 |
+
"train_loss": 0.2172969928600547,
|
17 |
+
"train_runtime": 23865.9828,
|
18 |
+
"train_samples": 61966,
|
19 |
+
"train_samples_per_second": 7.789,
|
20 |
+
"train_steps_per_second": 0.243
|
21 |
+
}
|
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/workspace/process/huggingfaceh4_zephyr-7b-beta/source",
|
3 |
+
"architectures": [
|
4 |
+
"MistralForCausalLM"
|
5 |
+
],
|
6 |
+
"bos_token_id": 1,
|
7 |
+
"eos_token_id": 2,
|
8 |
+
"hidden_act": "silu",
|
9 |
+
"hidden_size": 4096,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"intermediate_size": 14336,
|
12 |
+
"max_position_embeddings": 32768,
|
13 |
+
"model_type": "mistral",
|
14 |
+
"num_attention_heads": 32,
|
15 |
+
"num_hidden_layers": 32,
|
16 |
+
"num_key_value_heads": 8,
|
17 |
+
"pad_token_id": 2,
|
18 |
+
"pretraining_tp": 1,
|
19 |
+
"quantization_config": {
|
20 |
+
"batch_size": 1,
|
21 |
+
"bits": 4,
|
22 |
+
"block_name_to_quantize": "model.layers",
|
23 |
+
"damp_percent": 0.1,
|
24 |
+
"desc_act": true,
|
25 |
+
"disable_exllama": false,
|
26 |
+
"group_size": 128,
|
27 |
+
"max_input_length": null,
|
28 |
+
"model_seqlen": 4096,
|
29 |
+
"module_name_preceding_first_block": [
|
30 |
+
"model.embed_tokens"
|
31 |
+
],
|
32 |
+
"pad_token_id": null,
|
33 |
+
"quant_method": "gptq",
|
34 |
+
"sym": true,
|
35 |
+
"tokenizer": null,
|
36 |
+
"true_sequential": true,
|
37 |
+
"use_cuda_fp16": true
|
38 |
+
},
|
39 |
+
"rms_norm_eps": 1e-05,
|
40 |
+
"rope_theta": 10000.0,
|
41 |
+
"sliding_window": 4096,
|
42 |
+
"tie_word_embeddings": false,
|
43 |
+
"torch_dtype": "float16",
|
44 |
+
"transformers_version": "4.34.1",
|
45 |
+
"use_cache": true,
|
46 |
+
"vocab_size": 32000
|
47 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_logits/chosen": -2.353081703186035,
|
4 |
+
"eval_logits/rejected": -2.308103084564209,
|
5 |
+
"eval_logps/chosen": -299.4560546875,
|
6 |
+
"eval_logps/rejected": -340.154052734375,
|
7 |
+
"eval_loss": 0.7496059536933899,
|
8 |
+
"eval_rewards/accuracies": 0.78125,
|
9 |
+
"eval_rewards/chosen": -4.522095203399658,
|
10 |
+
"eval_rewards/margins": 3.7963125705718994,
|
11 |
+
"eval_rewards/rejected": -8.318408012390137,
|
12 |
+
"eval_runtime": 48.0152,
|
13 |
+
"eval_samples": 1000,
|
14 |
+
"eval_samples_per_second": 20.827,
|
15 |
+
"eval_steps_per_second": 0.333
|
16 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.35.0.dev0"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a57c77a2bcad11f0953e20010f3bd1aaddd4a843b026c7d51ac67a389d19169
|
3 |
+
size 4158662096
|
quantize_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bits": 4,
|
3 |
+
"group_size": 128,
|
4 |
+
"damp_percent": 0.01,
|
5 |
+
"desc_act": true,
|
6 |
+
"sym": true,
|
7 |
+
"true_sequential": true
|
8 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<unk>",
|
4 |
+
"<s>",
|
5 |
+
"</s>"
|
6 |
+
],
|
7 |
+
"bos_token": "<s>",
|
8 |
+
"eos_token": "</s>",
|
9 |
+
"pad_token": "</s>",
|
10 |
+
"unk_token": "<unk>"
|
11 |
+
}
|
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:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
3 |
+
size 493443
|
tokenizer_config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"additional_special_tokens": [
|
29 |
+
"<unk>",
|
30 |
+
"<s>",
|
31 |
+
"</s>"
|
32 |
+
],
|
33 |
+
"bos_token": "<s>",
|
34 |
+
"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 %}",
|
35 |
+
"clean_up_tokenization_spaces": false,
|
36 |
+
"eos_token": "</s>",
|
37 |
+
"legacy": true,
|
38 |
+
"model_max_length": 1000000000000000019884624838656,
|
39 |
+
"pad_token": "</s>",
|
40 |
+
"sp_model_kwargs": {},
|
41 |
+
"spaces_between_special_tokens": false,
|
42 |
+
"tokenizer_class": "LlamaTokenizer",
|
43 |
+
"truncation_side": "left",
|
44 |
+
"unk_token": "<unk>",
|
45 |
+
"use_default_system_prompt": true
|
46 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"train_loss": 0.2172969928600547,
|
4 |
+
"train_runtime": 23865.9828,
|
5 |
+
"train_samples": 61966,
|
6 |
+
"train_samples_per_second": 7.789,
|
7 |
+
"train_steps_per_second": 0.243
|
8 |
+
}
|