AWQ model commit
Browse files- added_tokens.json +5 -0
- all_results.json +21 -0
- config.json +27 -0
- dialogue_template.json +13 -0
- eval_results.json +16 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
- quant_config.json +6 -0
- special_tokens_map.json +11 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +45 -0
- train_results.json +8 -0
added_tokens.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s>": 2,
|
3 |
+
"<s>": 1,
|
4 |
+
"<unk>": 0
|
5 |
+
}
|
all_results.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -2.744652509689331,
|
4 |
+
"eval_logits/rejected": -2.71529483795166,
|
5 |
+
"eval_logps/chosen": -297.10400390625,
|
6 |
+
"eval_logps/rejected": -327.4286193847656,
|
7 |
+
"eval_loss": 0.46045970916748047,
|
8 |
+
"eval_rewards/accuracies": 0.78125,
|
9 |
+
"eval_rewards/chosen": -0.5052940249443054,
|
10 |
+
"eval_rewards/margins": 1.3699172735214233,
|
11 |
+
"eval_rewards/rejected": -1.8752113580703735,
|
12 |
+
"eval_runtime": 52.3218,
|
13 |
+
"eval_samples": 1000,
|
14 |
+
"eval_samples_per_second": 19.113,
|
15 |
+
"eval_steps_per_second": 0.306,
|
16 |
+
"train_loss": 0.48803097129668166,
|
17 |
+
"train_runtime": 7971.1784,
|
18 |
+
"train_samples": 61966,
|
19 |
+
"train_samples_per_second": 7.774,
|
20 |
+
"train_steps_per_second": 0.243
|
21 |
+
}
|
config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/workspace/process/huggingfaceh4_zephyr-7b-alpha/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 |
+
"rms_norm_eps": 1e-05,
|
20 |
+
"rope_theta": 10000.0,
|
21 |
+
"sliding_window": 4096,
|
22 |
+
"tie_word_embeddings": false,
|
23 |
+
"torch_dtype": "float16",
|
24 |
+
"transformers_version": "4.34.0",
|
25 |
+
"use_cache": true,
|
26 |
+
"vocab_size": 32000
|
27 |
+
}
|
dialogue_template.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"system": "",
|
3 |
+
"name": "default_v2",
|
4 |
+
"messages": null,
|
5 |
+
"system_token": "<|system|>",
|
6 |
+
"system_format": "standard",
|
7 |
+
"user_token": "<|user|>",
|
8 |
+
"assistant_token": "<|assistant|>",
|
9 |
+
"end_token": "<|endoftext|>",
|
10 |
+
"mid_str": "\n",
|
11 |
+
"end_str": "\n",
|
12 |
+
"extra_end_text": "\n"
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -2.744652509689331,
|
4 |
+
"eval_logits/rejected": -2.71529483795166,
|
5 |
+
"eval_logps/chosen": -297.10400390625,
|
6 |
+
"eval_logps/rejected": -327.4286193847656,
|
7 |
+
"eval_loss": 0.46045970916748047,
|
8 |
+
"eval_rewards/accuracies": 0.78125,
|
9 |
+
"eval_rewards/chosen": -0.5052940249443054,
|
10 |
+
"eval_rewards/margins": 1.3699172735214233,
|
11 |
+
"eval_rewards/rejected": -1.8752113580703735,
|
12 |
+
"eval_runtime": 52.3218,
|
13 |
+
"eval_samples": 1000,
|
14 |
+
"eval_samples_per_second": 19.113,
|
15 |
+
"eval_steps_per_second": 0.306
|
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.34.0"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:48c863f14dfbc2ab3d2483682f8ccf188f1684c631b37f4605e422237b0cf534
|
3 |
+
size 4150880232
|
quant_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"zero_point": true,
|
3 |
+
"q_group_size": 128,
|
4 |
+
"w_bit": 4,
|
5 |
+
"version": "GEMM"
|
6 |
+
}
|
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": "<unk>",
|
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,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"clean_up_tokenization_spaces": false,
|
35 |
+
"eos_token": "</s>",
|
36 |
+
"legacy": true,
|
37 |
+
"model_max_length": 1000000000000000019884624838656,
|
38 |
+
"pad_token": "</s>",
|
39 |
+
"sp_model_kwargs": {},
|
40 |
+
"spaces_between_special_tokens": false,
|
41 |
+
"tokenizer_class": "LlamaTokenizer",
|
42 |
+
"truncation_side": "left",
|
43 |
+
"unk_token": "<unk>",
|
44 |
+
"use_default_system_prompt": true
|
45 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 0.48803097129668166,
|
4 |
+
"train_runtime": 7971.1784,
|
5 |
+
"train_samples": 61966,
|
6 |
+
"train_samples_per_second": 7.774,
|
7 |
+
"train_steps_per_second": 0.243
|
8 |
+
}
|