Instructions to use pacovaldez/stackoverflow-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pacovaldez/stackoverflow-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="pacovaldez/stackoverflow-qa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("pacovaldez/stackoverflow-qa") model = AutoModelForQuestionAnswering.from_pretrained("pacovaldez/stackoverflow-qa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (93043946b3e23d26a12a3a267f95be685a5506ec) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>1c5059a
-
Upload BertForQuestionAnswering
17d5ca1 -
Upload BertForQuestionAnswering
e5a7f86 -
Upload BertForQuestionAnswering
c0d5eb9 -
Upload BertForQuestionAnswering
0bfafa5 -
Upload BertForQuestionAnswering
c5a53d7 -
Upload BertForQuestionAnswering
bd98912 -
Upload BertForQuestionAnswering
041526a -
Upload BertForQuestionAnswering
3976a2f
-
set regular config
f802dec -
Upload tokenizer
c40ce8f -
Upload BertForQuestionAnswering
365e514 -
initial commit
6bf1f2a