Text Generation
PEFT
Safetensors
qlora
stiefel-manifold
continuous-reasoning
float32-precision
cag-truth-gate
pmtp-zero-token
polydim-einsof
conversational
Instructions to use Polydim-Einsof/einsof2-kimi-16b-stiefel-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Polydim-Einsof/einsof2-kimi-16b-stiefel-adapter with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("moonshotai/Moonlight-16B-A3B-Instruct") model = PeftModel.from_pretrained(base_model, "Polydim-Einsof/einsof2-kimi-16b-stiefel-adapter") - Notebooks
- Google Colab
- Kaggle
chore(qlora-2027.4.0): restore valid PEFT_QLORA_ADAPTER metadata, native-preserving 1-token <|cag_truth|> template (moonlight), and audited CAG hook
31a1515 verified Download tokenizer_config.json from Polydim-Einsof/einsof2-kimi-16b-stiefel-adapter: direct link, hf CLI and curl.
- Browser
- Download file 2.78 kB
-
https://huggingface.co/Polydim-Einsof/einsof2-kimi-16b-stiefel-adapter/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://Polydim-Einsof/einsof2-kimi-16b-stiefel-adapter/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/Polydim-Einsof/einsof2-kimi-16b-stiefel-adapter/resolve/main/tokenizer_config.json
2.78 kB
| { | |
| "added_tokens_decoder": { | |
| "163584": { | |
| "content": "[BOS]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "163585": { | |
| "content": "[EOS]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "163586": { | |
| "content": "<|im_end|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "163587": { | |
| "content": "<|im_user|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "163588": { | |
| "content": "<|im_assistant|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "163594": { | |
| "content": "<|im_system|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "163601": { | |
| "content": "<|im_middle|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "163838": { | |
| "content": "[PAD]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "163839": { | |
| "content": "[UNK]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "additional_special_tokens": [ | |
| "<|im_end|>", | |
| "<|im_middle|>", | |
| "<|im_user|>", | |
| "<|im_assistant|>", | |
| "<|im_system|>" | |
| ], | |
| "auto_map": { | |
| "AutoTokenizer": [ | |
| "tokenization_moonshot.TikTokenTokenizer", | |
| null | |
| ] | |
| }, | |
| "backend": "custom", | |
| "bos_token": "[BOS]", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "[EOS]", | |
| "extra_special_tokens": [ | |
| "<|im_end|>", | |
| "<|im_user|>", | |
| "<|im_assistant|>", | |
| "<|im_system|>", | |
| "<|im_middle|>" | |
| ], | |
| "is_local": false, | |
| "local_files_only": false, | |
| "model_max_length": 1048576, | |
| "pad_token": "[PAD]", | |
| "tokenizer_class": "TikTokenTokenizer", | |
| "unk_token": "[UNK]", | |
| "chat_template": "{{ '<|cag_truth|>' }}{% for message in messages %}{% if message['role'] == 'system' %}<|im_system|>system<|im_middle|>{{ message['content'] }}<|im_end|>{% elif message['role'] == 'user' %}<|im_user|>user<|im_middle|>{{ message['content'] }}<|im_end|>{% elif message['role'] == 'assistant' %}<|im_assistant|>assistant<|im_middle|>{{ message['content'] }}<|im_end|>{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_assistant|>assistant<|im_middle|>{% endif %}" | |
| } |