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