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