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