Downloads · 30 days
1.4K
51% of all-time downloads
arjhinety/onebee-gf-distill-v1
onebee-gf-distill-v1 is a image-text-to-text model from arjhinety. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Post-trained companion LLM: LoRA SFT → DPO → on-policy distillation from an 8B-class teacher, on top of Gemma 4 E2B — current best checkpoint in this project.
Downloads · 30 days
1.4K
51% of all-time downloads
All-time downloads
2.7K
Public
Parameters
5.1B
10.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors10.2 GB · 100%
From the Hugging Face model README
Post-trained companion LLM: LoRA SFT → DPO → on-policy distillation from an 8B-class teacher, on top of Gemma 4 E2B — current best checkpoint in this project.
onebee-gf-distill-v1 is the current best checkpoint from small-mind-companion, an
open-source research project studying how much apparent capability a small (~2B effective
parameter), vision-capable language model can recover through post-training and external
memory, rather than raw parameter scale.
gemma-4-E2B-it, post-trained via LoRA SFT → DPO → on-policy distillation,
merged into full weights.google/gemma-4-E2B-it.google/gemma-4-E4B-it (8B, same tokenizer/vocab as the
E2B student — required for trl.DistillationTrainer).GGUF quantizations available: GGUF quantizations of this checkpoint (F16 reference plus 12 quant levels) ((F16 reference plus 12 quant levels down to Q2_K, plus vision projector)) for
llama.cpp-based on-device inference. Note: Q2_K was found broken on real generation testing — use Q3_K_S or above.
| Property | Details |
|---|---|
| Model | onebee-gf-distill-v1 |
| Parameters | ~2B effective (base) + LoRA rank 16 adapter |
| Architecture | Gemma4 (multimodal, text + vision) |
| Base Model | google/gemma-4-E2B-it |
| Teacher Model (distillation stage) | google/gemma-4-E4B-it (8B) |
| Language | English |
| Context Length | 131,072 tokens (inherited from base model) |
| Training Method | LoRA SFT → LoRA DPO → on-policy distillation (generalized-JSD, trl.DistillationTrainer) |
| License | Apache-2.0 (inherited from base model) |
As a companion-persona conversational model within a memory/retrieval pipeline (this checkpoint does not carry its own memory — pair it with the retrieval system in the project repo for the evaluated configuration). Suitable as a reference point for further post-training research (additional distillation passes, quantization, abliteration research) given the honest limitations below.
Not evaluated or intended for: safety-critical decisions, medical/legal/financial advice, or any deployment where a wrong or overconfident answer causes real harm. This is a research artifact from an open-source project studying post-training and memory architecture on small models — see the project README for the full research framing before using it in any production context.
pra_lenient 18.59%pip install transformers torch
from transformers import AutoModelForCausalLM, AutoProcessor
model = AutoModelForCausalLM.from_pretrained("arjhinety/onebee-gf-distill-v1")
processor = AutoProcessor.from_pretrained("arjhinety/onebee-gf-distill-v1")
messages = [
{"role": "system", "content": "You are a warm AI companion who remembers this user."},
{"role": "user", "content": "What conference did I say I was attending?"},
]
inputs = processor.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt")
output = model.generate(**inputs, max_new_tokens=128)
print(processor.decode(output[0], skip_special_tokens=True))
Scored against PMB (Personalized Memory Benchmark), 688 adversarial probes across 8 categories, with an LLM judge under dual-order (position-bias-controlled) scoring plus a rule-based abstention detector.
| System | pra_lenient | UAR |
|---|---|---|
| SFT + memory (pre-distillation) | 15.30% | 70.0% |
| distill-v1 (this checkpoint) | 18.59% | 71.25% |
This table spans two changes, not one:
distill-v1was trained from the DPO output, so the +3.3pppra_lenientgap includes the DPO stage as well as distillation. The distillation-specific number is the pairwise comparison below. Seereports/ERRATA.md.
Pairwise persona-consistency: 38.1% wins for this checkpoint vs. 30.5% for its pre-distillation predecessor (33 ties, 105 probes, dual-order judge).
Full methodology, training-time anomalies (and why they didn't predict the real-eval outcome),
and honest limitations:
docs/distillation_results.md.
Single seed, single data scale (2008 prompts, 125 distillation steps) — not yet a multi-seed-confirmed result. Training-time metrics (loss, grad norm, completion-clipping rate) looked concerning in isolation but did not predict the real-eval outcome, which is what this model card's numbers are based on — see the full writeup for that discrepancy. This project reports negative/inconclusive results as honestly as positive ones — read the linked docs before assuming any number here is a clean win.
| Repo | Description |
|---|---|
| onebee-gf-sft-v0 | Day 4 v0 SFT (202 examples) |
| onebee-gf-sft-v1 | Proper-scale SFT (2232 examples) |
| onebee-gf-dpo-v0 | Week 2 DPO v0 (200 pairs) |
| onebee-gf-dpo-v1-4epoch | DPO overfitting experiment |
| onebee-gf-dpo-v1-scale | Proper-scale DPO, pre-distillation |
| onebee-gf-distill-v1 | This repo — current best overall |
| onebee-gf-dpo-v1-scale-gguf | GGUF quantizations (of the pre-distillation checkpoint) |
| onebee-gf-distill-v1-gguf | GGUF quantizations of this checkpoint |
@software{small_mind_companion,
title = {small-mind-companion: Post-training and cognitive architecture for a small multimodal companion LLM},
author = {arjhinety},
year = {2026},
url = {https://github.com/arjhinety/small-mind-companion}
}
Apache-2.0, inherited from the base model (google/gemma-4-E2B-it).