初始化项目,由ModelHub XC社区提供模型
Model: dr3z/chess-baguettotron Source: Original Platform
This commit is contained in:
36
.gitattributes
vendored
Normal file
36
.gitattributes
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||
*.model filter=lfs diff=lfs merge=lfs -text
|
||||
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||
chess_animation.gif filter=lfs diff=lfs merge=lfs -text
|
||||
100
README.md
Normal file
100
README.md
Normal file
@@ -0,0 +1,100 @@
|
||||
---
|
||||
license: apache-2.0
|
||||
base_model: PleIAs/Baguettotron
|
||||
datasets: dr3z/chess-reasoning
|
||||
library_name: transformers
|
||||
---
|
||||
|
||||
|
||||
## chess-baguettotron
|
||||
|
||||
This is a pet-project attempting to finetune a small language model to play chess.
|
||||
Given the initial board, it generates reasoning traces and the board after the next move.
|
||||
In combination with a Stockfish evaluation to choose the move from generated samples, it can win in the game against the Stockfish 1350 ELO.
|
||||
|
||||
## Game example:
|
||||
```pgn
|
||||
[Event "?"]
|
||||
[Site "?"]
|
||||
[Date "2026.02.25"]
|
||||
[Round "?"]
|
||||
[White "chess-baguettotron - 48 samples with Stockfish searchtime for 3 seconds"]
|
||||
[Black "Stockfish 1350 ELO"]
|
||||
[Result "1-0"]
|
||||
|
||||
1. c4 e5 2. Nc3 Nc6 3. g3 Bb4 4. Nf3 Bxc3 5. bxc3 d6 6. Bg2 Bd7 7. d4 Nf6 8. c5 Rc8 9. d5 Na5 10. c6 Bg4 11. c4 Bh5 12. Qa4 b6 13. Bh3 Bg6 14. Qb4 Rb8 15. Kf1 Qe7 16. Be3 h6 17. Re1 Ne4 18. Bd7+ Kf8 19. Nh4 Ra8 20. Qb5 Bh7 21. Kg2 g5 22. Nf3 a6 23. Qb2 g4 24. Qc1 b5 25. Ng1 Kg8 26. Bxh6 Qf6 27. Rf1 Nc5 28. f3 Be4 29. h4 Qxh6 30. Qe1 Nxc4 31. fxe4 Nxd7 32. Nf3 Nc5 33. Ng5 Rh7 34. Qf2 Nb6 35. Kg1 Re8 36. Qf5 Re7 37. Rh2 Rh8 38. a4 Qg7 39. Qxg4 Rh6 40. axb5 Rg6 41. Qh3 Rh6 42. bxa6 Rf6 43. a7 Rxf1+ 44. Qxf1 f6 45. Ne6 Qf7 46. Qf2 Nxe6 47. h5 Nd4 48. e3 Nxc6 49. dxc6 Na8 50. Qe2 Kh7 51. Rf2 Nb6 52. Qg4 Kh8 53. Qf5 Qg7 54. Qxf6 Kg8 55. Qxg7+ Kxg7 56. h6+ Kg8 57. h7+ Kh8 58. Kg2 Rxh7 59. Rb2 Kg7 60. Rxb6 Kf6 61. Rb8 Kg5 62. Rg8+ Kf6 63. Rd8 Ke7 64. a8=Q Kf7 65. Rf8+ Kg6 66. Qe8+ Kg5 67. Rf5+ Kh6 68. Rh5+ Kg7 69. Qd7+ Kf8 70. Rxh7 Kg8 71. Qg7# 1-0
|
||||
```
|
||||
|
||||

