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
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 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:9931/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:9931/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:9931/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/source.json from Ninnix96/Qwengram-2B: direct link, hf CLI and curl.
- Browser
- Download file 1.38 kB
-
https://huggingface.co/Ninnix96/Qwengram-2B/resolve/main/runtime/source.json
- Command line
-
hf download hf://Ninnix96/Qwengram-2B/runtime/source.json
-
curl -L -o source.json https://huggingface.co/Ninnix96/Qwengram-2B/resolve/main/runtime/source.json
1.38 kB
| { | |
| "repo": "Qwen/Qwen3.5-2B", | |
| "revision": "15852e8c16360a2fea060d615a32b45270f8a8fc", | |
| "files": { | |
| "LICENSE": { | |
| "sha256": "bbedc3fda3305820b977265f01b8619d87570a6739de3a5582c3464840f1e57a", | |
| "bytes": 11544 | |
| }, | |
| "chat_template.jinja": { | |
| "sha256": "273d8e0e683b885071fb17e08d71e5f2a5ddfb5309756181681de4f5a1822d80", | |
| "bytes": 7755 | |
| }, | |
| "config.json": { | |
| "sha256": "ed1c1723241f23f7f4e23430759cbd7dcfb4103cbdfe052bfe7626b57c2615b4", | |
| "bytes": 2908 | |
| }, | |
| "merges.txt": { | |
| "sha256": "a9d356d7bdf1ef4949e3e748e95b8e10ad9d4e2e838eddc38a0a7b6b94d1db8d", | |
| "bytes": 3353259 | |
| }, | |
| "model.safetensors-00001-of-00001.safetensors": { | |
| "sha256": "aa33250c4fc64891ddfaba3a314fd9542ea371843c387178b425fbcc5ed680b1", | |
| "bytes": 4548221488 | |
| }, | |
| "model.safetensors.index.json": { | |
| "sha256": "aca8afed9da75b0f050b408d270766fd77627f1af401e240f61c3b47d0db02f9", | |
| "bytes": 64460 | |
| }, | |
| "tokenizer.json": { | |
| "sha256": "5f9e4d4901a92b997e463c1f46055088b6cca5ca61a6522d1b9f64c4bb81cb42", | |
| "bytes": 12807982 | |
| }, | |
| "tokenizer_config.json": { | |
| "sha256": "49e2b6e395f959f077f1e992b338919c0d4a9732fc6e613995e06557f843500c", | |
| "bytes": 16709 | |
| }, | |
| "vocab.json": { | |
| "sha256": "ce99b4cb2983d118806ce0a8b777a35b093e2000a503ebde25853284c9dfa003", | |
| "bytes": 6722759 | |
| } | |
| } | |
| } | |