Downloads · 30 days
7
4% of all-time downloads
shamilmohammedi/Azhar_Model_v0.2_Final
Azhar_Model_v0.2_Final is a machine learning model from shamilmohammedi. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is a fine-tuned version of Qwen2.5-7B optimized for Islamic Jurisprudence (Fiqh) using the Shamela Library corpus.
Downloads · 30 days
7
4% of all-time downloads
All-time downloads
181
Public
Parameters
7.6B
15.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors15.2 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of Qwen2.5-7B optimized for Islamic Jurisprudence (Fiqh) using the Shamela Library corpus.
| Metric | Initial Value | Final Value | Improvement |
|---|---|---|---|
| Cross-Entropy Loss | 15.3510 | 2.2705 | 85.21% |
| Perplexity (PPL) | 4,643,546.51 | 9.68 | 99.99% |
The model was evaluated across 4 paradigms. The Azhar Hybrid approach showed:
To ensure reliability, the model was tested across four different paradigms:
The full comparison results (Base vs RAG vs FT vs Hybrid) are available in the attached Azhar_Model_Quad_Comparison_v0.1.csv file in this repository.
The training exhibited a stable downward trend in both Loss and Perplexity curves, indicating successful domain adaptation without catastrophic forgetting.
Developed by: MSc. Shamil Al-Mohammedi This model serves as the primary artifact for the research paper: "Fine-Tuning Large Language Models on Classical Arabic Juristic Corpora: A Case Study on the Shamela Library."