Instructions to use Ninnix96/Qwengram-2B 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 Ninnix96/Qwengram-2B 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 Ninnix96/Qwengram-2B:Q4_K_M # Run inference directly in the terminal: llama cli -hf Ninnix96/Qwengram-2B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Ninnix96/Qwengram-2B:Q4_K_M # Run inference directly in the terminal: llama cli -hf Ninnix96/Qwengram-2B:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Ninnix96/Qwengram-2B:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Ninnix96/Qwengram-2B:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Ninnix96/Qwengram-2B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Ninnix96/Qwengram-2B:Q4_K_M
Use Docker
docker model run hf.co/Ninnix96/Qwengram-2B:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use Ninnix96/Qwengram-2B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Ninnix96/Qwengram-2B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Ninnix96/Qwengram-2B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Ninnix96/Qwengram-2B:Q4_K_M
- Ollama
How to use Ninnix96/Qwengram-2B with Ollama:
ollama run hf.co/Ninnix96/Qwengram-2B:Q4_K_M
- Unsloth Desktop
- Pi
How to use Ninnix96/Qwengram-2B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Ninnix96/Qwengram-2B:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Ninnix96/Qwengram-2B:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Ninnix96/Qwengram-2B with Docker Model Runner:
docker model run hf.co/Ninnix96/Qwengram-2B:Q4_K_M
- Lemonade
How to use Ninnix96/Qwengram-2B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Ninnix96/Qwengram-2B:Q4_K_M
Run and chat with the model
lemonade run user.Qwengram-2B-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Ninnix96/Qwengram-2B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Ninnix96/Qwengram-2B:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default Ninnix96/Qwengram-2B:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Ninnix96/Qwengram-2B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Ninnix96/Qwengram-2B:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "Ninnix96/Qwengram-2B:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Download runtime/verification.json from Ninnix96/Qwengram-2B: direct link, hf CLI and curl.
- Browser
- Download file 2.12 kB
-
https://huggingface.co/Ninnix96/Qwengram-2B/resolve/main/runtime/verification.json
- Command line
-
hf download hf://Ninnix96/Qwengram-2B/runtime/verification.json
-
curl -L -o verification.json https://huggingface.co/Ninnix96/Qwengram-2B/resolve/main/runtime/verification.json
2.12 kB
| { | |
| "BF16": { | |
| "stock_sha256": "95587d529b34d3ccdcb5083ff4797eb3417675c9df62c0ecd888231b34ec2445", | |
| "qwengram_sha256": "be38a27c88278e6a337d4e55e39265c58a15c65c547c4578badf2d167a4e5cfa", | |
| "stock_bytes": 3897387424, | |
| "qwengram_bytes": 3981284192, | |
| "exact_backbone_tensors": 335, | |
| "exact_tokenizer_fields": 9, | |
| "exact_fp32_extension_tensors": 11, | |
| "backbone_types": { | |
| "BF16": 195, | |
| "F32": 140 | |
| } | |
| }, | |
| "Q8_0": { | |
| "stock_sha256": "b3ac4918610d8ec25949da1e36e31b3034e9ff1a4f2b807af8fb9e4881101a1f", | |
| "qwengram_sha256": "b562dbcfac383a61808f8fe8df3af17666366ab0b6ad9cda4734cfe88fde2e50", | |
| "stock_bytes": 2076674464, | |
| "qwengram_bytes": 2160571232, | |
| "exact_backbone_tensors": 335, | |
| "exact_tokenizer_fields": 9, | |
| "exact_fp32_extension_tensors": 11, | |
| "backbone_types": { | |
| "F32": 140, | |
| "Q8_0": 195 | |
| } | |
| }, | |
| "Q6_K": { | |
| "stock_sha256": "7cc50322b2501467353b8bf83aa2ad5c86960a15e6a0541a1a6e4d846dd38d86", | |
| "qwengram_sha256": "3d5bc06cf9be0fadac695ed972bb40f75c2a36ee6500d78f3e48f03ad066e378", | |
| "stock_bytes": 1606323616, | |
| "qwengram_bytes": 1690220384, | |
| "exact_backbone_tensors": 335, | |
| "exact_tokenizer_fields": 9, | |
| "exact_fp32_extension_tensors": 11, | |
| "backbone_types": { | |
| "F32": 140, | |
| "Q6_K": 195 | |
| } | |
| }, | |
| "Q4_K_M": { | |
| "stock_sha256": "bf4162e5a837986f4372c508182c7e533b28cc3ea9083d2e38bf8d349d75d0dd", | |
| "qwengram_sha256": "5316a20fe78b4fe7f86febde3c6b4d169693e88ca3c8b3407c64e79854b7af1a", | |
| "stock_bytes": 1312164256, | |
| "qwengram_bytes": 1396061024, | |
| "exact_backbone_tensors": 335, | |
| "exact_tokenizer_fields": 9, | |
| "exact_fp32_extension_tensors": 11, | |
| "backbone_types": { | |
| "F32": 140, | |
| "Q6_K": 27, | |
| "Q4_K": 168 | |
| } | |
| }, | |
| "runtime": { | |
| "base_commit": "068fcb42662453bec15298ba6bd59f552190a468", | |
| "qwen35_cpp_sha256": "b12206494548471090c56d6361e93f458725251b4c7609a338711eeaa2abfbde", | |
| "libllama_sha256": "04575038c0d4b89978bc993d497767f480919f5b158dd231bc18970a8d3f3aa5", | |
| "quantizer_sha256": "c534d7131814907cdfdfdea578cf66b7c812a1e01077a184484b7d688aa18264" | |
| } | |
| } | |