Instructions to use bookbot/roberta-base-emphasis-onnx-quantized with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bookbot/roberta-base-emphasis-onnx-quantized 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="bookbot/roberta-base-emphasis-onnx-quantized")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("bookbot/roberta-base-emphasis-onnx-quantized") model = AutoModelForQuestionAnswering.from_pretrained("bookbot/roberta-base-emphasis-onnx-quantized", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature60b26b0 -
Update README.md
Verified signature9b9b8a6 -
Update README.md
Verified signaturea99e849 -
Update README.md
Verified signature6db8dc7
-
Upload tokenizer
Verified signature9f6b28d -
Upload tokenizer_config.json with huggingface_hub
Verified signaturee9f82d7 -
Upload ort_config.json with huggingface_hub
Verified signature7b1cbc5 -
Upload special_tokens_map.json with huggingface_hub
Verified signaturec3ac3eb -
Upload model_quantized.onnx with huggingface_hub
Verified signature62e7df4 -
Upload config.json with huggingface_hub
Verified signaturef61a033 -
Upload tokenizer.json with huggingface_hub
Verified signature4284b9e -
initial commit
Verified signature8c9958a