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