Skip to content
Projects

About

Cevahir Zihin: a mind that learns by living, not a Transformer. It keeps knowledge as evidence on ties, attends with a Seven-Place Focus and learns from every conversation. Also: a Turkish BPE tokenizer, a Transformer language-model core and cognitive systems.

AI & Machine Learning

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+2
in 15 days
+10
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

docs/book/README-en.md

Original

Cevahir AI — Anatomy of an AI Engine

Turkish table of contents · Repository · Existing English module guides

Cevahir is being developed as an open-source research and educational resource. This book follows the real engine from text representation and neural computation to training, inference, application orchestration and ongoing living-learning research. It complements the existing engineering documentation; it does not replace the implementation with a tutorial project.

The full chapters are currently in Turkish. This page is an English navigation guide, not a claim that the complete book has been translated. Existing English documentation remains available. Source paths and Python symbols are shared across languages.

Chapters in Turkish Existing reference material
1. Engine and learning, 2. Text and tokenization Tokenizer guide
3. Neural computation, 4. Attention, 5. Transformer Neural core guide
6. Training, 7. Model lifecycle Training service, active training manager
8. Generation, 9. Memory, cognition and tools, 10. End-to-end paths Cognitive guide; older model-management guide needs the compatibility caveats in chapter 7.
11. Research laboratory, 12. Open questions Preserved research records, executable isolated experiments

Each chapter connects concepts to actual callers, classes, methods, input/output shapes, configuration gates and tests. Supported, enabled by default, tested and empirically beneficial are different claims. Performance conclusions are restricted to their recorded conditions; no trained-model quality is inferred from a small tensor test.

Chapter 2 now includes a topic-to-file/method map and six executed examples using Cevahir's distributed vocabulary and merges. It follows intermediate pieces, model IDs, decoding, mode-specific defaults and preprocessing loss through the actual implementation. The recorded outputs can be reproduced with python scripts/book_tokenizer_walkthrough.py; the command also checks that the tokenizer assets remain unchanged.

The book and its source references are reviewed together. Run python scripts/check_book.py from the repository root to check local links, Python symbols and reviewed-source fingerprints. A passing result cannot establish semantic correctness. When a source changes, review its chapter before renewing the fingerprint. See the maintenance rules and source map.

Chapters 3–6 were substantially expanded on September 21 with mathematical derivations, original-paper citations, dated industry comparisons, solved exercises, and seven CPU example groups using real Cevahir components. See the academic reading and reproducibility guide. These dated expansions are preserved as part of the completed first Turkish manuscript; they do not establish external peer review.

Chapters 7–9 now add checkpoint identity and resume, generation mathematics, retrieval and tool orchestration, with 15 solved exercises and ten additional executed example groups. Fixed-logit and manual-vector fixtures are identified explicitly. The calculator expression-truncation bug found during review was corrected; its pre-fix output remains as a historical negative example. See the current lifecycle/runtime evidence and the academic reading guide.

Complete first Turkish manuscript

The planned 12-chapter manuscript was completed locally on September 21, 2026: 142 second-level headings, 81 third-level headings, 63 solved exercises and 76 glossary entries. Headings include exercise and bibliography sections; these are structural counts, not unique scientific concepts. The six executable companions contain 33 examples or example groups and all passed their recorded-result checks. See the completion record, detailed contents, glossary, integrative study and verification.

The latest additions are local and uncommitted. They are not part of an earlier DOI archive. Completion refers to the book's defined teaching scope, not a resolution of the open living-learning problem, a full English translation, external peer review or a typeset final edition.

Explore related projects

Loading…