GPTQ model commit
Browse files- all_results.json +21 -0
- config.json +82 -0
- eval_results.json +16 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
- quantize_config.json +11 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer_config.json +43 -0
- train_results.json +8 -0
all_results.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -1.2132024765014648,
|
4 |
+
"eval_logits/rejected": -1.2924575805664062,
|
5 |
+
"eval_logps/chosen": -396.52020263671875,
|
6 |
+
"eval_logps/rejected": -409.31964111328125,
|
7 |
+
"eval_loss": 0.4216844439506531,
|
8 |
+
"eval_rewards/accuracies": 0.8134920597076416,
|
9 |
+
"eval_rewards/chosen": -0.1933162659406662,
|
10 |
+
"eval_rewards/margins": 2.1035311222076416,
|
11 |
+
"eval_rewards/rejected": -2.296847343444824,
|
12 |
+
"eval_runtime": 398.9749,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 5.013,
|
15 |
+
"eval_steps_per_second": 0.158,
|
16 |
+
"train_loss": 0.4461688995361328,
|
17 |
+
"train_runtime": 44067.2139,
|
18 |
+
"train_samples": 58917,
|
19 |
+
"train_samples_per_second": 1.337,
|
20 |
+
"train_steps_per_second": 0.021
|
21 |
+
}
|
config.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/workspace/process/argilla_notux-8x7b-v1/source",
|
3 |
+
"architectures": [
|
4 |
+
"MixtralForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 4096,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 14336,
|
13 |
+
"max_position_embeddings": 32768,
|
14 |
+
"model_type": "mixtral",
|
15 |
+
"num_attention_heads": 32,
|
16 |
+
"num_experts_per_tok": 2,
|
17 |
+
"num_hidden_layers": 32,
|
18 |
+
"num_key_value_heads": 8,
|
19 |
+
"num_local_experts": 8,
|
20 |
+
"output_router_logits": false,
|
21 |
+
"pad_token_id": 0,
|
22 |
+
"pretraining_tp": 1,
|
23 |
+
"rms_norm_eps": 1e-05,
|
24 |
+
"rope_theta": 1000000.0,
|
25 |
+
"router_aux_loss_coef": 0.02,
|
26 |
+
"sliding_window": 4096,
|
27 |
+
"tie_word_embeddings": false,
|
28 |
+
"torch_dtype": "bfloat16",
|
29 |
+
"transformers_version": "4.37.0.dev0",
|
30 |
+
"use_cache": true,
|
31 |
+
"vocab_size": 32000,
|
32 |
+
"quantization_config": {
|
33 |
+
"bits": 4,
|
34 |
+
"group_size": -1,
|
35 |
+
"damp_percent": 0.1,
|
36 |
+
"desc_act": true,
|
37 |
+
"static_groups": false,
|
38 |
+
"sym": true,
|
39 |
+
"true_sequential": true,
|
40 |
+
"model_name_or_path": null,
|
41 |
+
"model_file_base_name": "model",
|
42 |
+
"quant_method": "gptq",
|
43 |
+
"modules_in_block_to_quantize": [
|
44 |
+
[
|
45 |
+
"self_attn.k_proj",
|
46 |
+
"self_attn.v_proj",
|
47 |
+
"self_attn.q_proj"
|
48 |
+
],
|
49 |
+
[
|
50 |
+
"self_attn.o_proj"
|
51 |
+
],
|
52 |
+
[
|
53 |
+
"block_sparse_moe.experts.0.w1",
|
54 |
+
"block_sparse_moe.experts.1.w1",
|
55 |
+
"block_sparse_moe.experts.2.w1",
|
56 |
+
"block_sparse_moe.experts.3.w1",
|
57 |
+
"block_sparse_moe.experts.4.w1",
|
58 |
+
"block_sparse_moe.experts.5.w1",
|
59 |
+
"block_sparse_moe.experts.6.w1",
|
60 |
+
"block_sparse_moe.experts.7.w1",
|
61 |
+
"block_sparse_moe.experts.0.w3",
|
62 |
+
"block_sparse_moe.experts.1.w3",
|
63 |
+
"block_sparse_moe.experts.2.w3",
|
64 |
+
"block_sparse_moe.experts.3.w3",
|
65 |
+
"block_sparse_moe.experts.4.w3",
|
66 |
+
"block_sparse_moe.experts.5.w3",
|
67 |
+
"block_sparse_moe.experts.6.w3",
|
68 |
+
"block_sparse_moe.experts.7.w3"
|
69 |
+
],
|
70 |
+
[
|
71 |
+
"block_sparse_moe.experts.0.w2",
|
72 |
+
"block_sparse_moe.experts.1.w2",
|
73 |
+
"block_sparse_moe.experts.2.w2",
|
74 |
+
"block_sparse_moe.experts.3.w2",
|
75 |
+
"block_sparse_moe.experts.4.w2",
|
76 |
+
"block_sparse_moe.experts.5.w2",
|
77 |
+
"block_sparse_moe.experts.6.w2",
|
78 |
+
"block_sparse_moe.experts.7.w2"
|
79 |
+
]
|
80 |
+
]
|
81 |
+
}
|
82 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -1.2132024765014648,
|
4 |
+
"eval_logits/rejected": -1.2924575805664062,
|
5 |
+
"eval_logps/chosen": -396.52020263671875,
|
6 |
+
"eval_logps/rejected": -409.31964111328125,
|
7 |
+
"eval_loss": 0.4216844439506531,
|
8 |
+
"eval_rewards/accuracies": 0.8134920597076416,
|
9 |
+
"eval_rewards/chosen": -0.1933162659406662,
|
10 |
+
"eval_rewards/margins": 2.1035311222076416,
|
11 |
+
"eval_rewards/rejected": -2.296847343444824,
|
12 |
+
"eval_runtime": 398.9749,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 5.013,
|
15 |
+
"eval_steps_per_second": 0.158
|
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.36.0"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e1b9de3bb27324cfaca44960ad329655822964863ce0ab61d009e4cdee3a42af
|
3 |
+
size 23811549344
|
quantize_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bits": 4,
|
3 |
+
"group_size": -1,
|
4 |
+
"damp_percent": 0.1,
|
5 |
+
"desc_act": true,
|
6 |
+
"static_groups": false,
|
7 |
+
"sym": true,
|
8 |
+
"true_sequential": true,
|
9 |
+
"model_name_or_path": null,
|
10 |
+
"model_file_base_name": "model"
|
11 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "</s>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
}
|
29 |
+
},
|
30 |
+
"additional_special_tokens": [],
|
31 |
+
"bos_token": "<s>",
|
32 |
+
"chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}",
|
33 |
+
"clean_up_tokenization_spaces": false,
|
34 |
+
"eos_token": "</s>",
|
35 |
+
"legacy": true,
|
36 |
+
"model_max_length": 2048,
|
37 |
+
"pad_token": "</s>",
|
38 |
+
"sp_model_kwargs": {},
|
39 |
+
"spaces_between_special_tokens": false,
|
40 |
+
"tokenizer_class": "LlamaTokenizer",
|
41 |
+
"unk_token": "<unk>",
|
42 |
+
"use_default_system_prompt": false
|
43 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 0.4461688995361328,
|
4 |
+
"train_runtime": 44067.2139,
|
5 |
+
"train_samples": 58917,
|
6 |
+
"train_samples_per_second": 1.337,
|
7 |
+
"train_steps_per_second": 0.021
|
8 |
+
}
|