Instructions to use deutsche-telekom/bert-multi-english-german-squad2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deutsche-telekom/bert-multi-english-german-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="deutsche-telekom/bert-multi-english-german-squad2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("deutsche-telekom/bert-multi-english-german-squad2") model = AutoModelForQuestionAnswering.from_pretrained("deutsche-telekom/bert-multi-english-german-squad2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
Update README.md 7d4c383
Update README.md 8587a83
Update README.md 0273a3c
Update README.md 1484d87
Update README.md 8352312
Update README.md 8e0f8be
Update README.md 6ea1705
Update README.md 0a2d0bd
Update README.md e264502
Update README.md 61a8fa5
Update README.md 42ec562
Update README.md 719809a
Update README.md 1d977c0
Update README.md 537b2fa
Create README.md 0ea85d2
Initial commit 57e514b
Fang Xu commited on
Initial commit 352bafd
Fang Xu commited on