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