Views
No views yet
bert-base-cased on the SQuAD v1.1 dataset.| Metric | Score |
|---|---|
| Exact Match | 81.05% |
| F1 Score | 88.55% |
1from transformers import pipeline
2
3qa = pipeline(
4 "question-answering",
5 model="samandar1105/Question_Answering"
6)
7
8result = qa(
9 question="Who designed the Eiffel Tower?",
10 context="The Eiffel Tower was designed by Gustave Eiffel and built between 1887 and 1889 in Paris."
11)
12print(result)
13# {'answer': 'Gustave Eiffel', 'score': 0.99, 'start': 31, 'end': 45}| Parameter | Value |
|---|---|
| Base model | bert-base-cased |
| Dataset | SQuAD v1.1 (87,599 train / 10,570 val) |
| Learning rate | 2e-5 |
| Epochs | 3 |
| Batch size | 16 |
| Max sequence length | 384 |
| Stride | 128 |
| Framework | PyTorch + HuggingFace Transformers |