Malikeh1375/medical-question-answering-datasets
Viewer • Updated • 1.26M • 907 • 91
How to use khalifa1/results with Transformers:
# Use a pipeline as a high-level helper
# Warning: Pipeline type "question-answering" is no longer supported in transformers v5.
# You must load the model directly (see below) or downgrade to v4.x with:
# pip install "transformers<5.0.0"
from transformers import pipeline
pipe = pipeline("question-answering", model="khalifa1/results") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("khalifa1/results")
model = AutoModelForSeq2SeqLM.from_pretrained("khalifa1/results", device_map="auto")This model is a fine-tuned version of t5-small on medical-question-answering-datasets. 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 |
|---|---|---|---|
| 1.4575 | 1.0 | 625 | 0.6556 |
| 0.7149 | 2.0 | 1250 | 0.6313 |
| 0.6919 | 3.0 | 1875 | 0.6218 |
| 0.6764 | 4.0 | 2500 | 0.6188 |
Base model
google-t5/t5-small