Instructions to use deepset/minilm-uncased-squad2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deepset/minilm-uncased-squad2 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="deepset/minilm-uncased-squad2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("deepset/minilm-uncased-squad2") model = AutoModelForQuestionAnswering.from_pretrained("deepset/minilm-uncased-squad2", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature934656c
-
Adding `safetensors` variant of this model (#6)
- Adding `safetensors` variant of this model (47059258066c6180ef824fb6076f7e2ef774f607) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>8a01115
-
Updating readme to reflect usage in Haystack (#3)
- Updating readme to reflect usage in Haystack (653be732b3f136e6a54d0327cb5355d4db45111d) Co-authored-by: Tuana Celik <Tuana@users.noreply.huggingface.co>69fafbf
-
Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator (#4)
Sebastian +1: autoevaluator - Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator (8a817a5ca391915bed2d57fb8635f6647e25e287) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>96785db
-
Update README.md
b836be0
-
Update README.md
2f66fe8 -
Update README.md
395c002 -
Update README.md
d797cd0 -
Add evaluation results on the squad_v2 config of squad_v2 (#1)
- Add evaluation results on the squad_v2 config of squad_v2 (27b694b8e6a0a2f637fc43442254c6ebf8e5cc12) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>36ada30
-
Update README.md
c28e1a1
-
Update README.md
0cd8435
-
Update README.md
bc9e5a9
-
upload flax model
7e6dc53 -
allow flax
ebad9f6
-
Update README.md
3e3dbd6
-
Update README.md
5a9ac8b
-
Migrate model card from transformers-repo
Read announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755 Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/deepset/minilm-uncased-squad2/README.mdfc2657c
-
Update pytorch_model.bin
efdebc1 -
Update config.json
b041211 -
Update vocab.txt
211561c -
Update tokenizer_config.json
6964559 -
Update training_args.bin
da2776c -
Update special_tokens_map.json
b082ab8 -
Update config.json
3d42750 -
Update vocab.txt
b29011c -
Update tokenizer_config.json
4cb7789 -
Update special_tokens_map.json
37b49bd -
initial commit
0cbf1d8