How to use from the
Use from the
Transformers library
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

tokenizer = AutoTokenizer.from_pretrained("Aminrhmni/PersianLegalQAsystem")
model = AutoModelForSeq2SeqLM.from_pretrained("Aminrhmni/PersianLegalQAsystem")
Quick Links

This model is trained on a Persian conversational dataset.

The more it is trained the results will be better.

Epochs= 1

Validation Loss = 1.75589

Time to train= 51 hours

Trained on 2 x RTX 3090

Question example: "آیا کارفرما میتواند کارگر دائمی را اخراج کند؟"

Downloads last month
10
Safetensors
Model size
0.6B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train Aminrhmni/PersianLegalQAsystem

Space using Aminrhmni/PersianLegalQAsystem 1