How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf minecartchris/cc-coder-GGUF:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf minecartchris/cc-coder-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf minecartchris/cc-coder-GGUF:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf minecartchris/cc-coder-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf minecartchris/cc-coder-GGUF:Q4_K_M
# Run inference directly in the terminal:
./llama-cli -hf minecartchris/cc-coder-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf minecartchris/cc-coder-GGUF:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf minecartchris/cc-coder-GGUF:Q4_K_M
Use Docker
docker model run hf.co/minecartchris/cc-coder-GGUF:Q4_K_M
Quick Links

cc-coder GGUF โ€” CC: Tweaked Lua coding model for Ollama / LM Studio

Quantized q4_k_m build (~1.9GB, runs comfortably on any modern machine โ€” CPU-only works too) of minecartchris/cc-coder, a Qwen2.5-Coder-3B fine-tune for writing CC: Tweaked (ComputerCraft) Lua: turtles, peripherals, rednet, monitors, and community libraries.

Evaluated by actually running its generated programs in a CraftOS-PC emulator: 74% of everyday CC task generations run cleanly, 97% parse. Full methodology on the adapter page.

Run with Ollama

Straight from this repo, no download step:

ollama run hf.co/minecartchris/cc-coder-GGUF

Then ask away:

>>> Write a turtle program that strip-mines a 2x1 tunnel for 32 blocks,
    placing torches every 8 blocks, and returns home when done.

Run with LM Studio

Search for cc-coder in LM Studio's model search (or paste minecartchris/cc-coder-GGUF), download the q4_k_m file, and chat. Suggested settings: temperature 0.4, context 4096.

Notes

  • The model prefers built-in CC APIs (turtle, rednet, peripheral, fs, os.pullEvent, textutils) and knows the correct require idioms for popular libraries (Basalt, Pine3D, PixelUI, ccryptolib, ...)
  • 3B model: always eyeball the logic before trusting a turtle with your diamonds
  • Qwen Research license inherited from the base model (non-commercial restrictions apply)
Downloads last month
93
GGUF
Model size
3B 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 minecartchris/cc-coder-GGUF