初始化项目,由ModelHub XC社区提供模型

Model: ray0rf1re/Nano-Nano_v5.1
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-15 21:56:43 +08:00
commit 2f5adbaa8b
18 changed files with 502196 additions and 0 deletions

5
tokenizer/README.md Normal file
View File

@@ -0,0 +1,5 @@
# nano-X1 Tokenizer
ByteLevel BPE tokenizer based on EleutherAI/gpt-neox-20b with ChatML + `<think>`/`</think>` special tokens added.
Load: `AutoTokenizer.from_pretrained('./nano_v5_tok_nanox1')`

View File

@@ -0,0 +1,6 @@
{%- for message in messages %}<|im_start|>{{ message['role'] }}
{%- if message['thinking'] is defined and message['thinking'] %}<think>{{ message['thinking'] }}</think>
{%- endif %}{{ message['content'] }}<|im_end|>
{%- endfor %}{%- if add_generation_prompt %}<|im_start|>assistant
<think>
{%- endif %}

250749
tokenizer/tokenizer.json Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,26 @@
{
"add_prefix_space": false,
"backend": "tokenizers",
"bos_token": "<|endoftext|>",
"eos_token": "<|endoftext|>",
"errors": "replace",
"extra_special_tokens": [
"<unk>",
"<s>",
"</s>",
"<pad>",
"<|im_start|>",
"<|im_end|>",
"<|system|>",
"<|user|>",
"<|assistant|>",
"<think>",
"</think>"
],
"is_local": false,
"local_files_only": false,
"model_max_length": 2048,
"pad_token": "<|endoftext|>",
"tokenizer_class": "GPT2Tokenizer",
"unk_token": "<|endoftext|>"
}