Instructions to use smokxy/roberta-base-squad2-quantized with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use smokxy/roberta-base-squad2-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="smokxy/roberta-base-squad2-quantized")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("smokxy/roberta-base-squad2-quantized") model = AutoModelForQuestionAnswering.from_pretrained("smokxy/roberta-base-squad2-quantized", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload folder using huggingface_hub
Verified signature28dbfb9 -
Upload folder using huggingface_hub
Verified signature708924f
-
Upload folder using huggingface_hub
Verified signaturee36f502
-
Upload folder using huggingface_hub
Verified signature6535c08 -
Upload folder using huggingface_hub
Verified signature2a1a47d
-
Upload folder using huggingface_hub
KartikVerified signature18ad66a
-
Upload folder using huggingface_hub
KartikVerified signature1217e27 -
Upload folder using huggingface_hub
KartikVerified signaturee687ec8 -
initial commit
KartikVerified signaturedda1e4b