Instructions to use mrm8488/bert-tiny-5-finetuned-squadv2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mrm8488/bert-tiny-5-finetuned-squadv2 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="mrm8488/bert-tiny-5-finetuned-squadv2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("mrm8488/bert-tiny-5-finetuned-squadv2") model = AutoModelForQuestionAnswering.from_pretrained("mrm8488/bert-tiny-5-finetuned-squadv2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
f586274 -
Create README.md
40b82ca
-
upload flax model
c6b1898 -
allow flax
76b2f53
-
Update config.json
ee05c65
-
Update vocab.txt
f29d2d3 -
Update predictions_.json
850641c -
Update config.json
ed73c1f -
Update null_odds_.json
50796a8 -
Update tokenizer_config.json
7b07ec7 -
Update nbest_predictions_.json
36a855c -
Update pytorch_model.bin
f9544ae -
Update special_tokens_map.json
378bb8f -
Update training_args.bin
8fa4be5 -
initial commit
4ecc1f9