Instructions to use WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF", filename="IBM-Agentic-Nvidia-Q4_K_M.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use WithinUsAI/Nvidia.Agentic.Coder-4B-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 WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf WithinUsAI/Nvidia.Agentic.Coder-4B-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 WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf WithinUsAI/Nvidia.Agentic.Coder-4B-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 WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf WithinUsAI/Nvidia.Agentic.Coder-4B-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 WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF with Ollama:
ollama run hf.co/WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF:Q4_K_M
- Unsloth Studio
How to use WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF to start chatting
- Pi
How to use WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use WithinUsAI/Nvidia.Agentic.Coder-4B-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 WithinUsAI/Nvidia.Agentic.Coder-4B-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 WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF with Docker Model Runner:
docker model run hf.co/WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF:Q4_K_M
- Lemonade
How to use WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Nvidia.Agentic.Coder-4B-GGUF-Q4_K_M
List all available models
lemonade list
Guy Edward DuGan II commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,4 +11,170 @@ datasets:
|
|
| 11 |
- nvidia/Nemotron-RL-instruction_following
|
| 12 |
- nvidia/Nemotron-RL-agent-calendar_scheduling
|
| 13 |
- nvidia/Nemotron-RL-instruction_following-structured_outputs
|
| 14 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
- nvidia/Nemotron-RL-instruction_following
|
| 12 |
- nvidia/Nemotron-RL-agent-calendar_scheduling
|
| 13 |
- nvidia/Nemotron-RL-instruction_following-structured_outputs
|
| 14 |
+
---
|
| 15 |
+
Nvidia.Agentic.Coder-4B-GGUF
|
| 16 |
+
|
| 17 |
+
📌 Model Overview
|
| 18 |
+
|
| 19 |
+
Model Name: WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF
|
| 20 |
+
Organization: Within Us AI
|
| 21 |
+
Model Type: Code LLM (Agentic, Instruction-Following)
|
| 22 |
+
Parameter Size: 4B
|
| 23 |
+
Format: GGUF (quantized for local inference)
|
| 24 |
+
Primary Use: Agentic coding, tool-using workflows, software engineering reasoning
|
| 25 |
+
|
| 26 |
+
This model is part of the Within Us AI ecosystem focused on building agentic, reasoning-driven coding systems designed to think, act, and verify like real engineers. 
|
| 27 |
+
|
| 28 |
+
⸻
|
| 29 |
+
|
| 30 |
+
🧬 Architecture & Lineage
|
| 31 |
+
|
| 32 |
+
* Base Family: NVIDIA Nemotron-style 4B class models (inferred lineage from naming + ecosystem alignment)
|
| 33 |
+
* Format Conversion: GGUF quantization for efficient local inference
|
| 34 |
+
* Training Approach:
|
| 35 |
+
* Instruction-tuned for coding tasks
|
| 36 |
+
* Agentic workflow emphasis (multi-step reasoning, tool usage)
|
| 37 |
+
* Likely merged / fine-tuned using Within Us AI proprietary pipelines
|
| 38 |
+
|
| 39 |
+
Related ecosystem models include:
|
| 40 |
+
|
| 41 |
+
* NVIDIA-Nemotron-3-Nano-4B
|
| 42 |
+
* Other 4B agentic coders and merges in the same class 
|
| 43 |
+
|
| 44 |
+
⸻
|
| 45 |
+
|
| 46 |
+
⚙️ Key Capabilities
|
| 47 |
+
|
| 48 |
+
🧑💻 Code Intelligence
|
| 49 |
+
|
| 50 |
+
* Multi-language code generation
|
| 51 |
+
* Bug fixing and refactoring
|
| 52 |
+
* Structured output generation
|
| 53 |
+
|
| 54 |
+
🤖 Agentic Behavior
|
| 55 |
+
|
| 56 |
+
* Step-by-step reasoning
|
| 57 |
+
* Task decomposition
|
| 58 |
+
* Tool-calling alignment (design goal)
|
| 59 |
+
|
| 60 |
+
🧠 Reasoning Focus
|
| 61 |
+
|
| 62 |
+
* Instruction-following with logical chaining
|
| 63 |
+
* Designed for evaluation-style datasets (tests-as-truth philosophy)
|
| 64 |
+
|
| 65 |
+
⸻
|
| 66 |
+
|
| 67 |
+
📦 GGUF Quantization
|
| 68 |
+
|
| 69 |
+
GGUF allows efficient local inference with tools like:
|
| 70 |
+
|
| 71 |
+
* llama.cpp
|
| 72 |
+
* LM Studio
|
| 73 |
+
* Ollama (GGUF-compatible builds)
|
| 74 |
+
|
| 75 |
+
Typical quantizations for 4B GGUF models include:
|
| 76 |
+
|
| 77 |
+
* Q2_K (~1.8GB)
|
| 78 |
+
* Q3_K (~2.0–2.3GB)
|
| 79 |
+
* Q4_K (~2.5GB, recommended balance) 
|
| 80 |
+
|
| 81 |
+
⸻
|
| 82 |
+
|
| 83 |
+
🚀 Intended Use
|
| 84 |
+
|
| 85 |
+
✅ Ideal Use Cases
|
| 86 |
+
|
| 87 |
+
* Local AI coding assistants
|
| 88 |
+
* Autonomous coding agents
|
| 89 |
+
* SWE-bench style evaluation
|
| 90 |
+
* Tool-augmented workflows
|
| 91 |
+
* Offline developer copilots
|
| 92 |
+
|
| 93 |
+
⚠️ Limitations
|
| 94 |
+
|
| 95 |
+
* Smaller 4B parameter size limits deep reasoning vs larger models
|
| 96 |
+
* Performance depends heavily on prompt structure
|
| 97 |
+
* Tool-use requires external orchestration (not built-in runtime)
|
| 98 |
+
|
| 99 |
+
⸻
|
| 100 |
+
|
| 101 |
+
🛠️ Usage Example (llama.cpp)
|
| 102 |
+
|
| 103 |
+
./main -m Nvidia.Agentic.Coder-4B.Q4_K.gguf \
|
| 104 |
+
-p "Write a Python function to parse JSON logs and extract errors." \
|
| 105 |
+
-n 512
|
| 106 |
+
|
| 107 |
+
⸻
|
| 108 |
+
|
| 109 |
+
🧪 Training Philosophy (Within Us AI)
|
| 110 |
+
|
| 111 |
+
Within Us AI focuses on:
|
| 112 |
+
|
| 113 |
+
* Agentic AI systems
|
| 114 |
+
* Test-driven training (tests-as-truth)
|
| 115 |
+
* Diff-first patching workflows
|
| 116 |
+
* Secure and auditable code generation
|
| 117 |
+
* Evaluation-first development pipelines 
|
| 118 |
+
|
| 119 |
+
⸻
|
| 120 |
+
|
| 121 |
+
📊 Evaluation
|
| 122 |
+
|
| 123 |
+
No formal benchmark results published yet.
|
| 124 |
+
|
| 125 |
+
Expected strengths:
|
| 126 |
+
|
| 127 |
+
* Strong instruction adherence
|
| 128 |
+
* Lightweight agentic reasoning
|
| 129 |
+
* Efficient local deployment
|
| 130 |
+
|
| 131 |
+
⸻
|
| 132 |
+
|
| 133 |
+
📚 Datasets & Training Sources
|
| 134 |
+
|
| 135 |
+
This model follows the Within Us AI methodology:
|
| 136 |
+
|
| 137 |
+
* Proprietary datasets created by Within Us AI
|
| 138 |
+
* May include third-party datasets for training (no ownership claimed)
|
| 139 |
+
* Emphasis on:
|
| 140 |
+
* Code reasoning traces
|
| 141 |
+
* Agentic workflows
|
| 142 |
+
* Evaluation-driven samples
|
| 143 |
+
|
| 144 |
+
⸻
|
| 145 |
+
|
| 146 |
+
📜 License
|
| 147 |
+
|
| 148 |
+
License Type: Custom / Other (Within Us AI License)
|
| 149 |
+
|
| 150 |
+
Terms:
|
| 151 |
+
|
| 152 |
+
* Within Us AI created the fine-tuning, merging, and training methodology
|
| 153 |
+
* Base model architecture originates from third-party LLM ecosystems (e.g., NVIDIA / Nemotron class)
|
| 154 |
+
* Third-party datasets may be used without claiming ownership
|
| 155 |
+
* Full credit and acknowledgment belong to original dataset and base model creators
|
| 156 |
+
|
| 157 |
+
⸻
|
| 158 |
+
|
| 159 |
+
🙏 Acknowledgements
|
| 160 |
+
|
| 161 |
+
Special thanks to:
|
| 162 |
+
|
| 163 |
+
* NVIDIA Nemotron ecosystem contributors
|
| 164 |
+
* Open-source GGUF tooling community
|
| 165 |
+
* Dataset creators across Hugging Face
|
| 166 |
+
* The broader open-source AI research community
|
| 167 |
+
|
| 168 |
+
⸻
|
| 169 |
+
|
| 170 |
+
🔗 Links
|
| 171 |
+
|
| 172 |
+
* Model: https://huggingface.co/WithinUsAI/Nvidia.Agentic.Coder-4B-GGUF
|
| 173 |
+
* Organization: https://huggingface.co/WithinUsAI
|
| 174 |
+
|
| 175 |
+
⸻
|
| 176 |
+
|
| 177 |
+
🧩 Closing Note
|
| 178 |
+
|
| 179 |
+
This model is a compact engineer in a bottle 🧪
|
| 180 |
+
Not the biggest brain in the room, but fast, focused, and built to act, not just
|