Instructions to use SRDdev/QABERT-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SRDdev/QABERT-small 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="SRDdev/QABERT-small")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("SRDdev/QABERT-small") model = AutoModelForQuestionAnswering.from_pretrained("SRDdev/QABERT-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (29de8b1329870fa406c151a48ba951b0e4654f54) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>d350860
-
Upload tokenizer
031343d -
Upload DistilBertForQuestionAnswering
a8f502b -
Update README.md
94764ed
-
Update README.md
4a87519 -
Create README.md
927f03f -
Upload tokenizer
86f13e7 -
Upload DistilBertForQuestionAnswering
7a379d4 -
initial commit
e5df853