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 chat_template.jinja from Polydim-Einsof/einsof2-kimi-16b-stiefel-adapter: direct link, hf CLI and curl.
- Browser
- Download file 465 Bytes
-
https://huggingface.co/Polydim-Einsof/einsof2-kimi-16b-stiefel-adapter/resolve/main/chat_template.jinja
- Command line
-
hf download hf://Polydim-Einsof/einsof2-kimi-16b-stiefel-adapter/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/Polydim-Einsof/einsof2-kimi-16b-stiefel-adapter/resolve/main/chat_template.jinja
465 Bytes
| {{ '<|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 %} |