Model Card for Legal Egyptian Q&A Model
Model Summary
This model is fine-tuned on legal data specific to Egyptian law (Madany Egyptian Q&A) to provide answers to legal questions. The base model is inceptionai/jais-adapted-7b-chat, which has been further adapted to handle legal inquiries in Egyptian Arabic. It is suitable for legal professionals, law students, or anyone seeking answers related to Egyptian law.
Model Details
Model Description
This model has been fine-tuned from the inceptionai/jais-adapted-7b-chat base model, designed to handle conversational Q&A tasks in the legal domain, particularly for Egyptian law. It has been optimized for generating answers to legal questions, offering relevant responses based on the training data.
Model Type: Legal Q&A (Egyptian Law) Base Model: inceptionai/jais-adapted-7b-chat Fine-tuning Dataset: Madany Egyptian legal data q and a
Intended Use The model is designed to assist users by answering legal questions related to Egyptian law. It can be used by legal professionals, law students, or individuals who need basic legal guidance.
Direct Use Here’s how to load the model and tokenizer in Python using 🤗 Transformers:
python Copy code from transformers import AutoTokenizer, AutoModelForCausalLM import torch
Load the tokenizer
tokenizer = AutoTokenizer.from_pretrained("Nourankoro/Last_Jais")
Load the model with 4-bit quantization for efficiency
model = AutoModelForCausalLM.from_pretrained(
"Nourankoro/Last_Jais",
load_in_4bit=True,
device_map="auto",
)
- Downloads last month
- -