Text generation for chatbot training in German

This repository contains experiments to perform text generation for chatbots in German.

The code is part of a master thesis which can be obtained upon request (e-mail on my github profile).

It was tried to store all necessary information about the code in the repository in README files or in the code itself. If there are any unclear places, an issue can be created.

Folder content

The folder structure represents the pipeline to generate texts for chatbot training from websites. It is also possible to generate paraphrases with two different techniques.

Folder Content description
0_webcrawler All code related to text extraction from a website
1_data_preparation_and_exploration Code for data preparation and exploration is provided, especially for question generation and paraphrasing
2_training All necessary code to finetuning a transformer model for question generation or paraphrasing
3_evaluation Code for model evaluation with metrics
4_inference Scripts to generate outputs in spreadsheet form with different models (for manual evaluation)
4_inference/results Measured metrics and manual evaluation

Pipeline overview

The following BPMN 2.0 diagram shows all steps to perform (German):

References (WIP to be extended)

Question generation

Paraphrasing

Metrics