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
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,7 +12,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 12 |
|
| 13 |
# bert-finetuned-squad-chaii
|
| 14 |
|
| 15 |
-
This model is a fine-tuned version of [deepset/xlm-roberta-base-squad2](https://huggingface.co/deepset/xlm-roberta-base-squad2) on the
|
| 16 |
|
| 17 |
## Model description
|
| 18 |
|
|
|
|
| 12 |
|
| 13 |
# bert-finetuned-squad-chaii
|
| 14 |
|
| 15 |
+
This model is a fine-tuned version of [deepset/xlm-roberta-base-squad2](https://huggingface.co/deepset/xlm-roberta-base-squad2) on the chaii dataset.
|
| 16 |
|
| 17 |
## Model description
|
| 18 |
|