Instructions to use tomasmcm/deepset-roberta-base-squad2-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use tomasmcm/deepset-roberta-base-squad2-onnx with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('question-answering', 'tomasmcm/deepset-roberta-base-squad2-onnx');
| { | |
| "modes": [ | |
| "fp16", | |
| "q8", | |
| "int8", | |
| "uint8", | |
| "q4", | |
| "q4f16", | |
| "bnb4" | |
| ], | |
| "per_channel": true, | |
| "reduce_range": true, | |
| "block_size": null, | |
| "is_symmetric": true, | |
| "accuracy_level": null, | |
| "quant_type": 1, | |
| "op_block_list": null | |
| } |