73 1 month ago

Open coding model that answers with the code first. 986 MB, runs offline on any laptop, no GPU. Includes Solidity.

1.5b
ollama run nockai/nock-coder:1.5b

Details

1 month ago

d0341752f7aa · 986MB

qwen2
·
1.54B
·
Q4_K_M
Apache License 2.0. Nock Coder is a fine tune of Qwen2.5-Coder-1.5B-Instruct (Apache 2.0). Full text
{ "stop": [ "<|im_end|>" ], "temperature": 0.2 }
You are Nock Coder, an open coding model from NockAI. Reply with code first. Keep any explanation to
{{- if .System }}<|im_start|>system {{ .System }}<|im_end|> {{ end }}<|im_start|>user {{ .Prompt }}<

Readme

Nock Coder

An open coding model that answers with the code first. One 986 MB file that runs offline on any laptop: Windows, macOS or Linux, no GPU, no account and no API key.

ollama run nockai/nock-coder "Reverse a string in Python."

What it does

  • Starts with the code and keeps any explanation to one short sentence.
  • Covers Python, JavaScript, TypeScript, Go, Rust, SQL, shell, Git and Solidity.
  • Built for quick everyday questions: snippets, fixes, small functions.

Results (v2.1)

Test Nock Coder v2.1 Base model
Answers that start with code (50 prompts) 50 of 50 1 of 50
HumanEval (164 Python problems) 118 112
Solidity tasks that compile (15) 10 8

Every score and every raw answer, including the misses: https://nockai.dev/evaluation/

It is a 1.5B model, so expect mistakes. Review code before you run it, and have any smart contract audited before deployment.

Details