Downloads · 30 days
22
16% of all-time downloads
xichenn/albert-base-v2-squad
albert-base-v2-squad is a question answering model from xichenn. Use it when the input is a question plus a passage. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of albert-base-v2 on the SQuAD 1.1 and adversarialqa datasets. It achieves the following results on the SQuAD 1.1 evaluation set: - Exact Match(EM): 84.68 - F1: 91.40
Downloads · 30 days
22
16% of all-time downloads
All-time downloads
139
Public
Parameters
11.1M
44.4 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors44.4 MB · 95%
From the Hugging Face model README
This model is a fine-tuned version of albert-base-v2 on the SQuAD 1.1 and adversarial_qa datasets. It achieves the following results on the SQuAD 1.1 evaluation set:
You can test the model directly using the Hugging Face Inference API:
from transformers import pipeline
# Load the pipeline
qa_pipeline = pipeline("question-answering", model="xichenn/albert-base-v2-squad")
# Run inference
result = qa_pipeline(question="What is the capital of France?", context="France is a country in Europe. Its capital is Paris.")
print(result)