Downloads · 30 days
0
DenizGogus/denela-translator-models
denela-translator-models is a translation model from DenizGogus. Use it when you need text moved from one language to another. It is set up for transformers. The card lists the license as apache-2.0.
Denela is an experimental AI-assisted constructed language with its own grammar, lexicon, derivation rules, and orthography. English and Turkish are used as reference meaning channels for training and inspection, not…
Downloads · 30 days
0
Access
Public
Updated Jul 17, 2026
Repo size
10.8 GB
Likes
0
Public
Click a slice to open those files.
.safetensors6 GB · 100%
From the Hugging Face model README
Denela is an experimental AI-assisted constructed language with its own grammar, lexicon, derivation rules, and orthography. English and Turkish are used as reference meaning channels for training and inspection, not as the identity of the language itself. This repository contains local transformers checkpoints for translating:
The hosted demo/API is intended to call these local checkpoints directly. It does not need an external LLM at inference time.
denela-translator/
to-denela-translator/
english-to-denela-translator/
turkish-to-denela-translator/
from-denela-translator/
english-to-denela-translator is the routed English -> Denela checkpoint.
turkish-to-denela-translator is the routed Turkish -> Denela checkpoint.
to-denela-translator is retained as a shared forward fallback.
from-denela-translator is used for Denela -> English/Turkish.
denela-translator is an earlier/general checkpoint kept for compatibility.
This model is intended for:
This model is not intended for:
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
repo_id = "DenizGogus/denela-translator-models"
tokenizer = AutoTokenizer.from_pretrained(repo_id, subfolder="english-to-denela-translator")
model = AutoModelForSeq2SeqLM.from_pretrained(repo_id, subfolder="english-to-denela-translator")
prompt = "translate English to Denela: I want to see the stars tonight."
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(
**inputs,
max_new_tokens=128,
num_beams=16,
early_stopping=True,
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
For Denela -> English/Turkish, load from-denela-translator and use prompts like:
translate Denela to English: ka na hira taraai naku
translate Denela to Turkish: ka na hira taraai naku
Input: translate English to Denela: I want to see the stars tonight.
Output: ka na nevir hira taraai naku
Input: translate Denela to Turkish: ka na hira ka en nara en tara
Output: Arkadaşımın yıldızını görüyorum.
Input: translate Turkish to Denela: Seni ve beni seviyorum.
Output: ka na leva tu ko ka
The model was fine-tuned from google/byt5-small on synthetic parallel examples for English, Turkish, and Denela. The training pipeline uses:
The Denela v0.2 local training build used:
ko/ke and fu/su/muThe 24-case relation/modality suite improved from 16.7% to 100% after clean retraining. On a fixed 250-example sample per direction, the promoted checkpoints achieved:
| Direction | Normalized exact | Mean token F1 |
|---|---|---|
| English -> Denela | 50.0% | 90.4% |
| Turkish -> Denela | 43.6% | 88.2% |
| Denela -> English | 34.0% | 77.8% |
| Denela -> Turkish | 19.2% | 61.7% |
Exact match is conservative because multiple natural reference translations may preserve the same meaning.
The current runtime chooses a separate forward checkpoint by source language, generates with 16 beams, and reranks up to eight candidates with lexicon, grammar, derivation, and source-alignment checks. On the fixed 200-item candidate benchmark for each forward direction:
| Routed checkpoint | Direction | Normalized exact | Mean token F1 |
|---|---|---|---|
| polished shared-forward winner | English -> Denela | 44.5% | 88.9% |
| Turkish specialist | Turkish -> Denela | 41.0% | 86.8% |
The original shared forward checkpoint remains available as a fallback. Forward checkpoint promotion is evaluated independently by source language; the reverse checkpoint is unchanged.
The full training dataset is not included in this model repo. Dataset release/licensing is handled separately from the model weights.
On a fixed 75-example-per-task validation sample, the promoted v0.2 local models achieved:
| Task | Normalized exact | Mean similarity | Mean token F1 |
|---|---|---|---|
| English -> Denela | 46.7% | 87.9% | 89.0% |
| Turkish -> Denela | 45.3% | 89.6% | 88.6% |
| Denela -> English | 50.7% | 89.9% | 85.8% |
| Denela -> Turkish | 30.7% | 81.7% | 69.1% |
The public app also applies Denela-specific segmentation, punctuation handling, token breakdowns, derivation explanations, and grammar validation around the model outputs.
Evaluation below comes from a held-out 500-example-per-task local evaluation report.
| Task | Count | Exact | Normalized Exact | Mean Similarity | Mean Token F1 | Invalid Denela |
|---|---|---|---|---|---|---|
| English -> Denela | 500 | 44.4% | 61.8% | 0.926 | 0.960 | 0.0% |
| Turkish -> Denela | 500 | 44.2% | 60.8% | 0.917 | 0.952 | 0.0% |
| Denela -> English | 500 | 57.6% | 61.0% | 0.925 | 0.939 | 0.0% |
| Denela -> Turkish | 500 | 35.6% | 41.0% | 0.892 | 0.777 | 0.0% |
The Turkish direction is currently the weakest and may produce fluent but semantically incomplete Turkish, especially for possession, conjunction, and less frequent vocabulary.
This is a language experiment, not a universal translation model. Because the training data is synthetic and filtered through a small constructed lexicon, it may overrepresent simple declarative sentences and underrepresent real-world cultural, dialectal, or idiomatic language use.
google/byt5-smalltransformerssafetensorstorch and transformersnum_beams=16, max_new_tokens=128num_beams=4, max_new_tokens=128The model weights and companion code are released under Apache-2.0.
Training dataset licensing is separate and should be reviewed before publishing the generated dataset itself.