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
Add multilingual to the language tag (#1)
Browse files- Add multilingual to the language tag (2b38adf77ec706635a51b30c506e4bd8a2a15c57)
- Fix unicode (3d1dd413fa9cb9bc587407a15635d2035e596aa8)
Co-authored-by: Loïck BOURDOIS <lbourdois@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
language:
|
|
|
|
|
|
|
|
|
|
| 3 |
license: mit
|
| 4 |
tags:
|
| 5 |
- english
|
| 6 |
- german
|
| 7 |
-
|
| 8 |
---
|
| 9 |
|
| 10 |
# Bilingual English + German SQuAD2.0
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- de
|
| 4 |
+
- en
|
| 5 |
+
- multilingual
|
| 6 |
license: mit
|
| 7 |
tags:
|
| 8 |
- english
|
| 9 |
- german
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
# Bilingual English + German SQuAD2.0
|