Instructions to use leomaurodesenv/bert-soccer-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use leomaurodesenv/bert-soccer-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="leomaurodesenv/bert-soccer-qa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("leomaurodesenv/bert-soccer-qa") model = AutoModelForQuestionAnswering.from_pretrained("leomaurodesenv/bert-soccer-qa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K
- checkpoint-1000
- checkpoint-1500
- checkpoint-2000
- checkpoint-2500
- checkpoint-3000
- checkpoint-3500
- checkpoint-4000
- checkpoint-4500
- checkpoint-500
- checkpoint-5000
- checkpoint-5500
- checkpoint-6000
- checkpoint-6500
- checkpoint-7000
- 1.52 kB
- 14.9 kB
- 676 Bytes
- 436 MB xet
- 695 Bytes
- 712 kB
- 1.22 kB
- 5.3 kB xet
- 232 kB