Instructions to use arunmcops/Param-1-5B-GGUF 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 arunmcops/Param-1-5B-GGUF 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 arunmcops/Param-1-5B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf arunmcops/Param-1-5B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf arunmcops/Param-1-5B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf arunmcops/Param-1-5B-GGUF: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 arunmcops/Param-1-5B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf arunmcops/Param-1-5B-GGUF: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 arunmcops/Param-1-5B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf arunmcops/Param-1-5B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/arunmcops/Param-1-5B-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use arunmcops/Param-1-5B-GGUF with Ollama:
ollama run hf.co/arunmcops/Param-1-5B-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use arunmcops/Param-1-5B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf arunmcops/Param-1-5B-GGUF: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": "arunmcops/Param-1-5B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use arunmcops/Param-1-5B-GGUF with Docker Model Runner:
docker model run hf.co/arunmcops/Param-1-5B-GGUF:Q4_K_M
- Lemonade
How to use arunmcops/Param-1-5B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull arunmcops/Param-1-5B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Param-1-5B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use arunmcops/Param-1-5B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf arunmcops/Param-1-5B-GGUF: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 arunmcops/Param-1-5B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use arunmcops/Param-1-5B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf arunmcops/Param-1-5B-GGUF: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 "arunmcops/Param-1-5B-GGUF: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"
Param-1 5B - GGUF
General Purpose - Bilingual (Math & Code enhanced) | BharatGenAI | Hindi + English
Param-1-5B is BharatGenAI's 5 billion parameter dense bilingual model for Hindi and English, pretrained on 6.61 trillion tokens with enhanced mathematical reasoning and code understanding. Extends the Param-1 family as a strong foundation for downstream tasks.
Available Quantizations
| Quantization | File | Size | Description |
|---|---|---|---|
| F16 | Param-1-5B-F16.gguf |
~10.4 GB | Full float 16, near-lossless, GPU recommended |
| Q2_K | Param-1-5B-Q2_K.gguf |
~2.3 GB | 2-bit, smallest, significant quality loss |
| Q3_K_M | Param-1-5B-Q3_K_M.gguf |
~2.8 GB | 3-bit medium, moderate quality |
| Q4_K_M | Param-1-5B-Q4_K_M.gguf |
~3.3 GB | 4-bit medium - recommended for most users |
| Q5_K_M | Param-1-5B-Q5_K_M.gguf |
~3.8 GB | 5-bit medium, great quality |
| Q6_K | Param-1-5B-Q6_K.gguf |
~4.3 GB | 6-bit, excellent quality |
| Q8_0 | Param-1-5B-Q8_0.gguf |
~5.5 GB | 8-bit, best quality/size balance |
Not sure which to pick?
- Q4_K_M for everyday use on CPU/GPU
- Q8_0 for best quality on GPU with >= 6 GB VRAM
- F16/BF16 for full precision research use
Use Cases
- Hindi and English text generation
- Mathematical problem solving
- Code understanding and generation
- Bilingual reasoning and QA
- Foundation for fine-tuning domain models
Model Details
| Property | Value |
|---|---|
| Architecture | LLaMA (Dense Decoder-only Transformer) |
| Parameters | ~5B |
| Hidden Size | 4096 |
| Intermediate Size | 14336 |
| Layers | 16 |
| Attention Heads | 32 (8 KV heads, GQA) |
| Context Length | 4096 tokens |
| Activation | SiLU |
| Positional Encoding | RoPE |
| Precision | BF16 (original) |
| Languages | Hindi, English |
| License | BharatGen Non-Commercial |
Training
Pretrained from scratch on 6.61 trillion tokens:
| Data Category | Tokens |
|---|---|
| English Natural Language | 3.6T |
| Hindi Natural Language | 2.77T |
| Math (40% of STEM split) | ~95B |
| Code (60% of STEM split) | ~143B |
Compared to Param-1-2.9B, the 5B model includes explicit Math and Code datasets for enhanced mathematical reasoning and code understanding/generation.
- Framework: NVIDIA NeMo
- Hardware: 1024x NVIDIA H100 GPUs (Yotta Shakti Cloud)
Benchmarks
| Task | Param-1-5B (PT) |
|---|---|
| ARC Challenge | 55.1 (few-shot) |
| ARC Easy | 75.6 (few-shot) |
| HellaSwag (EN) | 76.0 (few-shot) |
| HellaSwag (HI) | 44.6 (few-shot) |
| MMLU (EN) | 50.8 (few-shot) |
| MMLU (HI) | 39.1 (few-shot) |
| TriviaQA | 48.2 |
| TruthfulQA Gen | 32.9 |
| PIQA | 79.6 |
| BoolQ | 72.7 |
Note: This is a pretrained base model. For best results in chat or instruction-following, fine-tune on your target task.
Original Model
Source: bharatgenai/Param-1-5B
Quick Start
llama.cpp
# Windows
winget install llama.cpp
# Run directly from Hugging Face
llama-cli -hf arunmcops/Param-1-5B-GGUF:Param-1-5B-Q4_K_M.gguf
# OpenAI-compatible server
llama-server -hf arunmcops/Param-1-5B-GGUF:Param-1-5B-Q4_K_M.gguf --port 8080
Ollama
ollama run hf.co/arunmcops/Param-1-5B-GGUF:Param-1-5B-Q4_K_M.gguf
LM Studio / Jan
Search arunmcops/Param-1-5B-GGUF in the model browser - GGUF files appear automatically.
Python (llama-cpp-python)
from llama_cpp import Llama
llm = Llama.from_pretrained(
repo_id="arunmcops/Param-1-5B-GGUF",
filename="Param-1-5B-Q4_K_M.gguf",
)
response = llm.create_chat_completion(
messages=[{"role": "user", "content": "Namaste! Aap kaun hain?"}]
)
print(response["choices"][0]["message"]["content"])
About BharatGenAI
BharatGenAI builds open-source language models for India - bilingual (Hindi + English) and domain-specialized for agriculture, healthcare, legal, and general-purpose use.
- GitHub: BharatGenAI
- HuggingFace: arunmcops
License
Apache 2.0 - free for personal, research, and commercial use.
- Downloads last month
- 310
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit