Instructions to use deepset/gelectra-base-germanquad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deepset/gelectra-base-germanquad 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/gelectra-base-germanquad")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("deepset/gelectra-base-germanquad") model = AutoModelForQuestionAnswering.from_pretrained("deepset/gelectra-base-germanquad", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit ·
7cd7dcc
1
Parent(s): 96a4f20
Update README.md
Browse files
README.md
CHANGED
|
@@ -38,7 +38,7 @@ embeds_dropout_prob = 0.1
|
|
| 38 |
We evaluated the extractive question answering performance on our GermanQuAD test set.
|
| 39 |
Model types and training data are included in the model name.
|
| 40 |
For finetuning XLM-Roberta, we use the English SQuAD v2.0 dataset.
|
| 41 |
-
The GELECTRA models are warm started on the German translation of SQuAD v1.1 and finetuned on
|
| 42 |
The human baseline was computed for the 3-way test set by taking one answer as prediction and the other two as ground truth.
|
| 43 |

|
| 44 |
|
|
|
|
| 38 |
We evaluated the extractive question answering performance on our GermanQuAD test set.
|
| 39 |
Model types and training data are included in the model name.
|
| 40 |
For finetuning XLM-Roberta, we use the English SQuAD v2.0 dataset.
|
| 41 |
+
The GELECTRA models are warm started on the German translation of SQuAD v1.1 and finetuned on [GermanQuAD](https://deepset.ai/germanquad).
|
| 42 |
The human baseline was computed for the 3-way test set by taking one answer as prediction and the other two as ground truth.
|
| 43 |

|
| 44 |
|