File size: 3,920 Bytes
a434a89
d61d232
 
 
 
a434a89
d61d232
 
6f8616c
 
 
d61d232
 
 
 
 
 
 
 
 
 
 
 
6f8616c
d61d232
 
 
 
 
 
6f8616c
d61d232
6f8616c
 
 
 
 
 
 
 
 
 
d61d232
a434a89
d61d232
 
 
6f8616c
 
 
d61d232
6f8616c
d61d232
 
 
6f8616c
d61d232
6f8616c
d61d232
6f8616c
d61d232
6f8616c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d61d232
 
6f8616c
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
---
language:
- en
- code
license: apache-2.0
tags:
- code
- reasoning
- gguf
- ollama
- llama-cpp
- code-generation
- instruction-tuned
- nim-ai
- programming
pipeline_tag: text-generation
inference: false
---

# NIM 3 - Coder - 30B

<p align="center">
  <b>Developed by NIM-AI</b><br>
  <i>A Sparse Mixture-of-Experts (MoE) Reasoning Engine for Production Software Engineering</i>
</p>

---

## Overview

**NIM 3 - Coder - 30B** is NIM-AI's high-efficiency coding and reasoning model, packaged in optimized **GGUF format** for fast local execution. Built on a **Sparse Mixture-of-Experts (MoE)** architecture, the model routes token predictions dynamically through dedicated expert networks, activating approximately **3 billion parameters per token** out of its total 30.5-billion-parameter pool.

This provides the architectural reasoning and comprehension of a 30B-class model while preserving the execution speed, low latency, and memory footprint of a lightweight system.

NIM 3 - Coder is trained with an explicit **Chain-of-Thought (CoT)** objective. Prior to synthesizing code, the engine outputs deliberative `<think>...</think>` traces to systematically evaluate:
- Concurrency patterns, async runtimes, and thread safety
- Boundary conditions, resource allocation, and edge cases
- Algorithmic complexity and execution bottlenecks
- Clean, idiomatic implementation patterns across production stacks

---

## Technical Specifications

| Parameter | Specification |
| :--- | :--- |
| **Total Parameters** | 30.5 Billion |
| **Active Parameters / Token** | ~3.0 Billion (Sparse Dynamic Routing) |
| **Format** | GGUF (Ready for Ollama, llama.cpp, and LM Studio) |
| **Context Window** | 4,096 tokens (Native, scalable via RoPE) |
| **Primary Languages** | Rust, Python, Go, TypeScript/JavaScript, C++, SQL, Bash |
| **Specialization** | Systems Architecture, Concurrency, Algorithmic Optimization, Backend Pipelines |

---

## Quickstart Guide

### 1. Run Instantly with Ollama

You can pull and launch NIM 3 - Coder directly using Ollama without manual file downloads:

```bash
ollama run hf.co/NIM-AI/NIM-3-Coder-30B:Q4_K_M

To create a custom local alias in Ollama, create a file named Modelfile:
FROM ./Qwen3-30B-A3B.Q4_K_M.gguf

TEMPLATE """<|im_start|>system
{{ .System }}<|im_end|>
<|im_start|>user
{{ .Prompt }}<|im_end|>
<|im_start|>assistant
"""

PARAMETER stop "<|im_start|>"
PARAMETER stop "<|im_end|>"
PARAMETER temperature 0.6

Then build and launch:
ollama create nim-3-coder -f Modelfile
ollama run nim-3-coder

Run an OpenAI-compatible API server on your local machine or cloud GPU:
./llama-server \
    -m Qwen3-30B-A3B.Q4_K_M.gguf \
    --port 8000 \
    --ctx-size 4096 \
    --n-gpu-layers 99 \
    --host 0.0.0.0

Desktop Inference via LM Studio
Open LM Studio.
Search for NIM-AI/NIM-3-Coder-30B in the search bar.
Download the Q4_K_M file and load it into the local chat interface.

Prompt Template
NIM 3 - Coder utilizes the standard ChatML format. Maintain the system prompt to trigger reasoning blocks:
<|im_start|>system
You are NIM 3 - Coder, a world-class software engineer. Always think step-by-step inside <think>...</think> tags before writing clean, high-performance code.<|im_end|>
<|im_start|>user
{prompt}<|im_end|>
<|im_start|>assistant
<think>
{reasoning}
</think>

{solution}
<|im_end|>

Usage Guidelines & Notes
Thinking Output: The model generates reasoning traces inside <think>...</think>. If integrating with an IDE agent or terminal pipe, ensure your interface supports streaming or extracts the content past </think>.
Hardware Sizing: Because the full 30.5B expert weights reside in memory, running the Q4_K_M binary requires ~19 GB of memory headroom (GPU VRAM or shared unified memory on Apple Silicon).
Organization & Contact
Engineered and maintained by NIM-AI. For enterprise configurations, updates, and ecosystem tooling, visit the NIM-AI Organization Hub.