Instructions to use srcocotero/mini-bert-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use srcocotero/mini-bert-qa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="srcocotero/mini-bert-qa")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("srcocotero/mini-bert-qa") model = AutoModelForQuestionAnswering.from_pretrained("srcocotero/mini-bert-qa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
0369c1d | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:aeaa7cdd6bbe95fc25fb2d4e5d7d73fffef76df91450f6fa6ee02066f6b0395d
size 44448461
|