Downloads · 30 days
21
36% of all-time downloads
yazeed-mshayekh/Exodus-Arabic-Model
Exodus-Arabic-Model is a machine learning model from yazeed-mshayekh. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This is a production-ready bilingual chatbot that combines Llama 3 (via Ollama) and Qwen2.5-7B-Instruct-AWQ for handling both English and Arabic queries. The system uses a hybrid approach with semantic search and fine…
Downloads · 30 days
21
36% of all-time downloads
All-time downloads
59
Public
Parameters
7.6B
15.2 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors15.2 GB · 100%
From the Hugging Face model README
This is a production-ready bilingual chatbot that combines Llama 3 (via Ollama) and Qwen2.5-7B-Instruct-AWQ for handling both English and Arabic queries. The system uses a hybrid approach with semantic search and fine-tuned responses.
The system uses two main models:
Llama 3 (via Ollama):
Qwen2.5-7B-Instruct-AWQ:
This model is designed for:
This model should not be used for:
# Create and activate virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Install Ollama from https://ollama.ai
# Pull the Llama 3 model
ollama pull llama3:latest
# The model will be downloaded automatically when first used
# Or manually download from HuggingFace:
huggingface-cli download Qwen/Qwen2.5-7B-Instruct-AWQ
# Start the server
python main.py
# In a separate terminal, start the frontend
cd frontend
npm install
npm run dev
import requests
# Switch between models
response = requests.post("http://localhost:8000/api/models/switch",
json={"model_id": "llama3"})
# Send a query
response = requests.post("http://localhost:8000/api/chat",
json={"message": "What is your return policy?",
"language": "en"})
To fine-tune the model on your own FAQ data:
{"question": "What is your return policy?", "answer": "Our return policy allows..."}
cd Fine-tune
./run.sh
For more detailed fine-tuning options:
./run.sh --help
Resource Requirements:
Language Support:
Response Time:
The model can be fine-tuned on:
Data Preparation:
Fine-tuning:
Hyperparameters:
Content Filtering:
Bias Mitigation:
Privacy:
The project is actively maintained with:
For support:
If you use this model in your research, please cite:
@software{exodus_chatbot,
title = {Exodus: Bilingual FAQ Chatbot with Hybrid Model Support},
year = {2024},
url = {https://github.com/yazeedmshayekh2/Exodus},
author = {Yazeed Mshayekh},
version = {1.0.0}
}
This project is licensed under the MIT License. See the LICENSE file for details.