Instructions to use JohnDoe70/tinyroberta-squad2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JohnDoe70/tinyroberta-squad2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="JohnDoe70/tinyroberta-squad2")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("JohnDoe70/tinyroberta-squad2") model = AutoModelForQuestionAnswering.from_pretrained("JohnDoe70/tinyroberta-squad2") - Notebooks
- Google Colab
- Kaggle
Add model files
Browse files- onnx/model.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
onnx/model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9b95613bcc96f5dbb47a8fb31646b6232a2d794ffa83f20551c256f786e7fddf
|
| 3 |
+
size 326263905
|
onnx/model_quantized.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d3d9bfbc4d3355ed9924654cc9e58ae95861da72de56ba54cb899ea9b5f090ab
|
| 3 |
+
size 82165002
|