Nock Coder

nock-coder-1.5b-GGUF

The 1 GB build of Nock Coder v2.1 (Nock-AI/nock-coder-1.5b-v2.1): an open coding model from NockAI that answers with the code first. One 986 MB file, Q4_K_M, for Ollama and llama.cpp on Windows, macOS and Linux. No GPU, account or API key needed.

Run it

ollama run hf.co/Nock-AI/nock-coder-1.5b-GGUF

Ask once, without starting a chat:

ollama run hf.co/Nock-AI/nock-coder-1.5b-GGUF "Reverse a string in Python"

Or download the files and use the included Modelfile:

hf download Nock-AI/nock-coder-1.5b-GGUF --local-dir nock-coder
cd nock-coder
ollama create nock-coder -f Modelfile
ollama run nock-coder

With llama.cpp:

llama-cli -hf Nock-AI/nock-coder-1.5b-GGUF -cnv

The file

File nock-coder-1.5b-Q4_K_M.gguf, 986 MB
Quantization Q4_K_M: most weights in 4 bits, a few tensors in 6 bits, 5.1 bits per weight on average
Full precision size 3.09 GB in FP16
Memory in use about 2 GB, so an 8 GB laptop has room to spare

Results

Measured on this exact file with Ollama: temperature 0, fixed seed, each model with its own default system prompt, on a Kaggle T4 (October 11, 2026).

Base model Nock Coder v2 Nock Coder v2.1 (this file)
HumanEval, problems passed (of 164) 112 104 118
Answers that start with code (of 50) 1 50 50
Answers with no code at all (of 50) 0 0 0
Words per answer 185 51 50
Solidity tasks that compile with solc (of 15) 8 11 10

v2.1 trains the v2 data more gently (1 epoch at learning rate 1e-4 instead of 2 epochs at 2e-4) and passes 6 more HumanEval problems than the base model while keeping the code first habit. The v2 file is still in this repo's history. Compiling is a low bar: it says nothing about whether a contract is correct or safe.

Every raw answer: https://nockai.dev/evaluation/

Limitations

  • This is a 1.5B model. It makes mistakes, and its code can be wrong or insecure. Review it before you run it.
  • Smart contract output is not audited. Have contracts reviewed by a qualified person before you deploy them.
  • NockAI is an independent project and is not affiliated with Robinhood, Alibaba or Nockchain.

Training details are in the full model card.

Downloads last month
185
GGUF
Model size
2B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Nock-AI/nock-coder-1.5b-GGUF

Quantized
(1)
this model