THRED
The implementation of the paper "Augmenting Neural Response Generation with Context-Aware Topical Attention"
File Explorer
Download Latest Version (.zip)- reddit.sh
- hred_large.yml
- hred_small.yml
- taware_large.yml
- taware_small.yml
- taware_xlarge.yml
- thred_large.yml
- thred_medium.yml
- vanilla_large.yml
- vanilla_small.yml
- vanilla_xlarge.yml
- word_embeddings.yml
- __init__.py
- profanity_words.txt
- reddit_bots.txt
- reddit_dialogue.py
- reddit_parser.py
- reddit_utils.py
- sanitizer.py
- subreddit_whitelist.txt
- __init__.py
- corpus_toolkit.py
- __init__.py
- hred_helper.py
- hred_iterators.py
- hred_model.py
- hred_wrapper.py
- __init__.py
- thred_helper.py
- thred_iterators.py
- thred_model.py
- thred_wrapper.py
- __init__.py
- taware_decoder.py
- taware_helper.py
- taware_iterators.py
- taware_layer.py
- taware_model.py
- taware_wrapper.py
- __init__.py
- bleu.py
- eval_metric.py
- vanilla_helper.py
- vanilla_iterators.py
- vanilla_model.py
- vanilla_wrapper.py
- __init__.py
- attention_helper.py
- base.py
- data_utils.py
- hierarchical_base.py
- model_factory.py
- model_helper.py
- ncm_utils.py
- topical_base.py
- __init__.py
- analyzer.py
- lda.py
- __init__.py
- chartable.py
- config.py
- device.py
- dull_responses.txt
- embed.py
- emots.txt
- fs.py
- kv.py
- log.py
- misc.py
- nlp.py
- rnn_factory.py
- summary_statistics.py
- twitter_nlp_emoticons.py
- twokenize.py
- vocab.py
- wget.py
- __init__.py
- __main__.py
- main.py
- .gitignore
- LICENSE
- README.md
- requirements.txt
- setup.py
- thred_env.yml
# Installation Guide
1. Get the code
git clone https://github.com/nouhadziri/THRED
Downloads the entire project code from GitHub to your computer.
cd THRED
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
python -m thred --mode train --config conf/thred_medium.yml --model_dir <MODEL_DIR> \
Runs the Python script (or module).
python -m thred --mode interactive --model_dir <MODEL_DIR>
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
