Building your own AI? Join the AI Owner's Club on Skool โ€” a community that owns its models instead of renting them.

Amaara Code Flash

A tool-calling coding agent built on GLM-4.7-Flash (31.2B total / ~3B active MoE), fine-tuned for the agent loop: read a repository, call tools, act on the results, then stop and summarise.

These are the full 16-bit merged weights. For quantised versions see theatechcorporation/amaara-code-flash-GGUF.

Status: trained, NOT YET EVALUATED

This model carries no measured agentic benchmark number, and should not be described as having one. SFT completed 800/800 steps; an evaluation against an agentic harness has not been run yet. Any capability claim you see about this model that is not in a future revision of this card is unsourced.

For context only โ€” these are GLM-4.7-Flash's own published numbers, not ours, and not measurements of this fine-tune: the base model reports 59.2% SWE-bench Verified and 79.5% ฯ„ยฒ-Bench. This LoRA does not teach GLM to code. GLM already codes. What it adapts is the tool-call format and harness conventions used by our agents.

What it was trained on

windows 21,257
tokens 44.2M
tool-call endings 74.0%
prose endings 26.0%
max sequence 8,192
LoRA r=8, ฮฑ=16, 295 target modules
steps 800 (batch 1 ร— grad-accum 8)
optimiser adamw_8bit, lr 1e-4 linear decay
final loss ~0.55โ€“0.74

The corpus is deliberately built so 74% of trajectories end on a tool call and 26% end in prose. A corpus where ~9 in 10 windows end on a tool call teaches the model that emitting a tool call is the terminal state โ€” it never learns the observation โ†’ summary transition, which is exactly the failure that makes an agent loop forever. The terminators are also never placed only at the front of long traces: a 680-message session's "I'm done" turn sits at the end, so front-capping a trace excludes precisely the windows that teach stopping.

Provenance note

Training data is the Amaara Code corpus, assembled from our own recorded agent sessions plus public coding/agent datasets. Per-dataset provenance is recorded in our internal registry. If you need a per-source breakdown before deploying this commercially, ask and it will be provided โ€” do not assume a uniform licence across every component.

Usage

These are merged 16-bit weights, not an adapter, so they load as a normal causal LM:

from transformers import AutoModelForCausalLM, AutoTokenizer

tok = AutoTokenizer.from_pretrained("theatechcorporation/amaara-code-flash")
model = AutoModelForCausalLM.from_pretrained(
    "theatechcorporation/amaara-code-flash",
    torch_dtype="bfloat16",
    device_map="auto",
)

For llama.cpp / Ollama, use the GGUF repo. For vLLM, note that vLLM 0.16.0 does not support the GLM-4.7 architecture; check the current release before filing bugs against a serving failure.

Caveats

  • No eval yet. See Status above.
  • The 16-bit checkpoint is ~58 GiB, so it needs a serious card or CPU/disk offload.
  • Fine-tuning adapted tool-call behaviour; it did not add coding ability the base lacked.
  • Trained predominately on English-language coding agent traces.

Join the AI Owner's Club

Join the AI Owner's Club on Skool โ€” a community that owns its models instead of renting them.

License

Released under the A-Tech Model License v1.0 (see LICENSE in this repository).

Commercial use is free and unlimited for individuals and for organisations with less than USD $10,000,000 in total annual revenue, assessed across the organisation together with its parents, subsidiaries and affiliates. No key, no registration, no seat count, no expiry.

Organisations at or above USD $10,000,000 require an A-Tech Enterprise License for commercial use, which adds the protections no open licence provides: indemnification, warranty, support and security response commitments.

Upstream base model. This model is derived from unsloth/GLM-4.7-Flash, distributed under the MIT License (Z.ai GLM). The full upstream licence text is included in this repository as LICENSE-MIT; your rights under it are permanent and are not restricted by the A-Tech Model License. The A-Tech licence covers A-Tech's own contributions: training, adapters, merges, quantisations and tooling.

Downloads last month
38
Safetensors
Model size
31B params
Tensor type
BF16
ยท
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for theatechcorporation/amaara-code-flash

Adapter
(6)
this model