Instructions to use jysh1023/distilbert_squad2_dynamic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jysh1023/distilbert_squad2_dynamic 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="jysh1023/distilbert_squad2_dynamic")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("jysh1023/distilbert_squad2_dynamic") model = AutoModelForQuestionAnswering.from_pretrained("jysh1023/distilbert_squad2_dynamic", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload tokenizer
d468767 -
Upload inc_config.json with huggingface_hub
74343f4 -
Upload pytorch_model.bin with huggingface_hub
fed4cf2 -
Upload config.json with huggingface_hub
2f37542 -
Upload inc_config.json with huggingface_hub
36b8239 -
Upload pytorch_model.bin with huggingface_hub
d47b1c3 -
Upload config.json with huggingface_hub
637b5ac -
Upload inc_config.json with huggingface_hub
fab00da -
Upload pytorch_model.bin with huggingface_hub
168f62c -
Upload config.json with huggingface_hub
1c21b47 -
initial commit
1af88ea