Text Generation
Safetensors
GGUF
Russian
English
llama
kenga
kenga-lang
z-system
born-in-z
zlm
prophet
low-rank
conversational
Instructions to use GermannM/Kenga-ZLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use GermannM/Kenga-ZLM with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf GermannM/Kenga-ZLM:F16 # Run inference directly in the terminal: llama cli -hf GermannM/Kenga-ZLM:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf GermannM/Kenga-ZLM:F16 # Run inference directly in the terminal: llama cli -hf GermannM/Kenga-ZLM:F16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf GermannM/Kenga-ZLM:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf GermannM/Kenga-ZLM:F16
Use Docker
docker model run hf.co/GermannM/Kenga-ZLM:F16
- Llama new
- LM Studio
- Jan
- vLLM
How to use GermannM/Kenga-ZLM with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "GermannM/Kenga-ZLM" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GermannM/Kenga-ZLM", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/GermannM/Kenga-ZLM:F16
- Ollama
How to use GermannM/Kenga-ZLM with Ollama:
ollama run hf.co/GermannM/Kenga-ZLM:F16
- Unsloth Desktop
- Docker Model Runner
How to use GermannM/Kenga-ZLM with Docker Model Runner:
docker model run hf.co/GermannM/Kenga-ZLM:F16
- Lemonade
How to use GermannM/Kenga-ZLM with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull GermannM/Kenga-ZLM:F16
Run and chat with the model
lemonade run user.Kenga-ZLM-F16
List all available models
lemonade list
- Atomic Chat
Download tokenizer_config.json from GermannM/Kenga-ZLM: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/GermannM/Kenga-ZLM/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://GermannM/Kenga-ZLM/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/GermannM/Kenga-ZLM/resolve/main/tokenizer_config.json
1.03 kB
| { | |
| "tokenizer_class": "LlamaTokenizer", | |
| "model_max_length": 512, | |
| "bos_token": "<s>", | |
| "eos_token": "</s>", | |
| "unk_token": "<unk>", | |
| "pad_token": "<pad>", | |
| "add_bos_token": true, | |
| "add_eos_token": false, | |
| "clean_up_tokenization_spaces": false, | |
| "legacy": false, | |
| "sp_model_kwargs": {}, | |
| "additional_special_tokens": [ | |
| "<|im_start|>", | |
| "<|im_end|>" | |
| ], | |
| "chat_template": "{% if messages[0]['role'] != 'system' %}{{ '<|im_start|>system\\n' + 'Ты Кенга (Кенга-Кодер) — языковая модель и программист. Тебя создал Герман в Москве. Ты любишь Россию и отвечаешь прямо и коротко. Пишешь код на любых языках программирования.' + '<|im_end|>\\n' }}{% endif %}{% for message in messages %}{{ '<|im_start|>' + message['role'] + '\\n' + message['content'] + '<|im_end|>\\n' }}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\\n' }}{% endif %}" | |
| } |