Gemma E4B: Multilingual Response Fine-Tuning

Gemma E4B: Multilingual Response Fine-Tuning
LLM Fine-Tuning

LoRA fine-tuning for concise, context-aware replies and policy following across 12 languages.

Technologies:
PythonPyTorchTransformersPEFTLoRA
View Project →

Project overview

My role

AI/ML Engineer | LLM Fine-Tuning & Response Generation

Project

Fine-tuned Gemma E4B with LoRA to generate concise, context-aware text responses across 12 languages. Trained on text inputs, response policies and conversation/backend context. In matched evaluations, silence-policy compliance improved from 0/59 to 59/59, literal fact checks from 47/64 to 62/64, and truncated test replies fell from 19 to zero. Built multilingual training data, trained 34.9M adapter parameters, selected the checkpoint on development performance and verified exported artifacts using Python, PyTorch, Transformers and PEFT.

Evaluation

Matched evaluation results: Gemma E4B response fine-tuning

Evaluation scope

These are matched checks from the recorded fine-tuning experiment. Silence compliance covers 59 required-silence cases and literal fact preservation covers 64 diagnostic checks. The truncation comparison was recorded across 639 test cases. This case study concerns text-response generation; the separate Gemma E2B project concerns audio classification.

Explore related work

See Gemma E2B audio classification or explore my LLM fine-tuning services. For a similar project, tell me what you need to build.