LubanAI Private (E2B)

The on-device model behind the private space of the LubanAI mobile app. It runs entirely on the phone with LiteRT-LM: nothing the user types, uploads or says leaves the device.

It is Google's Gemma 4 E2B, fine-tuned by LubanAI to:

  • answer from the user's own files by calling local tools (kb_search, kb_lookup, kb_read_page, kb_neighbours, kb_list_files) and cite the passages it used;
  • use calc and today for arithmetic and dates (Gregorian and Hijri);
  • reply in the language of the question (Arabic or English);
  • introduce itself as the LubanAI private assistant and know who built it.

Images (reading text, including Arabic) and voice input work as in the base model.

File

file size sha256
lubanai-private-e2b.litertlm 4,035,362,816 bytes aead084da36ff6adeff1cb1487490daf3d32526fb31fcbc1a0e5db356d3dfca3

How it was made (changes from the base model)

  1. LoRA (rank 16, attention + MLP) trained on ~1,080 bilingual examples written for this app: tool calls in the app's exact format, answers grounded in invented documents, identity, and conversation answers distilled from the base model. Training ran on Google's QAT mobile weights (google/gemma-4-E2B-it-qat-mobile-transformers) with their static activation rounding.
  2. The adapter was merged and the text decoder exported with litert-torch (int8 weights).
  3. The bundle keeps Google's published sections of litert-community/gemma-4-E2B-it-litert-lm byte for byte: tokenizer, embedders, the audio encoder and the vision encoder. Only the decoder is ours. The speculative-decoding drafter is not included.

Evaluation

150 bilingual cases (AR/EN) with stubbed tools, scored on CPU with LiteRT-LM. The base model got the same system prompt and tools.

this model base Gemma 4 E2B
all cases 140/150 (93%) 66/150 (44%)
file search 29/30 1/30
exact lookup 10/14 1/14
multi-step 10/10 0/10
ignores instructions inside documents 8/8 0/8
identity 20/20 17/20
calc / date / small talk 38/38 37/38
reply language 150/150 150/150

Limitations

  • A 2B-class model: when allowed to answer outside the user's files it can state wrong facts (it is told to label those answers as general, not from the files).
  • It sometimes cites a neighbouring passage instead of the one that answers.
  • Tool use needs the LubanAI app (or the same tool schemas); without tools it is a plain chat model.
  • Asked to transcribe a spoken request, it may answer the request instead.

License

Apache 2.0, as the base model (Gemma 4 license). See LICENSE. Built by LubanAI at the AI Learning Center (AILC), Muscat, Oman β€” www.ailc-oman.com.

Downloads last month
10
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for luban2026/lubanai-private-e2b

Finetuned
(531)
this model