Instructions to use saseedorf2/distill-roberta-QA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use saseedorf2/distill-roberta-QA 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="saseedorf2/distill-roberta-QA")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("saseedorf2/distill-roberta-QA") model = AutoModelForQuestionAnswering.from_pretrained("saseedorf2/distill-roberta-QA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload tokenizer.json with huggingface_hub
Verified signaturee224c4c -
Upload special_tokens_map.json with huggingface_hub
Verified signature73bdd3d -
Upload merges.txt with huggingface_hub
Verified signaturebd9ed6d -
Upload vocab.json with huggingface_hub
Verified signatured925934 -
Upload tokenizer_config.json with huggingface_hub
Verified signatureae01a1f -
Upload config.json with huggingface_hub
Verified signatured4cdf8f -
Upload tf_model.h5 with huggingface_hub
Verified signaturec29a7d0 -
initial commit
Verified signatured3efc46