Congi-libya/BayanSimplify-v0.3

Model

BayanSimplify-v0.3

2

3 commits

1 repos using this model

1 linked in READMEs

updated Oct 5, 2026

See the code

README

BayanSimplify-v0.3

Model 3 of the Bayan project and our best model: AraT5v2 trained on Bayan corpus v1, decoded with four beams.

What it does

Trained on Bayan corpus v1 (14,975 rows written by Gemma 4 31B and checked by a judge model), which teaches restructuring, restraint on easy text and keeping protected text intact. Decoded with four beams, it outperforms every earlier Bayan model.

BayanBench v2.0, test, core items, int8, four beams, through the app's text step:

BayanSimplify-v0.3Earlier models
Meaning kept82%at most 78.6%
Longest clause, words cut5.2BayanSimplify-v0.2 in the app: 1.9
Numbers kept100%

Against BayanSimplify-v0.2 behind the same checks it is no worse on meaning and cuts about three times as many words. In a blind human rating (18 test sentences, four team raters and a reader with dyslexia), its changed outputs were found easier 86% of the time (BayanSimplify-v0.2: 60%), none harder, and every team vote between the two chose BayanSimplify-v0.3.

Input: بسط: (without the shadda), then the text. Decoding: four beams, 3-gram blocking, up to 256 tokens (the defaults in generation_config.json). The app's int8 bundle is in BayanSimplify-ONNX (v0.3/).

Use

from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

repo = "Congi-libya/BayanSimplify-v0.3"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForSeq2SeqLM.from_pretrained(repo)

text = "وقد أدى التوسع العمراني السريع الذي شهدته المدينة خلال العقدين الماضيين إلى ازدحام مروري خانق في ساعات الذروة."
x = tok("بسط: " + text, return_tensors="pt", max_length=256, truncation=True)
y = model.generate(**x, num_beams=4, no_repeat_ngram_size=3, max_length=256)
print(tok.decode(y[0], skip_special_tokens=True))

The BayanSimplify family

ModelWhat it isBase modelTraining dataIn the Bayan app
BayanSimplify-v0.1Model 1AraT5v2-base-1024SAMER, level 5 → 3not shipped
BayanSimplify-v0.2Model 2AraT5v2-base-102422,733-pair mix (SAMER, Baseet, DAASI) with strength tags"Earlier large model"
BayanSimplify-v0.2-FastModel 2, compactAraBARTthe same mix"Fast model", the default download
BayanSimplify-v0.3Model 3, our bestAraT5v2-base-1024Bayan corpus v1, 14,975 rows"Large model", four beams
BayanSimplify-ONNXThe int8 bundles the app downloadsv0.2-Fast, v0.2, v0.3

Licence and data

CC BY-NC 4.0 (non-commercial), in line with the training data's terms. SAMER is used under the CAMeL Lab's permission to fine-tune and share weights for non-commercial use; its text is not redistributed here.

About Bayan

Bayan (بيان) simplifies Arabic text for readers with dyslexia, entirely on an Android phone: select text in any app, choose «تبسيط» (Simplify), and a simpler version appears over the page. Built by Team Cogni for the Samsung Innovation Campus AI capstone, 2026. Every number on this card comes from the team's final report and BayanBench v2.0, the benchmark built for the task (meaning scored by Gemma 4 31B, checked against human raters, AUC 0.85).

arabic
arat5
bayan
dyslexia
endpoints_compatible
safetensors
t5
text2text-generation
text-generation
text-generation-inference
text-simplification
transformers

Congi-libya/BayanSimplify-v0.3

Model

BayanSimplify-v0.3

2

3 commits

1 repos using this model

1 linked in READMEs

updated Oct 5, 2026

See the code

README

BayanSimplify-v0.3

Model 3 of the Bayan project and our best model: AraT5v2 trained on Bayan corpus v1, decoded with four beams.

What it does

Trained on Bayan corpus v1 (14,975 rows written by Gemma 4 31B and checked by a judge model), which teaches restructuring, restraint on easy text and keeping protected text intact. Decoded with four beams, it outperforms every earlier Bayan model.

BayanBench v2.0, test, core items, int8, four beams, through the app's text step:

BayanSimplify-v0.3Earlier models
Meaning kept82%at most 78.6%
Longest clause, words cut5.2BayanSimplify-v0.2 in the app: 1.9
Numbers kept100%

Against BayanSimplify-v0.2 behind the same checks it is no worse on meaning and cuts about three times as many words. In a blind human rating (18 test sentences, four team raters and a reader with dyslexia), its changed outputs were found easier 86% of the time (BayanSimplify-v0.2: 60%), none harder, and every team vote between the two chose BayanSimplify-v0.3.

Input: بسط: (without the shadda), then the text. Decoding: four beams, 3-gram blocking, up to 256 tokens (the defaults in generation_config.json). The app's int8 bundle is in BayanSimplify-ONNX (v0.3/).

Use

from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

repo = "Congi-libya/BayanSimplify-v0.3"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForSeq2SeqLM.from_pretrained(repo)

text = "وقد أدى التوسع العمراني السريع الذي شهدته المدينة خلال العقدين الماضيين إلى ازدحام مروري خانق في ساعات الذروة."
x = tok("بسط: " + text, return_tensors="pt", max_length=256, truncation=True)
y = model.generate(**x, num_beams=4, no_repeat_ngram_size=3, max_length=256)
print(tok.decode(y[0], skip_special_tokens=True))

The BayanSimplify family

ModelWhat it isBase modelTraining dataIn the Bayan app
BayanSimplify-v0.1Model 1AraT5v2-base-1024SAMER, level 5 → 3not shipped
BayanSimplify-v0.2Model 2AraT5v2-base-102422,733-pair mix (SAMER, Baseet, DAASI) with strength tags"Earlier large model"
BayanSimplify-v0.2-FastModel 2, compactAraBARTthe same mix"Fast model", the default download
BayanSimplify-v0.3Model 3, our bestAraT5v2-base-1024Bayan corpus v1, 14,975 rows"Large model", four beams
BayanSimplify-ONNXThe int8 bundles the app downloadsv0.2-Fast, v0.2, v0.3

Licence and data

CC BY-NC 4.0 (non-commercial), in line with the training data's terms. SAMER is used under the CAMeL Lab's permission to fine-tune and share weights for non-commercial use; its text is not redistributed here.

About Bayan

Bayan (بيان) simplifies Arabic text for readers with dyslexia, entirely on an Android phone: select text in any app, choose «تبسيط» (Simplify), and a simpler version appears over the page. Built by Team Cogni for the Samsung Innovation Campus AI capstone, 2026. Every number on this card comes from the team's final report and BayanBench v2.0, the benchmark built for the task (meaning scored by Gemma 4 31B, checked against human raters, AUC 0.85).

arabic
arat5
bayan
dyslexia
endpoints_compatible
safetensors
t5
text2text-generation
text-generation
text-generation-inference
text-simplification
transformers