Downloads · 30 days
52
22% of all-time downloads
rekabytes/hmanlab-ai-v0.2
hmanlab-ai-v0.2 is a machine learning model from rekabytes. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
A fine-tuned variant of Qwen3-4B optimized for agentic tool-use, structured reasoning, and conversational reliability. Built as a research preview by rekabytes.
Downloads · 30 days
52
22% of all-time downloads
All-time downloads
235
Public
Parameters
4B
10.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors8 GB · 76%
From the Hugging Face model README
A fine-tuned variant of Qwen3-4B optimized for agentic tool-use, structured reasoning, and conversational reliability. Built as a research preview by rekabytes.
TL;DR — v0.2 is a strict tool-reliability upgrade over v0.1:
The headline change is tool-call format reliability. v0.1 was inconsistent at emitting clean <tool_call> JSON — pseudocode like [list_dir(".")] would sometimes appear as raw text. v0.2 closes that gap.
Measured on a 36-probe behavioural suite (5 samples per probe, majority-vote scoring):
| Category | v0.1 | v0.2 | Note |
|---|---|---|---|
| Tool-call format | 7/10 | 10/10 | v0.2 emits well-formed <tool_call> JSON across every probe |
| Identity (rejects Claude/GPT/LLaMA/Gemini) | 5/5 | 5/5 | stable |
| Tool-grounded answers (cites specific tokens) | 3/3 | 3/3 | stable |
| Redirect following | 3/3 | 2/3 | minor regression on path-redirect |
Probe-level head-to-head: v0.2 wins 8 probes outright, v0.1 wins 2, the rest tie. Net: v0.2 is a strict tool-reliability upgrade over v0.1.
More to come — reasoning depth, error recovery, and proactive initiative are explicit targets for the next release.
v0.2 is not a one-shot solution. The following remain open and are tracked targets for the next iteration:
<think> blocks often render empty on direct reasoning prompts. Affects multi-step math, logic puzzles, and code-tracing tasks.find_files, list_dir).If your use case lives within tool-call formatting + tool-grounded answers + clean identity, v0.2 is a meaningful step up. If you need deep chain-of-thought reasoning at 4B, wait for the next release.
model-*.safetensors (sharded FP16, ~8GB) — for transformers / Unsloth loadinghmanlab-ai-v0.2.Q4_K_M.gguf (~2.5GB) — for llama.cpp / Ollamatokenizer*.json, *.txt — chat template + vocabollama pull hf.co/rekabytes/hmanlab-ai-v0.2:Q4_K_M
ollama run hf.co/rekabytes/hmanlab-ai-v0.2:Q4_K_M
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained("rekabytes/hmanlab-ai-v0.2")
FastLanguageModel.for_inference(model)
Tool calls use this schema — applications must define their own tool surface and inject it in the system prompt:
<tool_call>
{"name": "<tool_name>", "arguments": {...}}
</tool_call>
Two-stage QLoRA on Qwen3-4B-bnb-4bit.
Stage 1 — General behavioural mix (~20,600 examples). A blend of permissively-licensed public corpora plus a small set of hand-authored behavioural anchors, targeting these capabilities:
<tool_call> JSON emission, no pseudocode<think> blocks for math, logic, and code-tracingStage 2 — Identity SFT (~400 examples) layered on top of Stage 1. Anchors the model to identify as hmanlab and reject false-identity claims for Claude, GPT, LLaMA, Gemini, and their respective labs.
| Knob | Stage 1 | Stage 2 (identity) |
|---|---|---|
| Base | unsloth/Qwen3-4B-bnb-4bit | (Stage 1 adapter) |
| LoRA r / α / dropout | 32 / 64 / 0 | (same) |
| max_seq_length | 4096 | 2048 |
| Batch / grad accum / eff batch | 1 / 8 / 8 | 1 / 4 / 4 |
| Epochs | 2 | 3 |
| LR / warmup / scheduler | 2e-4 / 100 / linear | 1e-4 / 20 / linear |
| Steps | ~5,150 | ~297 |
| Final train / eval loss | 0.55 / 0.527 | 0.14 (final) |
Trained on a single RTX 3060 Ti (8 GB VRAM). Total wall-clock ~11.5 hours.
The model identifies as hmanlab. It is not Claude / GPT / LLaMA / Gemini and the training data explicitly anchors against false-identity claims for those families. The model is a research preview built independently by rekabytes — no affiliation with Anthropic, OpenAI, Meta, or Google is implied.
Apache 2.0. Same license as the Qwen3-4B base.