|
||||
|
||||
|
||||
## Minimal usage:
|
||||
|
||||
```python
|
||||
from transformers import AutoTokenizer, AutoModelForCausalLM
|
||||
|
||||
model_name = "dr3z/chess-baguettotron"
|
||||
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
||||
model = AutoModelForCausalLM.from_pretrained(model_name).to('cuda')
|
||||
|
||||
|
||||
SYSTEM_PROMPT = """
|
||||
You are a Chess Grandmaster.
|
||||
Given a chessboard position, you must:
|
||||
|
||||
1. Think deeply about the justification of your move.
|
||||
2. Derive the move step‑by‑step, explaining your reasoning internally, but **do not reveal the move until you have finished the analysis**.
|
||||
3. After the analysis, play the chosen move and output **only** the resulting board state in the following format:
|
||||
|
||||
'''
|
||||
<answer>
|
||||
[board representation]
|
||||
</answer>
|
||||
'''
|
||||
|
||||
No additional commentary, explanations, or text should appear outside of the `<answer>` tags.
|
||||
"""
|
||||
|
||||
CURRENT_STATE = """
|
||||
8 | _ _ _ _ _ _ _ _ |
|
||||
7 | _ _ p _ _ k _ p |
|
||||
6 | _ _ _ p _ n p _ |
|
||||
5 | _ _ _ P _ p _ _ |
|
||||
4 | _ _ _ P _ _ _ _ |
|
||||
3 | _ P _ K _ P P _ |
|
||||
2 | _ _ B _ _ _ _ P |
|
||||
1 | _ _ _ _ _ _ _ _ |
|
||||
a b c d e f g h
|
||||
White moves
|
||||
"""
|
||||
|
||||
inp = tokenizer.apply_chat_template([{'role':'system','content':SYSTEM_PROMPT},{'role':'user','content':CURRENT_STATE}], add_generation_prompt=1, tokenize=True, return_tensors='pt')
|
||||
out = model.generate(inp.to(model.device), max_new_tokens=4500, temperature=0.5, do_sample=True, num_return_sequences=1)
|
||||
out = [tokenizer.decode(c) for c in out]
|
||||
|
||||
for text in out:
|
||||
print(text)
|
||||
|
||||
```
|
||||
|
||||
## Training params
|
||||
|
||||
### SFT
|
||||
|
||||
- optimizer: muon
|
||||
- learning_rate: 2e-03
|
||||
- batch_size: 14
|
||||
- gradient_accumulation_steps: 2
|
||||
- lr_scheduler_type: linear
|
||||
- lr_scheduler_warmup_steps: 5133
|
||||
- training_steps: 31400
|
||||
|
||||
### GRPO
|
||||
|
||||
- optimizer: adamw
|
||||
- learning_rate: 5e-06
|
||||
- beta: 1e-03
|
||||
- num_generations: 16
|
||||
- training_steps: 2124
|
||||
|
||||
|
||||
93
chat_template.jinja
Normal file
93
chat_template.jinja
Normal file
@@ -0,0 +1,93 @@
|
||||
{%- if tools %}
|
||||
{{- '<|im_start|>system\n' }}
|
||||
{%- if messages[0].role == 'system' %}
|
||||
{{- messages[0].content + '\n\n' }}
|
||||
{%- endif %}
|
||||
{{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
||||
{%- for tool in tools %}
|
||||
{{- "\n" }}
|
||||
{{- tool | tojson }}
|
||||
{%- endfor %}
|
||||
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
||||
{%- else %}
|
||||
{%- if messages[0].role == 'system' %}
|
||||
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
||||
{#- Determine the real last index: use provided value or default to messages length - 1 #}
|
||||
{%- if real_last_index is defined and real_last_index is not none %}
|
||||
{%- set ns.real_last_index = real_last_index %}
|
||||
{%- else %}
|
||||
{%- set ns.real_last_index = messages|length - 1 %}
|
||||
{%- endif %}
|
||||
{%- for message in messages[::-1] %}
|
||||
{%- set index = (messages|length - 1) - loop.index0 %}
|
||||
{%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
||||
{%- set ns.multi_step_tool = false %}
|
||||
{%- set ns.last_query_index = index %}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- for message in messages %}
|
||||
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
||||
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
||||
{%- elif message.role == "assistant" %}
|
||||
{%- set content = message.content %}
|
||||
{%- set reasoning_content = '' %}
|
||||
{%- if message.reasoning_content is defined and message.reasoning_content is not none %}
|
||||
{%- set reasoning_content = message.reasoning_content %}
|
||||
{%- else %}
|
||||
{%- if '</think>' in message.content %}
|
||||
{%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
|
||||
{%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
{%- if loop.index0 > ns.last_query_index %}
|
||||
{%- if loop.index0 == ns.real_last_index or (loop.index0 != ns.real_last_index and reasoning_content) %}
|
||||
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
||||
{%- else %}
|
||||
{{- '<|im_start|>' + message.role + '\n' + content }}
|
||||
{%- endif %}
|
||||
{%- else %}
|
||||
{{- '<|im_start|>' + message.role + '\n' + content }}
|
||||
{%- endif %}
|
||||
{%- if message.tool_calls %}
|
||||
{%- for tool_call in message.tool_calls %}
|
||||
{%- if (loop.first and content) or (not loop.first) %}
|
||||
{{- '\n' }}
|
||||
{%- endif %}
|
||||
{%- if tool_call.function %}
|
||||
{%- set tool_call = tool_call.function %}
|
||||
{%- endif %}
|
||||
{{- '<tool_call>\n{"name": "' }}
|
||||
{{- tool_call.name }}
|
||||
{{- '", "arguments": ' }}
|
||||
{%- if tool_call.arguments is string %}
|
||||
{{- tool_call.arguments }}
|
||||
{%- else %}
|
||||
{{- tool_call.arguments | tojson }}
|
||||
{%- endif %}
|
||||
{{- '}\n</tool_call>' }}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
{{- '<|im_end|>\n' }}
|
||||
{%- elif message.role == "tool" %}
|
||||
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
||||
{{- '<|im_start|>user' }}
|
||||
{%- endif %}
|
||||
{{- '\n<tool_response>\n' }}
|
||||
{{- message.content }}
|
||||
{{- '\n</tool_response>' }}
|
||||
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
||||
{{- '<|im_end|>\n' }}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- if add_generation_prompt %}
|
||||
{{- '<|im_start|>assistant\n' }}
|
||||
{%- if enable_thinking is defined and enable_thinking is false %}
|
||||
{{- '<think>\n\n</think>\n\n' }}
|
||||
{%- else %}
|
||||
{{- '<think>\n\n' }}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
3
chess_animation.gif
Normal file
3
chess_animation.gif
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e2f2cbf472b80c41a4d2e36beb4d221c02a836213666747b912d55ee3c51f3e2
|
||||
size 412222
|
||||
30
config.json
Normal file
30
config.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"architectures": [
|
||||
"LlamaForCausalLM"
|
||||
],
|
||||
"attention_bias": false,
|
||||
"attention_dropout": 0.0,
|
||||
"bos_token_id": 65491,
|
||||
"dtype": "bfloat16",
|
||||
"eos_token_id": 65492,
|
||||
"head_dim": 64,
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 576,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 1536,
|
||||
"max_position_embeddings": 20192,
|
||||
"mlp_bias": false,
|
||||
"model_type": "llama",
|
||||
"num_attention_heads": 9,
|
||||
"num_hidden_layers": 80,
|
||||
"num_key_value_heads": 3,
|
||||
"pad_token_id": 3,
|
||||
"pretraining_tp": 1,
|
||||
"rms_norm_eps": 1e-05,
|
||||
"rope_scaling": null,
|
||||
"rope_theta": 10000,
|
||||
"tie_word_embeddings": true,
|
||||
"transformers_version": "4.57.0",
|
||||
"use_cache": false,
|
||||
"vocab_size": 65536
|
||||
}
|
||||
11
generation_config.json
Normal file
11
generation_config.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"_from_model_config": true,
|
||||
"bos_token_id": 65491,
|
||||
"do_sample": true,
|
||||
"eos_token_id": [
|
||||
65492,
|
||||
2
|
||||
],
|
||||
"pad_token_id": 3,
|
||||
"transformers_version": "4.57.0"
|
||||
}
|
||||
3
model.safetensors
Normal file
3
model.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:22ab73f35330d9e85e762ea50db65aebda6a06d34cd7cbbbe3791bb05707c0a8
|
||||
size 641995416
|
||||
77
special_tokens_map.json
Normal file
77
special_tokens_map.json
Normal file
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"additional_special_tokens": [
|
||||
"<|im_start|>",
|
||||
"<|im_end|>",
|
||||
"<think>",
|
||||
"</think>",
|
||||
"source_1",
|
||||
"source_2",
|
||||
"source_3",
|
||||
"source_4",
|
||||
"source_5",
|
||||
"source_6",
|
||||
"source_7",
|
||||
"source_8",
|
||||
"source_9",
|
||||
"source_10",
|
||||
"<ref",
|
||||
"</ref>",
|
||||
"→",
|
||||
"↺",
|
||||
"※",
|
||||
"?maybe?",
|
||||
"●",
|
||||
"◐",
|
||||
"○",
|
||||
"⚠",
|
||||
"☐",
|
||||
"☑",
|
||||
"✓",
|
||||
"⟨H≈0.1⟩",
|
||||
"⟨H≈0.2⟩",
|
||||
"⟨H≈0.3⟩",
|
||||
"⟨H≈0.4⟩",
|
||||
"⟨H≈0.5⟩",
|
||||
"⟨H≈0.6⟩",
|
||||
"⟨H≈0.7⟩",
|
||||
"⟨H≈0.8⟩",
|
||||
"⟨H≈0.9⟩",
|
||||
"⟨H≈1.0⟩",
|
||||
"⟨H≈1.1⟩",
|
||||
"⟨H≈1.2⟩",
|
||||
"⟨H≈1.3⟩",
|
||||
"⟨H≈1.4⟩",
|
||||
"⟨H≈1.5⟩",
|
||||
"⟨H≈1.6⟩",
|
||||
"⟨H≈1.7⟩",
|
||||
"⟨H≈1.8⟩"
|
||||
],
|
||||
"bos_token": {
|
||||
"content": "<|im_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"eos_token": {
|
||||
"content": "<|im_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"pad_token": {
|
||||
"content": "[PAD]",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"unk_token": {
|
||||
"content": "[UNK]",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
}
|
||||
}
|
||||
327054
tokenizer.json
Normal file
327054
tokenizer.json
Normal file
File diff suppressed because it is too large
Load Diff
459
tokenizer_config.json
Normal file
459
tokenizer_config.json
Normal file
@@ -0,0 +1,459 @@
|
||||
{
|
||||
"added_tokens_decoder": {
|
||||
"0": {
|
||||
"content": "[UNK]",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"1": {
|
||||
"content": "<|begin_of_text|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"2": {
|
||||
"content": "<|end_of_text|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"3": {
|
||||
"content": "[PAD]",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65491": {
|
||||
"content": "<|im_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65492": {
|
||||
"content": "<|im_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65493": {
|
||||
"content": "<think>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65494": {
|
||||
"content": "</think>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65495": {
|
||||
"content": "source_1",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65496": {
|
||||
"content": "source_2",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65497": {
|
||||
"content": "source_3",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65498": {
|
||||
"content": "source_4",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65499": {
|
||||
"content": "source_5",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65500": {
|
||||
"content": "source_6",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65501": {
|
||||
"content": "source_7",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65502": {
|
||||
"content": "source_8",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65503": {
|
||||
"content": "source_9",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65504": {
|
||||
"content": "source_10",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65505": {
|
||||
"content": "<ref",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65506": {
|
||||
"content": "</ref>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65507": {
|
||||
"content": "→",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65508": {
|
||||
"content": "↺",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65509": {
|
||||
"content": "※",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65510": {
|
||||
"content": "?maybe?",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65511": {
|
||||
"content": "●",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65512": {
|
||||
"content": "◐",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65513": {
|
||||
"content": "○",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65514": {
|
||||
"content": "⚠",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65515": {
|
||||
"content": "☐",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65516": {
|
||||
"content": "☑",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65517": {
|
||||
"content": "✓",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65518": {
|
||||
"content": "⟨H≈0.1⟩",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65519": {
|
||||
"content": "⟨H≈0.2⟩",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65520": {
|
||||
"content": "⟨H≈0.3⟩",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65521": {
|
||||
"content": "⟨H≈0.4⟩",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65522": {
|
||||
"content": "⟨H≈0.5⟩",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65523": {
|
||||
"content": "⟨H≈0.6⟩",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65524": {
|
||||
"content": "⟨H≈0.7⟩",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65525": {
|
||||
"content": "⟨H≈0.8⟩",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65526": {
|
||||
"content": "⟨H≈0.9⟩",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65527": {
|
||||
"content": "⟨H≈1.0⟩",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65528": {
|
||||
"content": "⟨H≈1.1⟩",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65529": {
|
||||
"content": "⟨H≈1.2⟩",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65530": {
|
||||
"content": "⟨H≈1.3⟩",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65531": {
|
||||
"content": "⟨H≈1.4⟩",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65532": {
|
||||
"content": "⟨H≈1.5⟩",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65533": {
|
||||
"content": "⟨H≈1.6⟩",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65534": {
|
||||
"content": "⟨H≈1.7⟩",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"65535": {
|
||||
"content": "⟨H≈1.8⟩",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
}
|
||||
},
|
||||
"additional_special_tokens": [
|
||||
"<|im_start|>",
|
||||
"<|im_end|>",
|
||||
"<think>",
|
||||
"</think>",
|
||||
"source_1",
|
||||
"source_2",
|
||||
"source_3",
|
||||
"source_4",
|
||||
"source_5",
|
||||
"source_6",
|
||||
"source_7",
|
||||
"source_8",
|
||||
"source_9",
|
||||
"source_10",
|
||||
"<ref",
|
||||
"</ref>",
|
||||
"→",
|
||||
"↺",
|
||||
"※",
|
||||
"?maybe?",
|
||||
"●",
|
||||
"◐",
|
||||
"○",
|
||||
"⚠",
|
||||
"☐",
|
||||
"☑",
|
||||
"✓",
|
||||
"⟨H≈0.1⟩",
|
||||
"⟨H≈0.2⟩",
|
||||
"⟨H≈0.3⟩",
|
||||
"⟨H≈0.4⟩",
|
||||
"⟨H≈0.5⟩",
|
||||
"⟨H≈0.6⟩",
|
||||
"⟨H≈0.7⟩",
|
||||
"⟨H≈0.8⟩",
|
||||
"⟨H≈0.9⟩",
|
||||
"⟨H≈1.0⟩",
|
||||
"⟨H≈1.1⟩",
|
||||
"⟨H≈1.2⟩",
|
||||
"⟨H≈1.3⟩",
|
||||
"⟨H≈1.4⟩",
|
||||
"⟨H≈1.5⟩",
|
||||
"⟨H≈1.6⟩",
|
||||
"⟨H≈1.7⟩",
|
||||
"⟨H≈1.8⟩"
|
||||
],
|
||||
"bos_token": "<|im_start|>",
|
||||
"clean_up_tokenization_spaces": true,
|
||||
"eos_token": "<|im_end|>",
|
||||
"extra_special_tokens": {},
|
||||
"model_max_length": 1000000000000000019884624838656,
|
||||
"pad_token": "[PAD]",
|
||||
"roles": {
|
||||
"assistant": "assistant",
|
||||
"system": "system",
|
||||
"user": "user"
|
||||
},
|
||||
"stop": [
|
||||
"<|im_end|>"
|
||||
],
|
||||
"tokenizer_class": "PreTrainedTokenizerFast",
|
||||
"unk_token": "[UNK]"
|
||||
}
|
||||
Reference in New Issue
Block a user