diktalo-e2b (GGUF)

A small fine-tuned Gemma 4 E2B model that turns Hungarian voice dictation transcripts into structured notes (JSON).

The smaller one. Faster and lighter, meant for weaker phones. Output quality is a bit worse than the E4B version, but for short and medium dictations it works fine.

There is also a E4B version. Code and training data: github.com/seyuyo/diktalo

What it does

You record something on your phone (meeting notes, todo list, shopping list, whatever), Whisper turns it into text, and this model makes a clean note out of it:

{
  "cim": "short title",
  "osszefoglalo": "1-3 sentence summary",
  "pontok": ["main points"],
  "teendok": ["todos, empty list if none"],
  "datumok": ["mentioned dates / deadlines with context"]
}

(The field names are Hungarian: cim = title, osszefoglalo = summary, pontok = points, teendok = todos, datumok = dates.)

It was also trained to deal with typical speech-to-text problems:

  • filler words (ΓΆΓΆΓΆ, hΓ‘t, izΓ©) are dropped
  • self-corrections like "on Tuesday... I mean Wednesday" are resolved
  • misheard / nonsense words are not copied over and not made up, the model either fixes them from context or leaves them out

It's a single-task model, not a chatbot. Don't expect it to answer general questions.

Prompt

Important: use exactly this prompt (character for character), with the transcript appended at the end. This is what the model was trained on, if you change it the results get worse.

Az alΓ‘bbi szΓΆveg egy magyar nyelvΕ± hangfelvΓ©tel gΓ©pi Γ‘tirata. StrukturΓ‘ld az alΓ‘bbi JSON formΓ‘tumba. A mezΕ‘k tartalma nyelvtanilag helyes, termΓ©szetes magyar legyen. Ha egy szΓ³ vagy kifejezΓ©s az Γ‘tiratban nem egyΓ©rtelmΕ± vagy furcsΓ‘n hangzik, NE talΓ‘lj ki hozzΓ‘ jelentΓ©st. Ha a szΓΆvegkΓΆrnyezetbΕ‘l egyΓ©rtelmΕ±en kiderΓΌl, mire utal (pl. egy korΓ‘bban mΓ‘r emlΓ­tett dologra), azt hasznΓ‘ld; ha nem derΓΌl ki, Γ©s a szΓ³ szerinti Γ‘tvΓ©tel Γ©rtelmetlen vagy nyelvtanilag hibΓ‘s mondatot eredmΓ©nyezne, hagyd ki teljesen β€” soha ne mΓ‘solj be szΓ³ szerint egy zajos/Γ©rtelmetlen kifejezΓ©st csak azΓ©rt, mert az Γ‘tiratban szerepelt. Csak a JSON-t add vissza, semmi mΓ‘st.

{
  "cim": "rΓΆvid, tΓΆmΓΆr cΓ­m",
  "osszefoglalo": "1-3 mondatos ΓΆsszefoglalΓ³",
  "pontok": ["a tartalom fΕ‘ pontjai listΓ‘ban"],
  "teendok": ["konkrΓ©t teendΕ‘k, ha vannak, egyΓ©bkΓ©nt ΓΌres lista"],
  "datumok": ["emlΓ­tett dΓ‘tumok/hatΓ‘ridΕ‘k kontextussal, ha vannak"]
}

Átirat:
<your transcript here>

Thinking mode is disabled, the model answers with the JSON right away.

Files

File Description
gemma-4-e2b-it.Q4_K_M.gguf the model, Q4_K_M quantization (~3.4 GB)
gemma-4-e2b-it.BF16-mmproj.gguf vision/audio projector from the base model, not needed for text only
Modelfile Ollama Modelfile with the Gemma 4 chat template

Running with Ollama

Download the GGUF and the Modelfile into one folder, then:

ollama create diktalo-e2b -f Modelfile
ollama run diktalo-e2b

Running with llama.cpp

llama-cli -m gemma-4-e2b-it.Q4_K_M.gguf --temp 0.3 -c 8192

Training

  • Base model: unsloth/gemma-4-E2B-it
  • QLoRA (4-bit) with Unsloth, on a single RTX 5060 Ti 16GB
  • LoRA r=8, alpha=8, 1 epoch, learning rate 1e-4, only the language layers were tuned
  • Loss computed only on the assistant answer (the JSON), not on the prompt
  • 500 synthetic examples, generated with DeepSeek: realistic Whisper-style transcripts on random everyday topics (work meetings, doctor visits, car repair, travel planning, etc.) with different speaking styles and some transcription noise

Limitations

  • Trained only on synthetic data, so real transcripts can still trip it up sometimes
  • Hungarian only
  • Very long dictations (5+ minutes) can lose some details
  • Always check dates and names in the output, it can still get them wrong

License

Apache 2.0, same as the base model (Gemma 4 license).

Downloads last month
166
GGUF
Model size
5B params
Architecture
gemma4
Hardware compatibility
Log In to add your hardware

4-bit

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

Model tree for seyuyo/diktalo-e2b-GGUF

Quantized
(23)
this model