Instructions to use msms/roberta-base-squad2-finetuned-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use msms/roberta-base-squad2-finetuned-squad with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="msms/roberta-base-squad2-finetuned-squad")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("msms/roberta-base-squad2-finetuned-squad") model = AutoModelForQuestionAnswering.from_pretrained("msms/roberta-base-squad2-finetuned-squad", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 5500
Browse files
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 496297393
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47c3634df89c7e54fffb38a41b64d00c99fdd29836845970c20b6c6b8f942677
|
| 3 |
size 496297393
|
runs/Aug22_05-32-38_b3ae42b9dab6/events.out.tfevents.1661146525.b3ae42b9dab6.78.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:007f70d9d4b8621ba1b1e2d7b399bea551d54e39364835d361804a5446830869
|
| 3 |
+
size 5506
|