Edit model card

german-qg-t5-quad

This model is fine-tuned in question generation in German. The expected answer must be highlighted with a <hl> token.

Task example

Input

generate question: Obwohl die Vereinigten Staaten wie auch viele Staaten des Commonwealth Erben des britischen Common Laws sind, setzt sich das amerikanische Recht bedeutend davon ab. Dies rührt größtenteils von dem langen Zeitraum her, [...]

Expected output

Von welchem Gesetzt stammt das Amerikanische ab?

Model description

This model is a fine-tuned version of valhalla/t5-base-qg-hl on the GermanQUAD dataset.

Training and evaluation data

The training script can be accessed here.

Evaluation

The model achieves a BLEU-4 score of 11.30 on the GermanQuAD test set (n=2204).

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 0.0001
  • train_batch_size: 2
  • eval_batch_size: 2
  • seed: 100
  • gradient_accumulation_steps: 8
  • total_train_batch_size: 16
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 10

Framework versions

  • Transformers 4.13.0.dev0
  • Pytorch 1.10.0+cu102
  • Datasets 1.16.1
  • Tokenizers 0.10.3
Downloads last month
21
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Dataset used to train dehio/german-qg-t5-quad