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: 133 Bytes
1cfc485 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:65590b6cd8bbb9d63d75418597e4a278785bf3715041b39d1f2120ecf8120f6c
size 21000663
|