Text Generation
Transformers
Safetensors
Arabic
English
Hebrew
qwen2
multilingual
arabic
hebrew
qwen
educational
fine-tuned
open-source
egyptian-curriculum
conversational
text-generation-inference
Instructions to use Edraky/Edraky-AI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Edraky/Edraky-AI with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Edraky/Edraky-AI") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Edraky/Edraky-AI") model = AutoModelForCausalLM.from_pretrained("Edraky/Edraky-AI", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Edraky/Edraky-AI with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Edraky/Edraky-AI" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Edraky/Edraky-AI", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Edraky/Edraky-AI
- SGLang
How to use Edraky/Edraky-AI with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Edraky/Edraky-AI" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Edraky/Edraky-AI", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Edraky/Edraky-AI" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Edraky/Edraky-AI", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Edraky/Edraky-AI with Docker Model Runner:
docker model run hf.co/Edraky/Edraky-AI
Commit History
-
Update README.md
Verified signature0bbe7b5
-
Update README.md
Verified signaturef68b68d
-
Update README.md
Verified signatureb1f3a0f
-
Update README.md
Verified signature545988f -
Update README.md
Verified signature0c2361f -
Update README.md
Verified signaturec2b8fdf -
Upload LICENSE
Verified signature6559454 -
Upload model.safetensors
Verified signature1363f94 -
Upload 6 files
Verified signaturedeaa546 -
Create Edraky AI!
Verified signature<p align="center"> <img src="https://cdn-uploads.huggingface.co/production/uploads/686e726239f003427404a1be/uuB7LFKDX1C5B28DGJyZN.png" alt="Edraky Logo" width="200"/> </p> # 🧠 إدراكي (Edraky) — Multilingual Educational AI Assistant **إدراكي (Edraky)** is a multilingual AI model designed to support students with interactive learning, question-answering, and intelligent content generation across **Arabic**, **English**, and **Hebrew**. It is especially focused on **educational content** for middle-school learners, including subjects like Social Studies, Arabic Language, and more. --- ## 🧾 Model Details - **Languages**: Arabic, English, Hebrew - **License**: Apache 2.0 - **Base Model**: `Qwen/Qwen2-1.5B-Instruct` - **Library**: `transformers` - **Pipeline Tag**: `text-generation` - **Trained on**: - `rosoft/rStar-Coder` - `gsm8k-rerun/Qwen_Qwen2.5-1.5B-Instruct` - **Tags**: `multilingual`, `educational`, `fine-tuned`, `arabic`, `hebrew`, `qwen`, `student-assistant…721eda9 -
initial commit
Verified signature025311d