Downloads · 30 days
0
zaidrahim162/qwen2.5-3b-islamic-finance-qlora
qwen2.5-3b-islamic-finance-qlora is a text generation model from zaidrahim162. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This model is a QLoRA fine-tuned version of Qwen2.5-3B-Instruct specialized for answering questions related to Islamic Finance.
Downloads · 30 days
0
Access
Public
Updated Aug 3, 2026
Repo size
131 MB
Likes
0
Public
Click a slice to open those files.
.safetensors120 MB · 88%
From the Hugging Face model README
This model is a QLoRA fine-tuned version of Qwen2.5-3B-Instruct specialized for answering questions related to Islamic Finance.
The model has been instruction-tuned on an Islamic finance dataset covering topics such as:
The objective is to provide helpful, educational, and context-aware responses about Islamic finance.
Developed by: Zaid Rahim
Base Model: Qwen/Qwen2.5-3B-Instruct
Fine-tuning Method:
Framework
Language
This model is intended for
This model:
Users should verify important information with authentic scholarly sources.
The model was fine-tuned using an instruction dataset focused on Islamic finance.
The dataset contains question-answer style instruction examples covering major concepts of Islamic finance.
Base Model
Method
Quantization
Parameter Efficient Fine Tuning
Trainer
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
base_model = AutoModelForCausalLM.from_pretrained(
"Qwen/Qwen2.5-3B-Instruct"
)
model = PeftModel.from_pretrained(
base_model,
"zaidrahim162/qwen2.5-3b-islamic-finance-qlora"
)
tokenizer = AutoTokenizer.from_pretrained(
"zaidrahim162/qwen2.5-3b-islamic-finance-qlora"
)
prompt = "Explain Murabaha."
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
If you use this model in research, please cite this repository.