IslamQA/islamqa
Updated โข 95
How to use IslamQA/bge-m3-finetuned with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="IslamQA/bge-m3-finetuned") # Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("IslamQA/bge-m3-finetuned")
model = AutoModel.from_pretrained("IslamQA/bge-m3-finetuned")An embedding model optimized for retrieving passages that answer questions about Islam. The passages are inherently multilingual, as they contain quotes from the Quran and Hadith. They often include preambles like "Bismillah" in various languages and follow a specific writing style.
180k multilingual questions and answers about Islam, using hard negative mining.
Base model
BAAI/bge-m3