19 4 days ago

Rust completion for the ThoxEdge line: THOX LoRA fine-tune of Qwen2.5-Coder-0.5B-Instruct on 74.6k Rust examples. MultiPL-E HumanEval-Rust 28.21% chat vs 25.64% base. Q8_0 GGUF 532 MB. THOX-trained. Apache-2.0.

ollama run Thox-ai/thoxedge-rustcoder-0.5b

Details

4 days ago

273b5459766f · 532MB

qwen2
·
494M
·
Q8_0
{ "repeat_penalty": 1.05, "stop": [ "<|im_end|>", "<|endoftext|>" ],
{{- if .System }}<|im_start|>system {{ .System }}<|im_end|> {{ else }}<|im_start|>system You are Qwe
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ Licensed under the Apache L

Readme

The THOX four-device family

ThoxEdge-RustCoder-0.5B

Rust Completion Model — a Rust-leaning fine-tune trained by THOX.ai on a public Apache-2.0 Rust code corpus (74,606 filtered code-producing examples): a LoRA fine-tune (rank 32), merged into the base weights

MultiPL-E HumanEval-Rust: 28.21% chat mode vs 25.64% base (156 problems, executed) · 0.5B fine-tune · Safetensors + GGUF in repo

License Params Base Access

Your AI. Your Data. Your Rules.™

Status: PUBLISHED. A Rust-leaning fine-tune trained by THOX on a public Apache-2.0 Rust code corpus (74,606 filtered code-producing examples): a rank-32 LoRA fine-tune, merged into the base weights. MultiPL-E HumanEval-Rust measured at 28.21% chat mode vs 25.64% base (156 problems, executed) — full results under Evaluation.

This model is free. The hardware built to run it is on Kickstarter until Thu Nov 26, 9:00 AM CT. ThoxEdge is the edge model line for the THOX device family, built for local work on devices like ThoxAir and ThoxMini. THOX is all-or-nothing: if the goal is not reached by the deadline, nothing is charged and nothing ships. Try the virtual devices first at https://thox.ai/#demo-callout-home_lineup then back it here: Back THOX on Kickstarter Your AI. Your Data. Your Rules.™

Run it

ollama run Thox-ai/thoxedge-rustcoder-0.5b

Prompting matters. Ask for a complete function body in plain terms, for example “Write the complete body of the Rust function below.” Do not prompt with “Complete the Rust code. Output only the missing code.” — that phrasing matches training rows whose targets are short fragments, and this checkpoint answers it with a fragment (measured 2.56% where the recommended wording scores 28.21%).

Summary

ThoxEdge-RustCoder-0.5B is a Rust-leaning fine-tune trained by THOX.ai on a public Apache-2.0 Rust code corpus (74,606 filtered code-producing examples): a LoRA fine-tune (rank 32), merged into the base weights. It serves cheap Rust completion in ThoxRoute’s lowest tier. It is a 0.5B model and is not a strong Rust coder; the numbers below are a same-harness delta measurement, nothing more. It is a hosted/desktop model: its GGUF ladder spans only about 260 MB because a large share of its parameters sit in an embedding that does not quantize down, so it does not fit THOX’s smallest devices.

Highlights

  • THOX fine-tune: a LoRA fine-tune (rank 32) of Qwen/Qwen2.5-Coder-0.5B-Instruct, merged into the base weights.
  • Measured delta: MultiPL-E HumanEval-Rust 28.21% chat mode vs 25.64% base (156 problems, executed).
  • This listing: Q8_0 GGUF (531,675,904 B, SHA-256 d501d8d45ede70c8217287e03474e5b40835a1a20873e979934fb95571e54a1b), converted from the THOX safetensors release and verified against it (logits parity inside Q8_0 quantization noise, greedy generation byte-identical on the parity prompt).

Specifications

Base model Qwen/Qwen2.5-Coder-0.5B-Instruct
Parameters 0.5B
Architecture Qwen2, 24 layers, hidden 896, GQA (14 Q / 2 KV heads), vocab 151,936
Format on Ollama GGUF Q8_0
Context 32,768 max position embeddings
Training LoRA fine-tune (rank 32), merged into the base weights
License Apache-2.0

Platforms

Platform / device Run path
Ollama ollama run Thox-ai/thoxedge-rustcoder-0.5b
Hugging Face Safetensors + GGUF at https://huggingface.co/Thox-ai/ThoxEdge-RustCoder-0.5B

Research

THOX.ai research and model cards: https://huggingface.co/Thox-ai

Intended use

  • Cheap Rust code completion on hosts, inside the THOX stack.
  • Out of scope: medical, legal, financial, safety-critical, or other high-stakes decisions without human review; unattended control of physical devices without a confirmation step.

Training data and procedure

THOX fine-tune of Qwen/Qwen2.5-Coder-0.5B-Instruct on a public Apache-2.0 Rust code corpus (74,606 filtered code-producing examples), LoRA rank 32, merged into the base weights. The corpus and procedure are described in the Hugging Face card as published at release; no training beyond what that card describes is claimed for this listing.

Evaluation

MultiPL-E HumanEval-Rust, 156 problems, executed (each generation is compiled and its assertions run), greedy decoding, both models scored in the same job:

Model Completion mode Chat mode
Base model 21.15% (33⁄156) 25.64% (40⁄156)
ThoxEdge-RustCoder-0.5B 25.64% (40⁄156) 28.21% (44⁄156)
Delta +4.49 pp +2.57 pp

The noise floor of this harness is about ±1 problem (±0.64 pp); both deltas clear it, and anything under about 1.5 pp should be treated as a tie. Assembly is deliberately generous (a body-only or whole-function answer passes if either works), so these numbers are not comparable to published MultiPL-E leaderboards; the delta between the rows is the measurement. No THOX GATE49 result is published for this model.

Limitations

  • It fails roughly seven of every ten HumanEval-Rust problems (28.21% pass@1 in its best mode).
  • A training-renderer defect placed auxiliary output fields inside the code fence in about half the rows of three training categories; it caused no measured regression, and this checkpoint retains the prompt sensitivity described above.
  • Not sized for THOX’s smallest devices (see Summary).

License

Apache-2.0. The THOX fine-tune and additions are covered under Apache-2.0; the training corpus is also Apache-2.0. See the license text for terms.

THOX.ai — Your AI. Your Data. Your Rules.™

Provenance

Published by THOX.ai as Thox-ai/ThoxEdge-RustCoder-0.5B on Hugging Face and Thox-ai/thoxedge-rustcoder-0.5b on Ollama. Upstream base: Qwen/Qwen2.5-Coder-0.5B-Instruct. The Ollama GGUF was converted from the THOX safetensors release and parity-verified before publishing (2026-11-22).

Citation

@misc{thoxai2026thoxedgerustcoder05b,
      title={ThoxEdge-RustCoder-0.5B},
      author={THOX.ai},
      year={2026},
      url={https://huggingface.co/Thox-ai/ThoxEdge-RustCoder-0.5B}
}