Edraky-Ai / README.md
Edraky's picture
Update README.md
c068180 verified

A newer version of the Gradio SDK is available: 5.47.0

Upgrade
metadata
title: ๐Ÿค– ุฅุฏุฑุงูƒูŠ (Edraky) - Multilingual Educational AI Model ๐Ÿ‡ช๐Ÿ‡ฌ
emoji: ๐Ÿš€
colorFrom: indigo
colorTo: green
sdk: gradio
sdk_version: 5.38.0
app_file: app.py
pinned: false
license: apache-2.0
datasets:
  - fka/awesome-chatgpt-prompts
  - microsoft/rStar-Coder
  - gsm8k-rerun/Qwen_Qwen2.5-1.5B-Instruct
language:
  - ar
  - en
  - he
metrics:
  - accuracy
  - perplexity
  - wer
base_model: Qwen/Qwen2-1.5B-Instruct
pipeline_tag: text-generation
library_name: transformers
tags:
  - multilingual
  - arabic
  - hebrew
  - qwen
  - educational
  - fine-tuned
  - open-source
  - egyptian-curriculum

๐Ÿค– ุฅุฏุฑุงูƒูŠ (Edraky) - Multilingual Educational AI Model ๐Ÿ‡ช๐Ÿ‡ฌ

Edraky is a fine-tuned multilingual model built on Qwen2-1.5B-Instruct, designed to provide educational support for Arabic-speaking students, especially targeting Egypt's 3rd preparatory curriculum. It supports Arabic, English, and Hebrew to ensure flexible, broad usage in multilingual environments.

๐Ÿง  About Edraky

Edraky is part of the "ุฅุฏุฑุงูƒูŠ" educational initiative to democratize access to AI-powered tools for students in Egypt and the broader Arab world. By fine-tuning the powerful Qwen2 base model, Edraky delivers context-aware, curriculum-aligned, and interactive responses that help learners understand core subjects such as:

  • ุงู„ู„ุบุฉ ุงู„ุนุฑุจูŠุฉ (Arabic Language)
  • ุงู„ุฏุฑุงุณุงุช ุงู„ุงุฌุชู…ุงุนูŠุฉ (Social Studies)
  • ุงู„ุชุงุฑูŠุฎ ูˆุงู„ุฌุบุฑุงููŠุง (History and Geography)
  • ุงู„ู„ุบุฉ ุงู„ุฅู†ุฌู„ูŠุฒูŠุฉ (English)

๐Ÿš€ Key Features

  • ๐Ÿค– Text Generation & Q&A: Answer student questions in an educational and child-safe manner.
  • ๐Ÿ“– Curriculum Support: Focused especially on 3rd preparatory grade in Egypt.
  • ๐ŸŒ Multilingual Input: Supports Arabic, English, and Hebrew.
  • ๐Ÿ”€ Open-Source: Available for research, personal, or educational use.
  • ๐Ÿ“š Trained on curated educational prompts for logic, language understanding, and curriculum-based queries.

๐Ÿงช Training & Fine-Tuning

Base model: Qwen/Qwen2-1.5B-Instruct

Training Data Sources:

  • fka/awesome-chatgpt-prompts
  • gsm8k-rerun/Qwen_Qwen2.5-1.5B-Instruct
  • Additional data created from Arabic curriculum-style questions and student textbooks

Training Methodology:

  • Supervised fine-tuning
  • Prompt-optimized inputs
  • Tokenized using Hugging Faceโ€™s tokenizer compatible with Qwen2 models

๐Ÿ” Evaluation

Model was evaluated on:

  • โœ”๏ธ Accuracy for subject-specific answers
  • โœ”๏ธ Perplexity for fluency and coherence
  • โœ”๏ธ WER (Word Error Rate) for language understanding

    Evaluation still in progress for full benchmarks โ€” to be published soon.

๐Ÿง‘โ€๐Ÿ’ป Example Usage

from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("Edraky/Edraky")
tokenizer = AutoTokenizer.from_pretrained("Edraky/Edraky")
prompt = "ุงุดุฑุญ ุงู„ุซูˆุฑุฉ ุงู„ุนุฑุงุจูŠุฉ ุจุฅูŠุฌุงุฒ"
inputs = tokenizer(prompt, return_tensors="pt")
output = model.generate(**inputs, max_new_tokens=150)
print(tokenizer.decode(output[0], skip_special_tokens=True))

๐Ÿง‘โ€๐Ÿ““ Intended Use

  • ๐Ÿ’ฌ Classroom support AI assistant
  • โœ๏ธ Writing and summarization in Arabic
  • โ“ Question answering for exam preparation
  • ๐Ÿ” Fact recall for historical, literary, and social studies content

โŒ Not Intended For:

  • โŒ Political or religious fatwa content
  • โŒ Personal decision-making
  • โŒ Generating offensive or misleading answers

๐ŸŒฑ Future Plans

  • โœ… Add voice input/output via Whisper integration
  • โœ… Online quiz companion
  • โœ… Add visual aids (diagrams, maps)
  • โœ… Full web platform integration (see edraky.rf.gd)

๐Ÿ“ข Maintainers

Developed by: Edraky AI Team
๐ŸŒ Website: https://edraky.rf.gd
๐Ÿ“ง Contact: [email protected]

๐Ÿ“œ Citation

@misc{edraky2025,
  title={Edraky: Multilingual Educational AI Model},
  author={Edraky Team},
  year={2025},
  howpublished={\url{https://huggingface.co/Edraky/Edraky}}
}

ู‡ุฐุง ุงู„ู…ุดุฑูˆุน ู…ู† ุฃุฌู„ ุฏุนู… ุงู„ุชุนู„ูŠู… ููŠ ู…ุตุฑ ุจุงุณุชุฎุฏุงู… ุงู„ุฐูƒุงุก ุงู„ุงุตุทู†ุงุนูŠ. ู†ุฑุฌูˆ ุฃู† ูŠูƒูˆู† ู…ููŠุฏู‹ุง ู„ุฌู…ูŠุน ุงู„ุทู„ุงุจ ูˆุงู„ู…ุนู„ู…ูŠู† ๐ŸŒŸ