Instructions to use tomasmcm/deepset-tinyroberta-squad2-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use tomasmcm/deepset-tinyroberta-squad2-onnx with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('question-answering', 'tomasmcm/deepset-tinyroberta-squad2-onnx');
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers.js
|
| 3 |
+
base_model: deepset/tinyroberta-squad2
|
| 4 |
+
pipeline_tag: question-answering
|
| 5 |
+
license: cc-by-4.0
|
| 6 |
+
language: en
|
| 7 |
+
tags:
|
| 8 |
+
- roberta
|
| 9 |
+
- 81.5M
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
https://huggingface.co/deepset/tinyroberta-squad2 with ONNX weights to be compatible with Transformers.js.
|