---
license: apache-2.0
base_model: Qwen/Qwen3.5-4B
language:
- en
- ml
- ta
- hi
library_name: gguf
tags:
- bi-one
- qwen3_5
- gguf
- llama-cpp
- litert
- litert-lm
- int4
- q4-k-s
- mobile
- on-device
- have-an-idea
---
# BI One 1.0 (`sidhrth/BI-1`)
- **Model Name:** BI One 1.0
- **Developer:** Have an Idea
- **Foundation Model:** [`Qwen/Qwen3.5-4B`](https://huggingface.co/Qwen/Qwen3.5-4B) (`revision: 851bf6e806efd8d0a36b00ddf55e13ccb7b8cd0a`, `Apache-2.0`)
- **License:** Apache-2.0
- **Languages:** English (`en`), Malayalam (`ml`), Tamil (`ta`), Hindi (`hi`), plus multilingual support inherited from Qwen3.5
- **Target Runtimes:** Offline on-device inference via `llama.cpp` `v0.8.0` (`Q4_K_S` GGUF) and LiteRT-LM (`INT4` `.litertlm`, CPU/GPU, dynamic 2048 context)
## Overview
**BI One 1.0** is trained by **Have an Idea** for offline execution in **Better Intelligence**. It was fine-tuned with 4-bit NF4 QLoRA on the curated **BI Intelligence Dataset (BID v1.0)** (`25,000` train / `1,575` val / `1,575` test examples across 9 capability categories; `15,487,080` training tokens using the `Qwen/Qwen3.5-4B` tokenizer) covering advanced reasoning, mathematics and science, coding, function calling, multilingual EN/ML/TA/HI tasks, evidence-grounded synthesis, and reliability/abstention.
## Reasoning Profiles
- **`FAST`:** Non-thinking mode (`\n\n\n\n`) for low-latency answers, grammar correction, and short tasks.
- **`BALANCED`:** General chat, summarization, and grounded evidence tasks.
- **`DEEP`:** Enables `...` reasoning for multi-step math, code, and constraint problems.
## Published Artifacts (RAM-Optimized Release)
`BI-One-1.0-Q4_K_S.gguf` replaces the earlier `BI-One-1.0-Q4_K_M.gguf` (`2,708,804,416` bytes, `3,118 MiB` estimated total RAM at `2048` context), reducing model size by `144.9 MB` (`-149 MiB` estimated RAM in `ModelMemoryPlanner`) to **`2,969 MiB`** (`< 3 GiB`) while preserving full GGUF quality and native `llama.cpp` `v0.8.0` support. `BI-One-1.0-int4.litertlm` adds an even smaller INT4 blockwise (`dynamic_wi4b32_afp32`) LiteRT-LM package (`2.22 GiB`) for LiteRT-LM CPU/GPU execution.
| File | Format / Quant | Size (bytes) | SHA-256 | Role / Notes |
| --- | --- | ---: | --- | --- |
| `BI-One-1.0-Q4_K_S.gguf` | GGUF `imatrix` `Q4_K_S` (~2.39 GiB) | `2,563,887,904` | `0ea1b0e3f05d7fa5baa7f0f37333e73213177aece121f68f9d7c266b40b60da2` | Primary RAM-optimized GGUF (`llama.cpp` `v0.8.0`, `8642541`, `2,969 MiB` est. RAM @ 2048 ctx) |
| `BI-One-1.0-int4.litertlm` | LiteRT-LM `dynamic_wi4b32_afp32` (~2.22 GiB) | `2,380,703,888` | `a3968e921ea53cf79d99936f0a22daad70d93a08e2bc67db3716019c2515b735` | RAM-optimized INT4 LiteRT-LM bundle (`max_num_tokens=2048`, `prefill=128`, `weights_in_model_graph=true`, `Supports Thinking: YES`, `Supports Function Call: YES`, `CPU`/`GPU`) |
| `mmproj-BI-One-1.0-F16.gguf` | GGUF `F16` (~641 MiB) | `672,422,944` | `ea92ab94b48fe7c9d43080ef16d33b6a29f07e8db78acbd4f891ca80b5fdbf25` | Native vision projector (`mmproj`, frozen encoder) |
| `adapter/` | PEFT QLoRA adapter + tokenizer | — | — | Stage-2 BF16/NF4 adapter weights & chat template |
| `reports/` & `export_manifest.json` | JSON reports | — | — | Colab training, HF/GGUF compact comparison, and LiteRT-LM export/smoke reports |
## Training, Compact Quantization & LiteRT-LM Verification Summary
- **Stage-1 Full Text QLoRA SFT** (`23,500` train / `400` val samples, `NVIDIA A100-SXM4-40GB`, `15,842.03s`, peak VRAM `17.568 GB`, `60,948,480` trainable LoRA params = `1.3249%`): `train_loss=0.6376`, `eval_loss=0.7182`, `eval_mean_token_accuracy=0.7942`.
- **Multimodal Vision+Text Stage:** Exited `1` at step 25 due to an image-token truncation mismatch at `max_seq_length=1536` and fell back cleanly to the Stage-1 checkpoint, keeping the frozen native vision encoder weights intact (`mmproj-BI-One-1.0-F16.gguf`).
- **Stage-2 Polish SFT** (`3,200` curated train / `320` val examples, `1,942.92s`, peak VRAM `17.567 GB`): `train_loss=0.3640`, `eval_loss=0.4040`, `eval_mean_token_accuracy=0.8840`.
- **Head-to-Head HF Release Gate (`reports/colab_eval_report.json`):** **14/15 (`0.9333`)** vs `Qwen/Qwen3.5-4B` baseline **14/15 (`0.9333`)**, `delta_accuracy=0.0`, **`release_gate_passed=true`**.
- **Compact GGUF Selection (`reports/gguf_compact_eval_report.json`, `llama.cpp` `8642541`, `80`-chunk `imatrix`):**
- `BI-One-1.0-Q4_K_S.gguf` (**selected**): `2,563,887,904` bytes, **12/15 (`0.80`)** raw probes (`mean_latency_s=2.7`), matching earlier `Q4_K_M` (`12/15`, `0.80`), preserves all 3 EN/ML/TA/HI language probes and explicit `bi_neuron_sequel` abstention (`neither [1] nor [2] provides a release date for Starlight Horizon 2`).
- `BI-One-1.0-IQ4_XS.gguf`: `2,514,285,344` bytes, `12/15` raw (`mean_latency_s=2.6`), rejected because it regressed on `bi_neuron_sequel` abstention and lacks native Android enum support in BI's current GGUF constant table.
- `BI-One-1.0-Q3_K_M.gguf`: `2,262,063,904` bytes, `10/15` raw (`11/15` clean, `mean_latency_s=2.541`), rejected due to `` hallucination on `math_1`, `gpqa_1` miss, and `bi_neuron_sequel` abstention regression.
- **LiteRT-LM INT4 Conversion & Verification (`reports/litert_export_report.json`):**
- Exported with `litert-torch==0.10.0` + `ai-edge-quantizer==0.10.1` (`dynamic_wi4b32_afp32`, blockwise 32 INT4 weights / FP32 activations) + `litert-lm-builder==0.20.0` (`weights_in_model_graph=true` so `Min Runtime Version` stays unset for `0.18.0+` Android compatibility).
- `litert-lm describe` verified `Max Context Tokens: 2048`, `Is Dynamic Context: YES`, `Supports Thinking: YES`, `Supports Function Call: YES`, `Text Backends: CPU GPU`.
- `litert-lm run --backend=cpu --thinking=false --max-num-tokens=512 --temperature=0.0` passed all 3 smoke prompts:
- `smoke_math` (`17 * 6`) -> `102` (`30.235s`)
- `typeright_en` -> `There are two minutes left before the train leaves.` (`16.166s`)
- `ifeval_json` -> `{"status": "ok", "count": 3}` (`16.219s`)
## Attribution & Limitations
Built on `Qwen/Qwen3.5-4B` (`Apache-2.0`). Intended for offline local inference in Better Intelligence; verify critical factual, medical, financial, or safety outputs independently.