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") - Notebooks
- Google Colab
- Kaggle