Downloads · 30 days
9
60% of all-time downloads
AVBala/nimora-agent
nimora-agent is a text generation model from AVBala. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
Nimora Agent is an experimental QLoRA adapter for Qwen/Qwen3-4B. It is trained to act as the controller in the open-source Nimora coding-agent runtime: select one small, verifiable action at a time, use provider-neutr…
Downloads · 30 days
9
60% of all-time downloads
All-time downloads
15
Public
Repo size
144 MB
Likes
0
Public
Click a slice to open those files.
.safetensors132 MB · 89%
From the Hugging Face model README
Nimora Agent is an experimental QLoRA adapter for Qwen/Qwen3-4B. It is trained to act as the controller in the open-source Nimora coding-agent runtime: select one small, verifiable action at a time, use provider-neutral workspace/Git/change tools, and return canonical JSON decisions.
This release is an alpha protocol adapter, not a general-purpose coding model and not evidence of production-level autonomous software engineering.
Use this adapter with the pinned base model and the Nimora runtime. The runtime supplies the system instruction, repository observations, tool execution, policy checks, revision binding, and approval boundaries. Keep a human in control of destructive actions, approvals, merges, and deployments.
The expected response is either:
{"plan":"brief reason","action":{"name":"tool.name","arguments":{}}}
or:
{"result":"evidence-backed final response"}
The publication gate used 40 held-out synthetic prefix-to-next-decision cases across 10 scenario families. The same cases were run with deterministic decoding against the pinned base model and this adapter.
| Model | Valid JSON | Correct action/result semantics | Exact action arguments |
|---|---|---|---|
| Qwen3-4B base | 100% | 27.5% | 20.0% |
| Nimora adapter | 100% | 100% | 97.5% |
Final validation loss was 0.004358. All publication gates passed. See evaluation-report.json for every expected decision, raw generation, parsed result, metric, version, and artifact hash.
These results measure conformance to a deterministic synthetic protocol. They do not measure real-repository coding quality and are not comparable to SWE-bench or other independent coding benchmarks.
Qwen/Qwen3-4B at revision 1cfa9a7208912126459214e8b04321603b3df60cThe data is deterministic synthetic template data authored for Nimora. It contains no private repositories, user logs, credentials, or scraped code. Dataset provenance and limitations are recorded in dataset-manifest.json; exact hyperparameters are in training-config.yaml.
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_id = "Qwen/Qwen3-4B"
adapter_id = "AVBala/nimora-agent"
tokenizer = AutoTokenizer.from_pretrained(adapter_id)
base = AutoModelForCausalLM.from_pretrained(base_id, device_map="auto")
model = PeftModel.from_pretrained(base, adapter_id)
model.eval()
For actual agent inference, use the Nimora runtime rather than sending unconstrained standalone prompts.
The repository contains the dataset builder, QLoRA trainer, runtime protocol, provider integrations, and tests. This model repository includes the adapter, tokenizer files, full evaluation report, training configuration, and dataset manifest.