Dampfinchen
commited on
Commit
•
ea4905a
1
Parent(s):
13fd62c
Upload 5 files
Browse files- config.json +1 -2
- generation_config.json +5 -2
- special_tokens_map.json +2 -14
- tokenizer.json +64 -4
config.json
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "Undi95/Meta-Llama-3-8B-Instruct-hf",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
@@ -22,7 +21,7 @@
|
|
22 |
"rope_theta": 500000.0,
|
23 |
"tie_word_embeddings": false,
|
24 |
"torch_dtype": "bfloat16",
|
25 |
-
"transformers_version": "4.
|
26 |
"use_cache": true,
|
27 |
"vocab_size": 128256
|
28 |
}
|
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"LlamaForCausalLM"
|
4 |
],
|
|
|
21 |
"rope_theta": 500000.0,
|
22 |
"tie_word_embeddings": false,
|
23 |
"torch_dtype": "bfloat16",
|
24 |
+
"transformers_version": "4.40.0.dev0",
|
25 |
"use_cache": true,
|
26 |
"vocab_size": 128256
|
27 |
}
|
generation_config.json
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
{
|
2 |
-
"_from_model_config": true,
|
3 |
"bos_token_id": 128000,
|
4 |
"eos_token_id": [128001, 128009],
|
|
|
|
|
|
|
|
|
5 |
"transformers_version": "4.40.0.dev0"
|
6 |
-
}
|
|
|
1 |
{
|
|
|
2 |
"bos_token_id": 128000,
|
3 |
"eos_token_id": [128001, 128009],
|
4 |
+
"do_sample": true,
|
5 |
+
"temperature": 0.6,
|
6 |
+
"max_length": 4096,
|
7 |
+
"top_p": 0.9,
|
8 |
"transformers_version": "4.40.0.dev0"
|
9 |
+
}
|
special_tokens_map.json
CHANGED
@@ -1,16 +1,4 @@
|
|
1 |
{
|
2 |
-
"bos_token":
|
3 |
-
|
4 |
-
"lstrip": false,
|
5 |
-
"normalized": false,
|
6 |
-
"rstrip": false,
|
7 |
-
"single_word": false
|
8 |
-
},
|
9 |
-
"eos_token": {
|
10 |
-
"content": "<|end_of_text|>",
|
11 |
-
"lstrip": false,
|
12 |
-
"normalized": false,
|
13 |
-
"rstrip": false,
|
14 |
-
"single_word": false
|
15 |
-
}
|
16 |
}
|
|
|
1 |
{
|
2 |
+
"bos_token": "<|begin_of_text|>",
|
3 |
+
"eos_token": "<|end_of_text|>"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
}
|
tokenizer.json
CHANGED
@@ -2329,10 +2329,69 @@
|
|
2329 |
]
|
2330 |
},
|
2331 |
"post_processor": {
|
2332 |
-
"type": "
|
2333 |
-
"
|
2334 |
-
|
2335 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2336 |
},
|
2337 |
"decoder": {
|
2338 |
"type": "ByteLevel",
|
@@ -2348,6 +2407,7 @@
|
|
2348 |
"end_of_word_suffix": null,
|
2349 |
"fuse_unk": false,
|
2350 |
"byte_fallback": false,
|
|
|
2351 |
"vocab": {
|
2352 |
"!": 0,
|
2353 |
"\"": 1,
|
|
|
2329 |
]
|
2330 |
},
|
2331 |
"post_processor": {
|
2332 |
+
"type": "Sequence",
|
2333 |
+
"processors": [
|
2334 |
+
{
|
2335 |
+
"type": "ByteLevel",
|
2336 |
+
"add_prefix_space": true,
|
2337 |
+
"trim_offsets": false,
|
2338 |
+
"use_regex": true
|
2339 |
+
},
|
2340 |
+
{
|
2341 |
+
"type": "TemplateProcessing",
|
2342 |
+
"single": [
|
2343 |
+
{
|
2344 |
+
"SpecialToken": {
|
2345 |
+
"id": "<|begin_of_text|>",
|
2346 |
+
"type_id": 0
|
2347 |
+
}
|
2348 |
+
},
|
2349 |
+
{
|
2350 |
+
"Sequence": {
|
2351 |
+
"id": "A",
|
2352 |
+
"type_id": 0
|
2353 |
+
}
|
2354 |
+
}
|
2355 |
+
],
|
2356 |
+
"pair": [
|
2357 |
+
{
|
2358 |
+
"SpecialToken": {
|
2359 |
+
"id": "<|begin_of_text|>",
|
2360 |
+
"type_id": 0
|
2361 |
+
}
|
2362 |
+
},
|
2363 |
+
{
|
2364 |
+
"Sequence": {
|
2365 |
+
"id": "A",
|
2366 |
+
"type_id": 0
|
2367 |
+
}
|
2368 |
+
},
|
2369 |
+
{
|
2370 |
+
"SpecialToken": {
|
2371 |
+
"id": "<|begin_of_text|>",
|
2372 |
+
"type_id": 1
|
2373 |
+
}
|
2374 |
+
},
|
2375 |
+
{
|
2376 |
+
"Sequence": {
|
2377 |
+
"id": "B",
|
2378 |
+
"type_id": 1
|
2379 |
+
}
|
2380 |
+
}
|
2381 |
+
],
|
2382 |
+
"special_tokens": {
|
2383 |
+
"<|begin_of_text|>": {
|
2384 |
+
"id": "<|begin_of_text|>",
|
2385 |
+
"ids": [
|
2386 |
+
128000
|
2387 |
+
],
|
2388 |
+
"tokens": [
|
2389 |
+
"<|begin_of_text|>"
|
2390 |
+
]
|
2391 |
+
}
|
2392 |
+
}
|
2393 |
+
}
|
2394 |
+
]
|
2395 |
},
|
2396 |
"decoder": {
|
2397 |
"type": "ByteLevel",
|
|
|
2407 |
"end_of_word_suffix": null,
|
2408 |
"fuse_unk": false,
|
2409 |
"byte_fallback": false,
|
2410 |
+
"ignore_merges": true,
|
2411 |
"vocab": {
|
2412 |
"!": 0,
|
2413 |
"\"": 1,
|