Transformers
Safetensors
embedding
retrieval
islam
multilingual
model
islamqa

Run this model with HF Jobs

Run IslamQA/multilingual-e5-large-instruct-finetuned on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/IslamQA/multilingual-e5-large-instruct-finetuned. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/IslamQA/multilingual-e5-large-instruct-finetuned on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

from transformers import AutoModel, AutoTokenizer

from peft import PeftModel Load the base model and tokenizer

base_model_name = "intfloat/multilingual-e5-large-instruct"

tokenizer = AutoTokenizer.from_pretrained(base_model_name)

base_model = AutoModel.from_pretrained(base_model_name) Load the LoRA adapter directly

adapter_repo = "IslamQA/multilingual-e5-large-instruct-finetuned"

model = PeftModel.from_pretrained(base_model, adapter_repo)

Model Card for Model ID

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.

Model Details

Model Sources [optional]

Uses

  • embedding
  • retrieval
  • islam
  • multilingual
  • q&a

from transformers import AutoModel, AutoTokenizer from peft import PeftModel

Load the base model and tokenizer

base_model_name = "intfloat/multilingual-e5-large-instruct" tokenizer = AutoTokenizer.from_pretrained(base_model_name) base_model = AutoModel.from_pretrained(base_model_name)

Load the LoRA adapter directly

adapter_repo = "IslamQA/multilingual-e5-large-instruct-finetuned" model = PeftModel.from_pretrained(base_model, adapter_repo)

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for IslamQA/multilingual-e5-large-instruct-finetuned

Finetuned
(175)
this model

Datasets used to train IslamQA/multilingual-e5-large-instruct-finetuned