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