Instructions to use MahmoudMohamed/marge3na with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MahmoudMohamed/marge3na with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MahmoudMohamed/marge3na")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("MahmoudMohamed/marge3na") model = AutoModelForCausalLM.from_pretrained("MahmoudMohamed/marge3na") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MahmoudMohamed/marge3na with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MahmoudMohamed/marge3na" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MahmoudMohamed/marge3na", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/MahmoudMohamed/marge3na
- SGLang
How to use MahmoudMohamed/marge3na with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "MahmoudMohamed/marge3na" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MahmoudMohamed/marge3na", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "MahmoudMohamed/marge3na" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MahmoudMohamed/marge3na", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use MahmoudMohamed/marge3na with Docker Model Runner:
docker model run hf.co/MahmoudMohamed/marge3na
Introducing Marge3na: A Generative Pretrained Transformer for Islamic Question Answering
Marge3na is an advanced generative pretrained transformer model designed specifically for answering Islamic questions. Built upon the powerful architecture of the transformer model, Marge3na leverages its comprehensive knowledge to provide accurate and insightful responses related to various aspects of Islam.
With the aim of empowering individuals seeking Islamic knowledge, Marge3na has been meticulously trained on a carefully curated and authorized dataset that encompasses a wide range of Islamic topics. The model's training process ensures that it is well-versed in Islamic teachings, principles, historical events, rituals, and more.
Marge3na's intelligent design allows it to understand and process questions pertaining to Islam in a context-aware manner. It can provide detailed explanations, insightful interpretations, and concise answers, enabling users to access reliable information about Islam conveniently and efficiently. Whether you are curious about Islamic theology, practices, or historical events, Marge3na is here to assist you in your quest for knowledge.
By publishing Marge3na on the Hugging Face model hub, we aim to make this valuable Islamic question answering tool accessible to a wider audience. We believe that Marge3na will serve as an invaluable resource for students, researchers, educators, and anyone interested in gaining a deeper understanding of Islam.
Note: Marge3na is trained on a dataset sourced from authorized Islamic resources and adheres to the principles of accuracy, fairness, and inclusivity. It is important to consult qualified Islamic scholars and references for comprehensive and precise answers to specific religious inquiries.
Start exploring the depths of Islamic knowledge with Marge3na and embark on a journey of enlightenment and understanding.

- Downloads last month
- 5