├── .gitignore ├── .idea ├── .gitignore ├── Dialog.iml ├── codeStyles │ └── Project.xml ├── copyright │ ├── Reppy.xml │ └── profiles_settings.xml ├── dbnavigator.xml ├── inspectionProfiles │ └── profiles_settings.xml ├── misc.xml └── modules.xml ├── LICENSE ├── README.md ├── config.py ├── get_tweet.py ├── main.py ├── make_training_data.py ├── nn ├── __init__.py ├── loss │ ├── __init__.py │ └── loss.py ├── model │ ├── __init__.py │ ├── attention.py │ ├── decoder.py │ ├── embedding.py │ ├── encoder.py │ ├── encoder_decoder.py │ ├── ffn.py │ └── generator.py └── optim │ ├── __init__.py │ └── optimizer.py ├── notebooks ├── Dialog_Evaluation.ipynb └── Dialog_Training.ipynb ├── result └── result.png ├── run_eval.py ├── test.py ├── tokenizer.py └── utils ├── __init__.py ├── batch.py ├── dataset.py ├── eval.py ├── helper.py ├── loader.py └── one_cycle.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml -------------------------------------------------------------------------------- /.idea/Dialog.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/.idea/Dialog.iml -------------------------------------------------------------------------------- /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/.idea/codeStyles/Project.xml -------------------------------------------------------------------------------- /.idea/copyright/Reppy.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/.idea/copyright/Reppy.xml -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/.idea/copyright/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/dbnavigator.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/.idea/dbnavigator.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/.idea/inspectionProfiles/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/README.md -------------------------------------------------------------------------------- /config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/config.py -------------------------------------------------------------------------------- /get_tweet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/get_tweet.py -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/main.py -------------------------------------------------------------------------------- /make_training_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/make_training_data.py -------------------------------------------------------------------------------- /nn/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/nn/__init__.py -------------------------------------------------------------------------------- /nn/loss/__init__.py: -------------------------------------------------------------------------------- 1 | from .loss import LabelSmoothing, ITFLoss 2 | -------------------------------------------------------------------------------- /nn/loss/loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/nn/loss/loss.py -------------------------------------------------------------------------------- /nn/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/nn/model/__init__.py -------------------------------------------------------------------------------- /nn/model/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/nn/model/attention.py -------------------------------------------------------------------------------- /nn/model/decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/nn/model/decoder.py -------------------------------------------------------------------------------- /nn/model/embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/nn/model/embedding.py -------------------------------------------------------------------------------- /nn/model/encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/nn/model/encoder.py -------------------------------------------------------------------------------- /nn/model/encoder_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/nn/model/encoder_decoder.py -------------------------------------------------------------------------------- /nn/model/ffn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/nn/model/ffn.py -------------------------------------------------------------------------------- /nn/model/generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/nn/model/generator.py -------------------------------------------------------------------------------- /nn/optim/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/nn/optim/__init__.py -------------------------------------------------------------------------------- /nn/optim/optimizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/nn/optim/optimizer.py -------------------------------------------------------------------------------- /notebooks/Dialog_Evaluation.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/notebooks/Dialog_Evaluation.ipynb -------------------------------------------------------------------------------- /notebooks/Dialog_Training.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/notebooks/Dialog_Training.ipynb -------------------------------------------------------------------------------- /result/result.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/result/result.png -------------------------------------------------------------------------------- /run_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/run_eval.py -------------------------------------------------------------------------------- /test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/test.py -------------------------------------------------------------------------------- /tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/tokenizer.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/utils/__init__.py -------------------------------------------------------------------------------- /utils/batch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/utils/batch.py -------------------------------------------------------------------------------- /utils/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/utils/dataset.py -------------------------------------------------------------------------------- /utils/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/utils/eval.py -------------------------------------------------------------------------------- /utils/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/utils/helper.py -------------------------------------------------------------------------------- /utils/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/utils/loader.py -------------------------------------------------------------------------------- /utils/one_cycle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reppy4620/Dialog/HEAD/utils/one_cycle.py --------------------------------------------------------------------------------