Nock Coder

nock-coder-1.5b-GGUF

The 1 GB build of Nock-AI/nock-coder-1.5b: 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

50 short coding prompts, greedy decoding, no system prompt passed. Base model and v1 were measured on the 4 bit file with Ollama; v2 was measured in full precision on an earlier training run of the same recipe (same data and settings), and this 4 bit file will be re-measured with the same harness.

Base model Nock Coder v1 Nock Coder v2
Words per answer 184 48 54
Words outside the code 133 17 16
Answers that start with code 1 of 50 27 of 50 50 of 50
Answers with no code at all 0 of 50 12 of 50 0 of 50

Every raw answer: https://nockai.dev/evaluation/. HumanEval and Solidity compile results are not published yet.

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
170
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