Eris A0 Base is a 338M-parameter Turkish-English language model pre-trained from scratch by Kristalsoft (Eren Koçakgöl) on 9.63 billion tokens, with its own tokenizer and architecture. This is the pre-trained (not instruction-tuned) model. For chat, use Eris A0 Instruct.
The base model is the right starting point if you want to fine-tune Eris on your own data, for example for classification, extraction or text normalization in Turkish.
Try it in your browser: Eris A0 demo (runs locally, nothing is sent to a server). Source code (model, evaluation, demo): GitHub.
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "kristalsoft/Eris-A0-Base"
tokenizer = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True)
inputs = tokenizer("İstanbul Boğazı'nın iki yakası", return_tensors="pt")
out = model.generate(**inputs, max_new_tokens=60) # defaults: sampling, temperature 0.7, top_k 40
print(tokenizer.decode(out[0], skip_special_tokens=True))
trust_remote_code=True is required because Eris uses its own architecture (code in
modeling_eris.py, Apache-2.0). The model is a plain text continuer: it does not follow instructions.
| Developer | Kristalsoft (Eren Koçakgöl) |
| Model type | Decoder-only transformer, trained from scratch |
| Parameters | 338.1M (271.0M transformer body + 67.1M tied embedding) |
| Languages | Turkish, English (plus code and math) |
| Context length | 4,096 tokens |
| Vocabulary | 65,536 (byte-level BPE, own tokenizer) |
| Training tokens | 9.63B |
| Weights | bfloat16, safetensors |
| License | Apache-2.0 |
A byte-level BPE tokenizer with 65,536 entries, trained on the pre-training mixture. Digits are split one by one, text is NFC normalized, and English contraction rules are intentionally absent so that Turkish suffixes after an apostrophe stay intact ("İstanbul'da" becomes "İstanbul" + "'da"). Measured fertility: about 1.53 tokens per Turkish word and 1.29 per English word.
| Tokens | 9.63B (18,360 steps x 524,288 tokens) |
| Sequence length | 4,096 |
| Batch | 128 sequences per step |
| Learning rate schedule | warmup-stable-decay; the run was stopped at 96% of the planned 19,074 steps, during the decay phase |
| Precision | bfloat16 |
| Hardware | a single Google Cloud TPU chip (Colab TPU v6e-1, partly v5e-1) |
| Compute | about 2 x 10^19 FLOPs |
Pre-training data (token shares in training):
| Source | Share | License |
|---|---|---|
epfml/FineWeb2-HQ, Turkish (tur_Latn) |
35% | ODC-By |
| HuggingFaceFW/fineweb-edu, 10BT sample | 45% | ODC-By |
| codeparrot/github-code-clean, MIT and Apache-2.0 files only | 13% | MIT / Apache-2.0 |
HuggingFaceTB/finemath, finemath-4plus |
7% | ODC-By |
Documents were packed into 4,096-token sequences separated by <|endoftext|>. During training, attention
did not cross document boundaries. The released inference code treats the whole input as one document,
which is equivalent for normal use (a single prompt without <|endoftext|> in the middle).
Full benchmark results (TurkishMMLU, Belebele-TR, FLORES bits per byte and cloze tasks) against other small models, including Turkish-made models under 1B parameters, will be added here.
Apache-2.0, for both the weights and the model code in this repository. The training data keeps its own licenses (see the table above).
Kristalsoft offers task-specific fine-tuning, on-premise deployment and custom language model development.
@misc{eris-a0-2026,
title = {Eris A0: a small Turkish-English language model trained from scratch},
author = {Eren Koçakgöl},
organization = {Kristalsoft},
year = {2026},
url = {https://huggingface.co/kristalsoft/Eris-A0-Base}
}
Eris A0 Base, Kristalsoft (Eren Koçakgöl) tarafından sıfırdan eğitilmiş, 338M parametreli Türkçe-İngilizce bir dil modelidir. Kendi tokenizer'ı ve mimarisiyle 9.63 milyar token üzerinde ön eğitimden geçti. Bu, talimatla ince ayarlanmamış ön eğitimli modeldir. Sohbet için Eris A0 Instruct modelini kullanın.
Eris'i kendi verinizle ince ayarlamak istiyorsanız, örneğin Türkçe metin sınıflandırma, bilgi çıkarma ya da metin normalleştirme için, doğru başlangıç noktası bu modeldir.
Tarayıcınızda deneyin: Eris A0 demo (model cihazınızda çalışır, yazdıklarınız sunucuya gitmez). Kaynak kod (model, değerlendirme, demo): GitHub.
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "kristalsoft/Eris-A0-Base"
tokenizer = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True)
inputs = tokenizer("İstanbul Boğazı'nın iki yakası", return_tensors="pt")
out = model.generate(**inputs, max_new_tokens=60)
print(tokenizer.decode(out[0], skip_special_tokens=True))
Ağırlıklar ve model kodu Apache-2.0 lisanslıdır; eğitim verileri kendi lisanslarına tabidir. Göreve özel ince ayar, kurum içi kurulum ve dil modeli geliştirme konularında Kristalsoft ile iletişime geçebilirsiniz.