|
--- |
|
license: bigcode-openrail-m |
|
--- |
|
--- |
|
license: bigcode-openrail-m |
|
tags: |
|
- islam |
|
- chatbot |
|
- quran |
|
- muslim-ai |
|
- agent |
|
--- |
|
|
|
# π AgentMusim |
|
|
|
**AgentMusim** is an AI agent designed for the global Muslim community. It provides answers to faith-based questions, helps with prayer timings, and integrates culturally relevant knowledge using modern language models. |
|
|
|
## β¨ Features |
|
- Quranic Q&A |
|
- Hadith reference support |
|
- Prayer times (based on location) |
|
- Fasting calendar |
|
- General Islamic assistant |
|
|
|
## π§ Model Details |
|
- Base model: `Mistral` / `LLaMA2` / `Phi-2` (specify) |
|
- Fine-tuned on Islamic QA datasets and trusted sources. |
|
- Trained using the `bigcode-openrail-m` license guidelines. |
|
|
|
## π€ Usage |
|
```python |
|
from transformers import AutoModelForCausalLM, AutoTokenizer |
|
|
|
tokenizer = AutoTokenizer.from_pretrained("likhonsheikh/AgentMusim") |
|
model = AutoModelForCausalLM.from_pretrained("likhonsheikh/AgentMusim") |
|
|
|
inputs = tokenizer("Who was the first Prophet in Islam?", return_tensors="pt") |
|
outputs = model.generate(**inputs) |
|
print(tokenizer.decode(outputs[0])) |
|
|