Views
No views yet
llama.cpp and Ollama.unsloth/gemma-4-E4B-ithelenk/gemma-4-E4B-lora — Unsloth fine-tune on Kaggle T4helenk/gemma-4-E4B-finetunepeft.merge_and_unload → llama.cpp/convert_hf_to_gguf.py → llama-quantize Q4_K_Mhelenkwok/offlineaid corpus, seed=3407. Both models served by Ollama (Q4_K_M). Greedy decoding, explicit "Answer in {language}" directive.| Language | Metric | stock + RAG | ft + RAG | Δ |
|---|---|---|---|---|
| EN | ROUGE-L F1 | 0.688 | 0.699 | +0.011 |
| EN | Format-OK % | 91.9% | 94.6% | +2.7 pp |
| ZH | Format-OK % | 45.9% | 62.2% | +16.3 pp |
| AR | ROUGE-L F1 | 0.085 | 0.139 | +63% |
| AR | Format-OK % | 21.6% | 54.1% | +32.4 pp (2.5×) |
| all | ROUGE-L F1 | 0.334 | 0.355 | +0.021 |
| all | Format-OK % | 53.2% | 70.3% | +17.0 pp |
bash scripts/tier_a_pipeline_eval_only.sh in the OfflineAid repo.ollama pull hf.co/helenk/gemma-4-E4B-finetune-GGUFModelfile:FROM /path/to/gemma-4-E4B-offlineaid-Q4_K_M.gguf
RENDERER gemma4
PARSER gemma4
PARAMETER num_ctx 32768
PARAMETER stop "<turn|>"
PARAMETER temperature 0.0ollama create offlineaid-e4b -f Modelfile
ollama run offlineaid-e4b./llama-cli \
-m gemma-4-E4B-offlineaid-Q4_K_M.gguf \
-p "Answer in Simplified Chinese.\n\nQUESTION: ..." \
--temp 0.0 -n 256helenkwok/offlineaid) is CC-BY-4.0.helenk/gemma-4-E4B-finetunehelenk/gemma-4-E4B-lorahelenk/gemma-4-E2B-finetune-GGUF