Views
No views yet
Preview release — Fine-tuned from InternScience/Agents-A1-4B (Qwen3.5-based VLM, text decoder only) on high-quality Fable-style reasoning traces. Features agentic reasoning with think blocks, tool-use patterns, and multi-turn conversation support.
| Metric | Value |
|---|---|
| Resolve rate | 49.5% (99/200) |
| Instances evaluated | 200 / 500 (first 200, index-ordered slice) |
| Scaffold | mini-swe-agent v2.4.6 |
| Agent config | step_limit=250, cost_limit=$3.0, temperature=0.0 |
| Inference | llama.cpp, F16, ctx=131072 |
| Empty patches | 13/200 (6.5%) |
| Date | 2026-08-02 |
| Capability | Description |
|---|---|
| 🧠 Fable Reasoning | Step-by-step CoT with <think> blocks |
| 🔧 Tool Calling | Hermes/Qwen function-calling format |
| 💬 Multi-turn | Trained on full agent trajectories |
| 🌏 Thai + English | Native bilingual support |
| 💻 Code & Shell | Python, bash, system tasks |
| ⚡ Fast Inference | 4B params — runs on consumer GPUs (6-8 GB VRAM) |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained(
4 "hotdogs/Agents-A1-4B-Fable-Preview",
5 torch_dtype="auto",
6 device_map="auto",
7 trust_remote_code=True
8)
9tokenizer = AutoTokenizer.from_pretrained("hotdogs/Agents-A1-4B-Fable-Preview")
10
11messages = [{"role": "user", "content": "Hello"}]
12inputs = tokenizer.apply_chat_template(messages, tokenize=True, return_tensors="pt")
13outputs = model.generate(inputs, max_new_tokens=256, temperature=0.6)
14print(tokenizer.decode(outputs[0]))| File | Size | Quant | Description |
|---|---|---|---|
Agents-A1-4B-Fable-Preview (Safetensors) | 8.41 GB | BF16 | Full precision (Transformers) |
| GGUF versions | 2.6–8.4 GB | IQ4_NL to f16 | See GGUF repo |
| Parameter | Value |
|---|---|
| Base | InternScience/Agents-A1-4B |
| Parameters | ~4.29B |
| Hidden Size | 2,560 |
| Attention | Linear + Standard hybrid (8 full-attn layers) |
| Context | 8,192 tokens (trained on 4,096) |
| Precision | BF16 / GGUF quantized |
| Format | ChatML (Jinja2 template) |
| Vocab | 248,320 tokens |
Note: This is the text decoder only (Qwen3_5ForCausalLM). For vision capabilities, use the GGUF version with mmproj from the base model.
┌─────────────────────────────────────────────────────────────┐
│ Training Pipeline │
├─────────────────────────────────────────────────────────────┤
│ │
│ Base Model LoRA Adapter │
│ (Agents-A1-4B VLM) (r=64, α=128) │
│ │ │ │
│ └───────────┬──────────────────┘ │
│ │ │
│ Unsloth FastLanguageModel │
│ (text decoder only) │
│ device_map="auto" · 4× RTX 3060 12GB │
│ │ │
│ ▼ │
│ ┌──────────────────────────┐ │
│ │ Custom SFTDataset │ │
│ │ • apply_chat_template() │ │
│ │ • Tokenize (4096 max) │ │
│ │ • Mask prompt tokens │ │
│ └──────────┬───────────────┘ │
│ │ │
│ ▼ │
│ ┌──────────────────────────┐ │
│ │ HF Trainer (no SFTTr.) │ │
│ │ • BF16 · LR=1e-4 │ │
│ │ • max_grad_norm=1.0 │ │
│ │ • 3 epochs · batch=1 │ │
│ │ • ~9 hours on 4×3060 │ │
│ └──────────┬───────────────┘ │
│ │ │
│ ▼ │
│ Final Model (scale=0.35) │
│ (LoRA merged into text decoder) │
│ │
└─────────────────────────────────────────────────────────────┘| Component | Spec |
|---|---|
| GPUs | 4× NVIDIA RTX 3060 12GB |
| Total VRAM | 48 GB |
| Training Time | ~9 hours 20 min |
| Framework | Unsloth + HuggingFace Trainer |
| Parameter | Value |
|---|---|
| LoRA Rank | 64 |
| LoRA Alpha | 128 |
| Learning Rate | 1e-4 |
| Scheduler | Cosine (warmup 3%) |
| Optimizer | AdamW 8-bit |
| Max Grad Norm | 1.0 |
| Sequence Length | 4,096 |
| Batch Size | 1 per GPU (eff. 4) |
| Epochs | 3 |
| Gradient Checkpointing | ✅ |
| Precision | BF16 |

bc1qf27cyk3vmugcdyv9xdtuv5jwz37863crpj5c9v