Field Coder 3B

A small local coding model for Infinite, the free, open-source audiovisual workstation. Infinite's chat hands Field Coder small edits (a sound, a shader, a 3D shape, a change to the node graph). Field Coder writes the edit, Infinite checks it before applying it, and anything it can't do goes back to the chat.

It runs on your own machine, offline: no account, no API key, no cost per edit. It runs on an 8 GB Mac.

Built with Qwen. These are LoRA add-ons for Qwen2.5-Coder-3B-Instruct. They are released under the Qwen Research License: research and evaluation use only, not commercial use.

Full page with screenshots: https://infinitedevices.org/field-coder.html

Files

File What it is
3b-unified_sft.gguf Trained on every area; used for node-graph edits and anything not routed elsewhere
3b-sound.gguf Sound edits (Field synths and effects)
3b-visual.gguf Picture edits (Field Pixel shaders)
3b-3d.gguf 3D edits (Field Primitive and Modifier)

Each add-on is a rank-32, alpha-64 LoRA on all linear layers, converted to GGUF for llama.cpp (build b12774). Infinite picks one add-on per task from the task's area.

The base model is the 4-bit qwen2.5-coder-3b-instruct-q4_k_m.gguf from Qwen/Qwen2.5-Coder-3B-Instruct-GGUF (2.1 GB).

Use it

Inside Infinite you don't need this repo: Settings > Extensions > Field Coder installs the model, the add-ons and the runtime on macOS, Windows (x64, ARM64) and Linux.

With llama.cpp directly:

llama-server -m qwen2.5-coder-3b-instruct-q4_k_m.gguf --lora 3b-sound.gguf -c 8192

The add-ons are trained on Infinite's own languages (Field, and Infinite's patch edits), so outside Infinite they are mostly useful for research on small domain coders.

Benchmarks

39 tasks written from Infinite's node docs, kept out of the training data. A task passes only when Infinite checks the result: the right sound, picture, shape or node change.

Model (same 39 tasks, same checks, same task context) Runs Passed Sound Picture 3D Node graph
Claude Haiku 5.5 Cloud, paid 30 (77%) 8/8 7/8 7/8 8/15
Field Coder 3B Local, free 22 (56%) 6/8 4/8 2/8 10/15
Field Coder 1.5B (not released) Local, free 17 (44%) 5/8 2/8 2/8 8/15
  • Haiku is ahead overall, most of all on picture and 3D. Field Coder beats it on node-graph edits.
  • With 39 tasks, the true pass rate of Field Coder 3B could be anywhere from 41% to 71% (95% interval).
  • The released GGUF build passes 22 of 39 on Linux too; every build must pass at least 21 before it is published.
  • We wrote these tasks ourselves; they are not a third-party benchmark.

Speed

Measured on a GitHub Linux server, CPU only:

Measure Median Slowest 10%
First token 2.3 s 9.9 s
Checking the edit 0.5 s 8.7 s
Task to checked edit 19.7 s 41.5 s

On a Mac it runs on the GPU and gets 4 seconds per edit before it hands the task back; on Windows and Linux it gets 30 seconds on the CPU.

Training

  • Supervised fine-tuning on about 3,600 verified pairs: each answer was compiled and checked by Infinite (sound level and clipping, picture hue, layout and motion, node changes) before it was kept.
  • Data generated from Infinite's own engine and docs, and decontaminated against all benchmark tasks.
  • Trained on a single L4 GPU.

Limits

  • Weak on picture and 3D edits; Infinite's chat keeps those.
  • Trained for Infinite's languages; it is not a general coding model.
  • It can write code that compiles but looks or sounds wrong; that is why Infinite checks every edit.

Licence

Qwen is licensed under the Qwen RESEARCH LICENSE AGREEMENT, Copyright (c) Alibaba Cloud. All Rights Reserved.

The add-ons in this repo are a derivative of Qwen2.5-Coder-3B-Instruct and carry the same licence (see LICENSE): research and evaluation use only. For commercial use, ask Alibaba Cloud for a licence. Infinite itself and the Field Coder code are MIT: https://github.com/n1m21n/Infinite

Credit

Field Coder and Infinite, by Naman Soni (n1m21n), https://infinitedevices.org

Downloads last month
-
GGUF
Model size
59.9M params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

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

Model tree for namansoniii/field-coder

Base model

Qwen/Qwen2.5-3B
Adapter
(110)
this model