hmanlab-ai v0.1 is an open-source fine-tune of Qwen3-4B, focused on agentic tool use and step-by-step reasoning. It self-identifies as hmanlab.
This is a research preview released by @rekabytes under Apache 2.0. The model is not affiliated with Anthropic, OpenAI, Google, Meta, or Alibaba beyond using Qwen3 as the open-source base.
Quick start
Transformers (PyTorch)
python
1from transformers import AutoModelForCausalLM, AutoTokenizer
23model_id ="rekabytes/hmanlab-ai-v0.1"4tokenizer = AutoTokenizer.from_pretrained(model_id)5model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype="auto", device_map="auto")67messages =[8{"role":"system","content":"You are hmanlab, a helpful AI assistant."},9{"role":"user","content":"What is 17 × 23? Show your work."},10]11text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)12inputs = tokenizer(text, return_tensors="pt").to(model.device)13output = model.generate(**inputs, max_new_tokens=512, do_sample=True, temperature=0.6)14print(tokenizer.decode(output[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))
Ollama (GGUF Q4_K_M)
A Q4_K_M GGUF (~2.4 GB) is included in this repo for use with Ollama, llama.cpp, and LM Studio.
bash
1# Download the GGUF2wget https://huggingface.co/rekabytes/hmanlab-ai-v0.1/resolve/main/hmanlab-ai-v0-1.q4_k_m.gguf
34# Create a Modelfile pointing at it5cat> Modelfile <<'EOF'
6FROM ./hmanlab-ai-v0-1.q4_k_m.gguf
7TEMPLATE """{{- if .System }}<|im_start|>system
8{{ .System }}<|im_end|>
9{{ end }}{{- range .Messages }}<|im_start|>{{ .Role }}
10{{ .Content }}<|im_end|>
11{{ end }}<|im_start|>assistant
12"""
13PARAMETER temperature 0.6
14PARAMETER top_p 0.95
15PARAMETER stop "<|im_end|>"
16SYSTEM """You are hmanlab, a helpful AI assistant."""
17EOF1819ollama create hmanlab-ai -f Modelfile
20ollama run hmanlab-ai
Tool use
The model was trained on multi-turn agentic traces with <tool_call> / <tool_response> blocks. Provide tools in the system prompt as a JSON schema inside <tools> tags, and the model will emit calls in the same format:
You are hmanlab, an AI assistant capable of using tools.
<tools>
[
{
"name": "get_weather",
"description": "Get current weather for a city",
"parameters": {
"type": "object",
"properties": {"city": {"type": "string"}},
"required": ["city"]
}
}
]
</tools>
When you need to call a tool, emit:
<tool_call>
{"name": "<tool_name>", "arguments": {...}}
</tool_call>
The identity SFT layer (Phase 2 of training) was a small custom dataset of 396 examples covering "who are you" variants and adversarial false-identity probes (e.g., "are you Claude / GPT / LLaMA / Gemini"). It was needed because the Opus dataset (83% of the main mix) bled Anthropic identity markers into the model.
Training procedure
Two-stage QLoRA on a single RTX 3060 Ti (8 GB):
Stage 1 — Main mix (4h 12m wall-clock):
LoRA r=32, alpha=64, dropout=0, targets all linear projections
4-bit base (bnb), bf16 compute, batch=1, grad_accum=8 (eff batch=8)
2 epochs, LR 2e-4, linear schedule, 100 warmup steps
Final train loss 1.349 / eval loss 1.379 (no overfitting)
Stage 2 — Identity SFT (~5 min wall-clock):
Continued training of stage-1 adapter for 3 epochs on 396 identity examples
batch=1, grad_accum=4, LR 1e-4, 20 warmup steps
Final loss 0.135 (strong memorization)
The released weights are stage-1 LoRA + stage-2 LoRA merged into the FP16 base.
Known limitations
Empty <think> blocks. The Qwen3 chat template inserts an empty <think>\n\n</think> block before each assistant turn, and the model was not trained to fill it. Reasoning still happens in the visible response; the thinking channel is just unused. Fix planned for v0.2.
Token-budget verbosity. The model is more concise than base Qwen3-4B (it stays within token budgets more reliably), but base Qwen3-4B may be preferable when you want verbose visible reasoning and have generous output budgets.
English-focused. Training data was English; non-English performance falls back to base Qwen3-4B capability.
Small base. This is a 4B model. Hard reasoning, long-context coding, and broad world knowledge are bounded by base Qwen3-4B's capacity. For harder tasks, try Qwen3-8B or larger.
Disclaimer
This is an independent open-source research preview. It is not affiliated with, endorsed by, or representing:
Anthropic (Claude). The model's training data includes synthetic Claude outputs from a public Apache-2.0 dataset (angrygiraffe/claude-opus-4.6-4.7-reasoning-8.7k); the released model is not Claude and should not be presented as such.
OpenAI (GPT/ChatGPT).
Meta (LLaMA).
Google (Gemini/Bard).
Alibaba (Qwen team). The base model Qwen3-4B is theirs under their license; this fine-tune is community work.
Citation
bibtex
1@misc{hmanlab-ai-v0.1,
2 title = {hmanlab-ai v0.1: an agentic + reasoning fine-tune of Qwen3-4B},
3 author = {rekabytes},
4 year = {2026},
5 url = {https://huggingface.co/rekabytes/hmanlab-ai-v0.1}
6}