RF Using GRPO
Browse files- generation_config.json +1 -0
- model.safetensors +1 -1
- special_tokens_map.json +21 -3
- tokenizer.json +2 -2
- tokenizer_config.json +13 -5
generation_config.json
CHANGED
|
@@ -3,5 +3,6 @@
|
|
| 3 |
"bos_token_id": 128000,
|
| 4 |
"eos_token_id": 128001,
|
| 5 |
"max_length": 8192,
|
|
|
|
| 6 |
"transformers_version": "4.51.3"
|
| 7 |
}
|
|
|
|
| 3 |
"bos_token_id": 128000,
|
| 4 |
"eos_token_id": 128001,
|
| 5 |
"max_length": 8192,
|
| 6 |
+
"pad_token_id": 0,
|
| 7 |
"transformers_version": "4.51.3"
|
| 8 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4173992256
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:015976e805b4759cecccc5e3a442d9ab54eda6ee538ef6156eb89d96831a2b7a
|
| 3 |
size 4173992256
|
special_tokens_map.json
CHANGED
|
@@ -1,5 +1,23 @@
|
|
| 1 |
{
|
| 2 |
-
"bos_token":
|
| 3 |
-
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<|begin_of_text|>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "<|eot_id|>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "<|end_of_text|>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
}
|
| 23 |
}
|
tokenizer.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:602f9c588f3b1b4c74e8afb51f75f5636120e3b418ba0f04c7562851e545a099
|
| 3 |
+
size 17210130
|
tokenizer_config.json
CHANGED
|
@@ -73,7 +73,7 @@
|
|
| 73 |
"special": true
|
| 74 |
},
|
| 75 |
"128009": {
|
| 76 |
-
"content": "<|
|
| 77 |
"lstrip": false,
|
| 78 |
"normalized": false,
|
| 79 |
"rstrip": false,
|
|
@@ -2050,12 +2050,20 @@
|
|
| 2050 |
}
|
| 2051 |
},
|
| 2052 |
"bos_token": "<|begin_of_text|>",
|
| 2053 |
-
"chat_template": "{%
|
| 2054 |
"clean_up_tokenization_spaces": false,
|
| 2055 |
-
"eos_token": "<|
|
| 2056 |
"extra_special_tokens": {},
|
| 2057 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2058 |
"pad_token": "<|end_of_text|>",
|
|
|
|
|
|
|
| 2059 |
"tokenizer_class": "PreTrainedTokenizer",
|
| 2060 |
-
"
|
|
|
|
| 2061 |
}
|
|
|
|
| 73 |
"special": true
|
| 74 |
},
|
| 75 |
"128009": {
|
| 76 |
+
"content": "<|eot_id|>",
|
| 77 |
"lstrip": false,
|
| 78 |
"normalized": false,
|
| 79 |
"rstrip": false,
|
|
|
|
| 2050 |
}
|
| 2051 |
},
|
| 2052 |
"bos_token": "<|begin_of_text|>",
|
| 2053 |
+
"chat_template": "{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}",
|
| 2054 |
"clean_up_tokenization_spaces": false,
|
| 2055 |
+
"eos_token": "<|eot_id|>",
|
| 2056 |
"extra_special_tokens": {},
|
| 2057 |
+
"max_length": 8192,
|
| 2058 |
+
"model_input_names": [
|
| 2059 |
+
"input_ids",
|
| 2060 |
+
"attention_mask"
|
| 2061 |
+
],
|
| 2062 |
+
"model_max_length": 8192,
|
| 2063 |
"pad_token": "<|end_of_text|>",
|
| 2064 |
+
"padding_side": "left",
|
| 2065 |
+
"stride": 0,
|
| 2066 |
"tokenizer_class": "PreTrainedTokenizer",
|
| 2067 |
+
"truncation_side": "right",
|
| 2068 |
+
"truncation_strategy": "longest_first"
|
| 2069 |
}
|