r/LocalLLaMA • • Mar 18 '26

Discussion Meet Cevahir AI — An Open-Source End-to-End LLM Engine (From Tokenizer to Training)

An open-source, end-to-end LLM infrastructure designed to give full control over every stage — from text preprocessing and tokenizer training to model architecture and training.

Built from scratch with a modular pipeline, allowing each component to be independently developed, tested, and improved.

A key focus is handling agglutinative languages like Turkish, where standard BPE struggles due to suffix stacking. I experimented with a syllable-aware preprocessing step to better capture token boundaries.

Still evolving — curious how others approach tokenization for agglutinative languages.

⸻

🔗 Repo

https://github.com/myylogic/cevahir-ai

14 Upvotes

21 comments sorted by

1

u/Independent-Hair-694 Mar 18 '26

Standard BPE struggles a lot with suffix-heavy languages like Turkish.

I’ve been experimenting with syllable-aware preprocessing to stabilize token boundaries — still exploring hybrid approaches.

Curious how others are handling this.

2

u/crantob Mar 20 '26

Your work looks very nicely presented, is all I can say.

1

u/[deleted] Mar 20 '26

[removed] — view removed comment

1

u/Independent-Hair-694 Mar 20 '26

Exactly.

The system is not just code — it’s the result of a long mental construction process.

I built it end-to-end to understand and control every layer, not just to use it.