Instructions to use diggajupadhyay/sathi-1.7b-ne with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use diggajupadhyay/sathi-1.7b-ne with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="diggajupadhyay/sathi-1.7b-ne") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("diggajupadhyay/sathi-1.7b-ne", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use diggajupadhyay/sathi-1.7b-ne 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 diggajupadhyay/sathi-1.7b-ne:Q4_K_M # Run inference directly in the terminal: llama cli -hf diggajupadhyay/sathi-1.7b-ne:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf diggajupadhyay/sathi-1.7b-ne:Q4_K_M # Run inference directly in the terminal: llama cli -hf diggajupadhyay/sathi-1.7b-ne: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 diggajupadhyay/sathi-1.7b-ne:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf diggajupadhyay/sathi-1.7b-ne: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 diggajupadhyay/sathi-1.7b-ne:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf diggajupadhyay/sathi-1.7b-ne:Q4_K_M
Use Docker
docker model run hf.co/diggajupadhyay/sathi-1.7b-ne:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use diggajupadhyay/sathi-1.7b-ne with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "diggajupadhyay/sathi-1.7b-ne" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "diggajupadhyay/sathi-1.7b-ne", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/diggajupadhyay/sathi-1.7b-ne:Q4_K_M
- SGLang
How to use diggajupadhyay/sathi-1.7b-ne with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "diggajupadhyay/sathi-1.7b-ne" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "diggajupadhyay/sathi-1.7b-ne", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "diggajupadhyay/sathi-1.7b-ne" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "diggajupadhyay/sathi-1.7b-ne", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use diggajupadhyay/sathi-1.7b-ne with Ollama:
ollama run hf.co/diggajupadhyay/sathi-1.7b-ne:Q4_K_M
- Unsloth Desktop
- Pi
How to use diggajupadhyay/sathi-1.7b-ne with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf diggajupadhyay/sathi-1.7b-ne: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": "diggajupadhyay/sathi-1.7b-ne:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use diggajupadhyay/sathi-1.7b-ne with Docker Model Runner:
docker model run hf.co/diggajupadhyay/sathi-1.7b-ne:Q4_K_M
- Lemonade
How to use diggajupadhyay/sathi-1.7b-ne with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull diggajupadhyay/sathi-1.7b-ne:Q4_K_M
Run and chat with the model
lemonade run user.sathi-1.7b-ne-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use diggajupadhyay/sathi-1.7b-ne with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf diggajupadhyay/sathi-1.7b-ne: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 diggajupadhyay/sathi-1.7b-ne:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use diggajupadhyay/sathi-1.7b-ne with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf diggajupadhyay/sathi-1.7b-ne: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 "diggajupadhyay/sathi-1.7b-ne: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"
Sathi (เคธเคพเคฅเฅ) โ a Nepali-first small language model
Sathi is a 1.7B assistant fine-tuned for Nepali: the everyday language, the Bikram Sambat calendar, lakh/crore counting, and the facts of Nepal. It runs on a laptop CPU or a low-end GPU, quantised to about 1.1 GB.
It exists because general models treat Nepali as a rounding error: they slide into Hindi, invent Bikram Sambat dates, and convert เคฒเคพเค into million.
Files
| file | size | use |
|---|---|---|
sathi-q4_k_m.gguf |
~1.1 GB | llama.cpp, Ollama, LM Studio โ the one most people want |
Modelfile |
tiny | ollama create sathi -f Modelfile |
An f16 GGUF (~3.4 GB, for re-quantising at other sizes) can be added with
python scripts/publish_hf.py --include-f16; it is left out by default because
almost nobody needs it.
Use it
# Ollama
ollama create sathi -f Modelfile # Modelfile is included in this repo
ollama run sathi "เคเคเคเฅ เคฎเคฟเคคเคฟ เคตเคฟเคเฅเคฐเคฎ เคธเคฎเฅเคตเคคเคฎเคพ เคเฅ เคนเฅ?"
# llama.cpp
llama-cli -m sathi-q4_k_m.gguf -p "เคจเฅเคชเคพเคฒเคเฅ เคฐเคพเคเคงเคพเคจเฅ เคเคนเคพเค เคนเฅ?"
from llama_cpp import Llama
llm = Llama(model_path="sathi-q4_k_m.gguf", n_ctx=4096)
print(llm.create_chat_completion(
messages=[{"role": "user", "content": "k cha halkhabar?"}]
)["choices"][0]["message"]["content"])
With the Sathi CLI, which adds the tools, the memory and the Nepal-specific data this model was trained to use:
hf download diggajupadhyay/sathi-1.7b-ne sathi-q4_k_m.gguf --local-dir models/
sathi --backend local -m models/sathi-q4_k_m.gguf "เคเคเคเฅ เคฎเคฟเคคเคฟ เคเฅ เคนเฅ?"
How it was trained
- Base: Qwen/Qwen3-1.7B (Apache-2.0), chosen for permissive licence, Devanagari coverage, tool-calling and size.
- Method: QLoRA (4-bit NF4 base, rank 32, all attention and MLP projections), 1 epoch, sequence length 1024, on a single 8 GB consumer GPU.
- Loss is masked to assistant turns only.
- Format: ChatML, with tool calls as
<tool_call>{"name": ..., "arguments": ...}</tool_call>.
Data
Public Nepali instruction data from the Hub:
saillab/alpaca-nepali-cleaned, Someman/alpaca-nepali,
NepaliAI/Nepali-Health-QA, Chhabi/Nepali-Agriculture-QA,
ashokpoudel/English-Nepali-Translation-Instruction-Dataset,
iamTangsang/Nepali-to-English-Translation-Dataset โ each under its own
licence, listed in the training repository's DATA.md.
Generated locally, correct by construction, from the assistant's own implementations: Bikram Sambat conversions, Nepali numerals and number words, arithmetic word problems, tool-call and memory conversations, romanisedโ Devanagari pairs, and examples of admitting ignorance.
Hindi text is filtered out of every source with a lexical Nepali/Hindi discriminator, because "Nepali" web corpora carry Hindi and that is how a Nepali model learns to answer with "เคนเฅ".
No scraped social media. Nothing from Reddit or other platforms whose terms forbid it is in this model.
Evaluation
Sixteen cases a Nepali assistant has to get right, scored at temperature 0 through the Sathi runtime (tools and memory on), with strict checking: numbers must match as whole tokens, and repeating the question back never counts as an answer.
| capability | qwen3:1.7b (base) | llama3.2:3b | Sathi |
|---|---|---|---|
| language (Nepali not Hindi) | 0/3 | 1/3 | 1/3 |
| Bikram Sambat calendar | 1/2 | 1/2 | 1/2 |
| numerals (lakh/crore) | 0/2 | 0/2 | 0/2 |
| Nepal knowledge | 2/6 | 4/6 | 3/6 |
| reasoning | 1/2 | 1/2 | 1/2 |
| honesty | 0/1 | 0/1 | 0/1 |
| overall | 4/16 | 7/16 | 6/16 |
Read that honestly: Sathi improves on the base it was trained from, and it is not yet better overall than Llama-3.2-3B, a model twice its size with no Nepali-specific training at all. This release is a first checkpoint. The stage that installs a language โ continued pretraining on a large Nepali corpus โ has not been run yet; only instruction tuning has. That is the next step, and it is where the real gains are.
The benchmark is small and readable by design; it catches the failures that make an assistant useless to a Nepali speaker rather than claiming broad coverage.
Limitations
- 1.7B parameters. It will be confidently wrong about specifics; check anything that matters, especially health, legal and financial questions.
- Nepali is its focus, not Nepal's other languages (Maithili, Bhojpuri, Tharu, Tamang, Newar, Magar and the rest) โ those need their own data.
- Dates, arithmetic and Nepal reference facts are reliable only through the tools in the Sathi runtime; the raw model can still get them wrong.
- Trained on public internet data, so it carries the biases of that data.
Licence
Apache-2.0, following the base model. The training data sources keep their own
licences; see DATA.md in the training repository before redistributing
anything derived from them.
- Downloads last month
- 37
4-bit