Instructions to use Li/roberta-base-squad2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Li/roberta-base-squad2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="Li/roberta-base-squad2")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Li/roberta-base-squad2") model = AutoModelForQuestionAnswering.from_pretrained("Li/roberta-base-squad2") - Notebooks
- Google Colab
- Kaggle
Upload pytorch_model.bin with git-lfs
Browse files- pytorch_model.bin +3 -0
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:61e30934213c206fd07c2de14da0c4c89cb99d23404315c669d6d93565abcedd
|
| 3 |
+
size 496311025
|