my_awesome_qa_model
This model is a fine-tuned version of distilbert-base-uncased, trained on the SQuAD v1.1 dataset.
It achieved the following results on the validation set:
- Loss: 1.7489
How to Use
from transformers import pipeline
# Load the model
question_answerer = pipeline(
"question-answering",
model="real-jiakai/my_awesome_qa_model",
tokenizer="real-jiakai/my_awesome_qa_model"
)
# English example
context_en = """
Donald Trump was the 45th president of the United States, serving from 2017 to 2021.
"""
question_en = "Who was the 45th president of the United States?"
result_en = question_answerer(question=question_en, context=context_en)
print("Answer:", result_en['answer'])
License
This model is licensed under the MIT License.
Citation
If you use this model in your work, please cite:
@misc{my_awesome_qa_model,
author = {real-jiakai},
title = {my_awesome_qa_model},
year = {2024},
url = {https://huggingface.co/real-jiakai/my_awesome_qa_model},
publisher = {Hugging Face}
}
- Downloads last month
- 107
Inference Providers
NEW
This model is not currently available via any of the supported third-party Inference Providers, and
the model is not deployed on the HF Inference API.
Model tree for real-jiakai/my_awesome_qa_model
Base model
distilbert/distilbert-base-uncasedDataset used to train real-jiakai/my_awesome_qa_model
Evaluation results
- Exact Match on SQuAD v1.1validation set self-reportedPlease fill in your EM score
- F1 Score on SQuAD v1.1validation set self-reportedPlease fill in your F1 score