Instructions to use sidhrth/BI-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use sidhrth/BI-1 with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- LiteRT-LM
How to use sidhrth/BI-1 with LiteRT-LM:
# LiteRT-LM runs on various platforms (Android, iOS, Windows, Linux, macOS, IoT, Web/WASM) # and supports many APIs (C++, Python, Kotlin, Swift, JavaScript, Flutter). # For platform-specific integration guides, please refer to the official developer website: # https://ai.google.dev/edge/litert-lm # To try LiteRT-LM, the easiest way is to use our CLI tool. # 1. Install the LiteRT-LM CLI tool: pip install -U litert-lm # 2. Download and run this model locally: # See: https://ai.google.dev/edge/litert-lm/cli # A single .litertlm file in the repo is picked automatically; otherwise the CLI asks which one to run # (or pass its name right after the repo id). litert-lm run \ --from-huggingface-repo=sidhrth/BI-1 \ --prompt="Write me a poem"
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use sidhrth/BI-1 with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf sidhrth/BI-1:Q4_K_S # Run inference directly in the terminal: llama cli -hf sidhrth/BI-1:Q4_K_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf sidhrth/BI-1:Q4_K_S # Run inference directly in the terminal: llama cli -hf sidhrth/BI-1:Q4_K_S
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf sidhrth/BI-1:Q4_K_S # Run inference directly in the terminal: ./build/bin/llama cli -hf sidhrth/BI-1:Q4_K_S
Use Docker
docker model run hf.co/sidhrth/BI-1:Q4_K_S
- Llama new
- LM Studio
- Jan
- Ollama
How to use sidhrth/BI-1 with Ollama:
ollama run hf.co/sidhrth/BI-1:Q4_K_S
- Unsloth Desktop
- Pi
How to use sidhrth/BI-1 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf sidhrth/BI-1:Q4_K_S
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "sidhrth/BI-1:Q4_K_S" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use sidhrth/BI-1 with Docker Model Runner:
docker model run hf.co/sidhrth/BI-1:Q4_K_S
- Lemonade
How to use sidhrth/BI-1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull sidhrth/BI-1:Q4_K_S
Run and chat with the model
lemonade run user.BI-1-Q4_K_S
List all available models
lemonade list
- Hermes Agent
How to use sidhrth/BI-1 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf sidhrth/BI-1:Q4_K_S
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default sidhrth/BI-1:Q4_K_S
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use sidhrth/BI-1 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf sidhrth/BI-1:Q4_K_S
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "sidhrth/BI-1:Q4_K_S" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
BI One 1.0 (sidhrth/BI-1)
- Model Name: BI One 1.0
- Developer: Have an Idea
- Foundation Model:
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.cppv0.8.0(Q4_K_SGGUF) 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 (<think>\n\n</think>\n\n) for low-latency answers, grammar correction, and short tasks.BALANCED: General chat, summarization, and grounded evidence tasks.DEEP: Enables<think>...</think>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,500train /400val samples,NVIDIA A100-SXM4-40GB,15,842.03s, peak VRAM17.568 GB,60,948,480trainable LoRA params =1.3249%):train_loss=0.6376,eval_loss=0.7182,eval_mean_token_accuracy=0.7942. - Multimodal Vision+Text Stage: Exited
1at step 25 due to an image-token truncation mismatch atmax_seq_length=1536and 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,200curated train /320val examples,1,942.92s, peak VRAM17.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) vsQwen/Qwen3.5-4Bbaseline 14/15 (0.9333),delta_accuracy=0.0,release_gate_passed=true. - Compact GGUF Selection (
reports/gguf_compact_eval_report.json,llama.cpp8642541,80-chunkimatrix):BI-One-1.0-Q4_K_S.gguf(selected):2,563,887,904bytes, 12/15 (0.80) raw probes (mean_latency_s=2.7), matching earlierQ4_K_M(12/15,0.80), preserves all 3 EN/ML/TA/HI language probes and explicitbi_neuron_sequelabstention (neither [1] nor [2] provides a release date for Starlight Horizon 2).BI-One-1.0-IQ4_XS.gguf:2,514,285,344bytes,12/15raw (mean_latency_s=2.6), rejected because it regressed onbi_neuron_sequelabstention and lacks native Android enum support in BI's current GGUF constant table.BI-One-1.0-Q3_K_M.gguf:2,262,063,904bytes,10/15raw (11/15clean,mean_latency_s=2.541), rejected due to<tool_call>hallucination onmath_1,gpqa_1miss, andbi_neuron_sequelabstention 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=truesoMin Runtime Versionstays unset for0.18.0+Android compatibility). litert-lm describeverifiedMax 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.0passed 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)
- Exported with
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.
- Downloads last month
- -
4-bit
docker model run hf.co/sidhrth/BI-1:Q4_K_S