Z-Jafari/PersianQuAD
Viewer • Updated • 19.6k • 71 • 1
How to use Z-Jafari/bert-fa-base-uncased-finetuned-DS_Q_N_C_QA-score_all_gt_0.75 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="Z-Jafari/bert-fa-base-uncased-finetuned-DS_Q_N_C_QA-score_all_gt_0.75") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("Z-Jafari/bert-fa-base-uncased-finetuned-DS_Q_N_C_QA-score_all_gt_0.75")
model = AutoModelForQuestionAnswering.from_pretrained("Z-Jafari/bert-fa-base-uncased-finetuned-DS_Q_N_C_QA-score_all_gt_0.75")# Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("Z-Jafari/bert-fa-base-uncased-finetuned-DS_Q_N_C_QA-score_all_gt_0.75")
model = AutoModelForQuestionAnswering.from_pretrained("Z-Jafari/bert-fa-base-uncased-finetuned-DS_Q_N_C_QA-score_all_gt_0.75")This model is a fine-tuned version of HooshvareLab/bert-fa-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.5123 | 1.0 | 1542 | 1.6537 |
| 0.2348 | 2.0 | 3084 | 1.6941 |
| 0.0958 | 3.0 | 4626 | 2.2893 |
Base model
HooshvareLab/bert-fa-base-uncased
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="Z-Jafari/bert-fa-base-uncased-finetuned-DS_Q_N_C_QA-score_all_gt_0.75")