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

Models

View all →

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