This repository contains the source code and dataset for Text Infilling. The implementation is based on Texar.
This repository contains two branches:
masterbranch- This branch contain the code for conducting the experiments of Varying Mask Rates and #Blanks.
ShowCasesbranch- This branch is used for Preposition Infilling and Long Content Infilling.
Run the following lines to download the code and install Texar:
git clone https://github.com/VegB/Text_Infilling
cd Text_Infilling
pip install [--user] -e . After installation, you may follow the instructions to conduct experiments for Text Infilling:
- Python 3
- Tensorflow >= 1.7.0
- Texar