| library_name | transformers | ||||
|---|---|---|---|---|---|
| tags |
|
||||
| datasets |
|
This model is a fine-tuned version of harpertoken/harpertokenConvAI, a DistilBERT-based question answering model, trained on a subset of the SQuAD dataset.
This is a fine-tuned question answering model based on DistilBERT, optimized for extractive QA tasks. It has been trained on a small subset of the SQuAD dataset to demonstrate fine-tuning capabilities in a CI environment.
- Developed by: bniladridas
- Model type: DistilBERT for Question Answering
- Language(s) (NLP): English
- License: MIT
- Finetuned from model: harpertoken/harpertokenConvAI
- Repository: https://github.com/bniladridas/harpertoken
This model can be used directly for question answering on passages similar to SQuAD. Provide a question and context, and it will predict the answer span.
Can be further fine-tuned on domain-specific data for improved performance.
Not suitable for non-English text, generative tasks, or domains outside of factual QA.
Trained on a limited SQuAD subset, may exhibit biases from the dataset. Performance may degrade on out-of-domain questions.
Evaluate on your specific data and consider additional fine-tuning for production use.
from transformers import pipeline
qa = pipeline("question-answering", model="harpertoken/harpertokenConvAI-finetuned")
result = qa(question="What is the capital of France?", context="France is a country in Europe. Paris is the capital.")
print(result)Subset of SQuAD 1.1 dataset (approximately 1000 examples).
- Training regime: fp32
- Epochs: 1
- Batch size: 1
- Learning rate: 2e-5
Trained in CI environment, minimal time due to small dataset.
SQuAD validation set subset.
F1 score, Exact Match.
Basic evaluation on sample questions.
Minimal impact due to small-scale training in CI.
- Hardware Type: GitHub Actions runners
- Carbon Emitted: Negligible
DistilBERT encoder with QA head for span prediction.
GitHub Actions Ubuntu runners.
If you use this model, please cite the original DistilBERT and SQuAD papers.
bniladridas