Model and files
- Training base Google Gemma 4 E2B Instruct, revision
4adf15748de9e1a0097b6274cee9c15836c41c37.
- Verified GGUF inference base Google Gemma 4 E2B Instruct QAT Q4_0, revision
675cff4. The tested base file is gemma-4-E2B_q4_0-it.gguf with SHA-256 fa401b55b07ee70a54c6dae3903c783a6e65064312529ea57175cb5f8dec6634.
berrylume-e2b-v1-lora-f16.gguf contains the F16 adapter for llama.cpp. adapter_config.json and adapter_model.safetensors are the PEFT adapter. Load the corresponding Gemma base separately.
The upstream weights are Apache 2.0. This release adds a QLoRA adapter fine-tuned by blueBerryOS. The tested QAT weights come from Google and are downloaded separately.
Run locally
Download the base GGUF from Google and verify it against the digest above. With both files in the same directory, verify the adapter using sha256sum -c SHA256SUMS --ignore-missing. This command can also verify the PEFT files and manifests when they are present.
The local configuration tested with Berry AI uses llama.cpp build 12244 on CPU:
llama-server --model gemma-4-E2B_q4_0-it.gguf \ --lora-scaled berrylume-e2b-v1-lora-f16.gguf:0.5 \ --host 127.0.0.1 --port 8080 --ctx-size 4096 --parallel 1 \ --n-gpu-layers 0 --offline --no-webui --no-agent --reasoning off
Training and evaluation
The adapter was trained on a Tesla T4 with 48 project-authored examples, balanced between Italian and English. QLoRA used rank 16 for two epochs and 24 optimizer steps. On the 16 held-out examples, the evaluation loss went from 4.245 to 0.730. This measures next-token prediction on a small project-specific set. See training.json for details.
Berry AI was smoke-tested on x86-64 CPU in Italian and English, including questions that asked it to cite source passages. The project owner also reported completing a Raspberry Pi smoke test. No quantitative Raspberry Pi results are reported here.
Limitations
Use adapter intensity 0.5 with the tested QAT base. At intensity 1.0, local tests showed repetition and false claims of sending a draft. At 0.5 those issues did not recur in the targeted tests. Actions in other applications are handled by Berry AI.