├── .gitignore ├── .pylintrc ├── LICENSE ├── README.md ├── bin ├── average_checkpoints.py ├── make_vocab.py ├── train.py └── utils │ ├── README.md │ ├── apply_bpe │ ├── average_checkpoints.py │ ├── learn_bpe │ ├── make_vocab.py │ ├── multi-bleu.perl │ ├── spm_decode │ ├── spm_encode │ └── spm_train ├── docs ├── Makefile ├── _static │ ├── css │ │ └── custom_theme.css │ └── img │ │ └── logo_h.png ├── code │ ├── agents.rst │ ├── core.rst │ ├── data.rst │ ├── evals.rst │ ├── hyperparams.rst │ ├── losses.rst │ ├── models.rst │ ├── modules.rst │ └── txtgen.rst ├── conf.py ├── index.rst ├── make.bat └── tutorial.rst ├── requirements.txt ├── setup.py ├── texar ├── __init__.py ├── agents │ ├── __init__.py │ ├── ac_agent.py │ ├── agent_base.bak.py │ ├── agent_base.py │ ├── agent_gym_utils.py │ ├── agent_test.py │ ├── agent_utils.py │ ├── agent_utils_test.py │ ├── dqn_agent.py │ ├── episodic_agent_base.py │ ├── pg_agent.bak.py │ ├── pg_agent.py │ ├── seq_agent_base.py │ ├── seq_pg_agent.py │ └── seq_pg_agent_test.py ├── context.py ├── context_test.py ├── core │ ├── __init__.py │ ├── attentions.py │ ├── distributions.py │ ├── explorations.py │ ├── layers.py │ ├── layers.py.bk │ ├── layers_test.py │ ├── optimization.py │ ├── optimization_test.py │ └── replay_memories.py ├── custom │ └── __init__.py ├── data │ ├── __init__.py │ ├── data │ │ ├── __init__.py │ │ ├── data_base.py │ │ ├── data_iterators.py │ │ ├── data_iterators_test.py │ │ ├── dataset_utils.py │ │ ├── dataset_utils_test.py │ │ ├── mono_text_data.py │ │ ├── mono_text_data_test.py │ │ ├── multi_aligned_data.py │ │ ├── multi_aligned_data_test.py │ │ ├── paired_text_data.py │ │ ├── paired_text_data_test.py │ │ ├── scalar_data.py │ │ ├── scalar_data_test.py │ │ └── text_data_base.py │ ├── data_decoders.py │ ├── data_utils.py │ ├── data_utils_test.py │ ├── embedding.py │ ├── embedding_test.py │ ├── vocabulary.py │ └── vocabulary_test.py ├── evals │ ├── __init__.py │ ├── bleu.py │ ├── bleu_moses.py │ ├── bleu_test.py │ └── metrics.py ├── hyperparams.py ├── hyperparams_test.py ├── losses │ ├── __init__.py │ ├── adv_losses.py │ ├── adv_losses_test.py │ ├── dqn_losses.py │ ├── entropy.py │ ├── losses_utils.py │ ├── mle_losses.py │ ├── mle_losses_test.py │ ├── pg_losses.py │ ├── rewards.py │ ├── rewards_test.py │ └── rl_losses.py ├── models │ ├── __init__.py │ ├── model_base.py │ └── seq2seq │ │ ├── __init__.py │ │ ├── basic_seq2seq.py │ │ └── seq2seq_base.py ├── module_base.py ├── modules │ ├── __init__.py │ ├── classifiers │ │ ├── __init__.py │ │ ├── classifier_base.py │ │ ├── conv1d_discriminator.py │ │ ├── conv_classifiers.py │ │ ├── conv_classifiers_test.py │ │ ├── rnn_classifiers.py │ │ └── rnn_classifiers_test.py │ ├── connectors │ │ ├── __init__.py │ │ ├── connector_base.py │ │ ├── connectors.py │ │ └── connectors_test.py │ ├── decoders │ │ ├── __init__.py │ │ ├── beam_search_decode.py │ │ ├── beam_search_decode_test.py │ │ ├── rnn_decoder_base.py │ │ ├── rnn_decoder_helpers.py │ │ ├── rnn_decoders.py │ │ ├── rnn_decoders_test.py │ │ ├── template_transformer_decoder.py │ │ └── transformer_decoders.py │ ├── embedders │ │ ├── __init__.py │ │ ├── embedder_base.py │ │ ├── embedder_utils.py │ │ ├── embedder_utils_test.py │ │ ├── embedders.py │ │ ├── embedders_test.py │ │ └── position_embedders.py │ ├── encoders │ │ ├── __init__.py │ │ ├── conv_encoders.py │ │ ├── conv_encoders_test.py │ │ ├── encoder_base.py │ │ ├── hierarchical_encoders.py │ │ ├── hierarchical_encoders_test.py │ │ ├── rnn_encoders.py │ │ ├── rnn_encoders_test.py │ │ └── transformer_encoders.py │ ├── memory │ │ ├── __init__.py │ │ └── memory_network.py │ ├── networks │ │ ├── __init__.py │ │ ├── conv_networks.py │ │ ├── conv_networks_test.py │ │ ├── network_base.py │ │ ├── networks.py │ │ └── networks_test.py │ ├── policies │ │ ├── __init__.py │ │ ├── policy_nets.py │ │ └── policy_nets_test.py │ └── qnets │ │ ├── __init__.py │ │ └── qnets.py ├── run │ ├── __init__.py │ ├── executor.py │ └── executor_test.py ├── train │ └── __init__.py └── utils │ ├── __init__.py │ ├── average_recorder.py │ ├── average_recorder_test.py │ ├── beam_search.py │ ├── dtypes.py │ ├── exceptions.py │ ├── mode.py │ ├── mode_test.py │ ├── shapes.py │ ├── shapes_test.py │ ├── transformer_utils.py │ ├── transformer_utils_test.py │ ├── utils.py │ ├── utils_io.py │ ├── utils_test.py │ └── variables.py └── text_infilling ├── README.md ├── bleu_tool.py ├── config.py ├── data_utils.py ├── gan.py ├── gan_hyperparams.py ├── self_attn.py ├── self_attn_hyperparams.py ├── seq2seq.py └── seq2seq_hyperparams.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/.gitignore -------------------------------------------------------------------------------- /.pylintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/.pylintrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/README.md -------------------------------------------------------------------------------- /bin/average_checkpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/bin/average_checkpoints.py -------------------------------------------------------------------------------- /bin/make_vocab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/bin/make_vocab.py -------------------------------------------------------------------------------- /bin/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/bin/train.py -------------------------------------------------------------------------------- /bin/utils/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/bin/utils/README.md -------------------------------------------------------------------------------- /bin/utils/apply_bpe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/bin/utils/apply_bpe -------------------------------------------------------------------------------- /bin/utils/average_checkpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/bin/utils/average_checkpoints.py -------------------------------------------------------------------------------- /bin/utils/learn_bpe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/bin/utils/learn_bpe -------------------------------------------------------------------------------- /bin/utils/make_vocab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/bin/utils/make_vocab.py -------------------------------------------------------------------------------- /bin/utils/multi-bleu.perl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/bin/utils/multi-bleu.perl -------------------------------------------------------------------------------- /bin/utils/spm_decode: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/bin/utils/spm_decode -------------------------------------------------------------------------------- /bin/utils/spm_encode: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/bin/utils/spm_encode -------------------------------------------------------------------------------- /bin/utils/spm_train: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/bin/utils/spm_train -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/_static/css/custom_theme.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/docs/_static/css/custom_theme.css -------------------------------------------------------------------------------- /docs/_static/img/logo_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/docs/_static/img/logo_h.png -------------------------------------------------------------------------------- /docs/code/agents.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/docs/code/agents.rst -------------------------------------------------------------------------------- /docs/code/core.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/docs/code/core.rst -------------------------------------------------------------------------------- /docs/code/data.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/docs/code/data.rst -------------------------------------------------------------------------------- /docs/code/evals.rst: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/code/hyperparams.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/docs/code/hyperparams.rst -------------------------------------------------------------------------------- /docs/code/losses.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/docs/code/losses.rst -------------------------------------------------------------------------------- /docs/code/models.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/docs/code/models.rst -------------------------------------------------------------------------------- /docs/code/modules.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/docs/code/modules.rst -------------------------------------------------------------------------------- /docs/code/txtgen.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/docs/code/txtgen.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/tutorial.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/docs/tutorial.rst -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/setup.py -------------------------------------------------------------------------------- /texar/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/__init__.py -------------------------------------------------------------------------------- /texar/agents/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/agents/__init__.py -------------------------------------------------------------------------------- /texar/agents/ac_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/agents/ac_agent.py -------------------------------------------------------------------------------- /texar/agents/agent_base.bak.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/agents/agent_base.bak.py -------------------------------------------------------------------------------- /texar/agents/agent_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/agents/agent_base.py -------------------------------------------------------------------------------- /texar/agents/agent_gym_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/agents/agent_gym_utils.py -------------------------------------------------------------------------------- /texar/agents/agent_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/agents/agent_test.py -------------------------------------------------------------------------------- /texar/agents/agent_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/agents/agent_utils.py -------------------------------------------------------------------------------- /texar/agents/agent_utils_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/agents/agent_utils_test.py -------------------------------------------------------------------------------- /texar/agents/dqn_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/agents/dqn_agent.py -------------------------------------------------------------------------------- /texar/agents/episodic_agent_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/agents/episodic_agent_base.py -------------------------------------------------------------------------------- /texar/agents/pg_agent.bak.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/agents/pg_agent.bak.py -------------------------------------------------------------------------------- /texar/agents/pg_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/agents/pg_agent.py -------------------------------------------------------------------------------- /texar/agents/seq_agent_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/agents/seq_agent_base.py -------------------------------------------------------------------------------- /texar/agents/seq_pg_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/agents/seq_pg_agent.py -------------------------------------------------------------------------------- /texar/agents/seq_pg_agent_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/agents/seq_pg_agent_test.py -------------------------------------------------------------------------------- /texar/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/context.py -------------------------------------------------------------------------------- /texar/context_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/context_test.py -------------------------------------------------------------------------------- /texar/core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/core/__init__.py -------------------------------------------------------------------------------- /texar/core/attentions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/core/attentions.py -------------------------------------------------------------------------------- /texar/core/distributions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/core/distributions.py -------------------------------------------------------------------------------- /texar/core/explorations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/core/explorations.py -------------------------------------------------------------------------------- /texar/core/layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/core/layers.py -------------------------------------------------------------------------------- /texar/core/layers.py.bk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/core/layers.py.bk -------------------------------------------------------------------------------- /texar/core/layers_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/core/layers_test.py -------------------------------------------------------------------------------- /texar/core/optimization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/core/optimization.py -------------------------------------------------------------------------------- /texar/core/optimization_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/core/optimization_test.py -------------------------------------------------------------------------------- /texar/core/replay_memories.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/core/replay_memories.py -------------------------------------------------------------------------------- /texar/custom/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/custom/__init__.py -------------------------------------------------------------------------------- /texar/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/__init__.py -------------------------------------------------------------------------------- /texar/data/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/data/__init__.py -------------------------------------------------------------------------------- /texar/data/data/data_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/data/data_base.py -------------------------------------------------------------------------------- /texar/data/data/data_iterators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/data/data_iterators.py -------------------------------------------------------------------------------- /texar/data/data/data_iterators_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/data/data_iterators_test.py -------------------------------------------------------------------------------- /texar/data/data/dataset_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/data/dataset_utils.py -------------------------------------------------------------------------------- /texar/data/data/dataset_utils_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/data/dataset_utils_test.py -------------------------------------------------------------------------------- /texar/data/data/mono_text_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/data/mono_text_data.py -------------------------------------------------------------------------------- /texar/data/data/mono_text_data_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/data/mono_text_data_test.py -------------------------------------------------------------------------------- /texar/data/data/multi_aligned_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/data/multi_aligned_data.py -------------------------------------------------------------------------------- /texar/data/data/multi_aligned_data_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/data/multi_aligned_data_test.py -------------------------------------------------------------------------------- /texar/data/data/paired_text_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/data/paired_text_data.py -------------------------------------------------------------------------------- /texar/data/data/paired_text_data_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/data/paired_text_data_test.py -------------------------------------------------------------------------------- /texar/data/data/scalar_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/data/scalar_data.py -------------------------------------------------------------------------------- /texar/data/data/scalar_data_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/data/scalar_data_test.py -------------------------------------------------------------------------------- /texar/data/data/text_data_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/data/text_data_base.py -------------------------------------------------------------------------------- /texar/data/data_decoders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/data_decoders.py -------------------------------------------------------------------------------- /texar/data/data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/data_utils.py -------------------------------------------------------------------------------- /texar/data/data_utils_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/data_utils_test.py -------------------------------------------------------------------------------- /texar/data/embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/embedding.py -------------------------------------------------------------------------------- /texar/data/embedding_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/embedding_test.py -------------------------------------------------------------------------------- /texar/data/vocabulary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/vocabulary.py -------------------------------------------------------------------------------- /texar/data/vocabulary_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/data/vocabulary_test.py -------------------------------------------------------------------------------- /texar/evals/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/evals/__init__.py -------------------------------------------------------------------------------- /texar/evals/bleu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/evals/bleu.py -------------------------------------------------------------------------------- /texar/evals/bleu_moses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/evals/bleu_moses.py -------------------------------------------------------------------------------- /texar/evals/bleu_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/evals/bleu_test.py -------------------------------------------------------------------------------- /texar/evals/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/evals/metrics.py -------------------------------------------------------------------------------- /texar/hyperparams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/hyperparams.py -------------------------------------------------------------------------------- /texar/hyperparams_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/hyperparams_test.py -------------------------------------------------------------------------------- /texar/losses/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/losses/__init__.py -------------------------------------------------------------------------------- /texar/losses/adv_losses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/losses/adv_losses.py -------------------------------------------------------------------------------- /texar/losses/adv_losses_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/losses/adv_losses_test.py -------------------------------------------------------------------------------- /texar/losses/dqn_losses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/losses/dqn_losses.py -------------------------------------------------------------------------------- /texar/losses/entropy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/losses/entropy.py -------------------------------------------------------------------------------- /texar/losses/losses_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/losses/losses_utils.py -------------------------------------------------------------------------------- /texar/losses/mle_losses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/losses/mle_losses.py -------------------------------------------------------------------------------- /texar/losses/mle_losses_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/losses/mle_losses_test.py -------------------------------------------------------------------------------- /texar/losses/pg_losses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/losses/pg_losses.py -------------------------------------------------------------------------------- /texar/losses/rewards.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/losses/rewards.py -------------------------------------------------------------------------------- /texar/losses/rewards_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/losses/rewards_test.py -------------------------------------------------------------------------------- /texar/losses/rl_losses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/losses/rl_losses.py -------------------------------------------------------------------------------- /texar/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/models/__init__.py -------------------------------------------------------------------------------- /texar/models/model_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/models/model_base.py -------------------------------------------------------------------------------- /texar/models/seq2seq/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/models/seq2seq/__init__.py -------------------------------------------------------------------------------- /texar/models/seq2seq/basic_seq2seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/models/seq2seq/basic_seq2seq.py -------------------------------------------------------------------------------- /texar/models/seq2seq/seq2seq_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/models/seq2seq/seq2seq_base.py -------------------------------------------------------------------------------- /texar/module_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/module_base.py -------------------------------------------------------------------------------- /texar/modules/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/__init__.py -------------------------------------------------------------------------------- /texar/modules/classifiers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/classifiers/__init__.py -------------------------------------------------------------------------------- /texar/modules/classifiers/classifier_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/classifiers/classifier_base.py -------------------------------------------------------------------------------- /texar/modules/classifiers/conv1d_discriminator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/classifiers/conv1d_discriminator.py -------------------------------------------------------------------------------- /texar/modules/classifiers/conv_classifiers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/classifiers/conv_classifiers.py -------------------------------------------------------------------------------- /texar/modules/classifiers/conv_classifiers_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/classifiers/conv_classifiers_test.py -------------------------------------------------------------------------------- /texar/modules/classifiers/rnn_classifiers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/classifiers/rnn_classifiers.py -------------------------------------------------------------------------------- /texar/modules/classifiers/rnn_classifiers_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/classifiers/rnn_classifiers_test.py -------------------------------------------------------------------------------- /texar/modules/connectors/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/connectors/__init__.py -------------------------------------------------------------------------------- /texar/modules/connectors/connector_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/connectors/connector_base.py -------------------------------------------------------------------------------- /texar/modules/connectors/connectors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/connectors/connectors.py -------------------------------------------------------------------------------- /texar/modules/connectors/connectors_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/connectors/connectors_test.py -------------------------------------------------------------------------------- /texar/modules/decoders/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/decoders/__init__.py -------------------------------------------------------------------------------- /texar/modules/decoders/beam_search_decode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/decoders/beam_search_decode.py -------------------------------------------------------------------------------- /texar/modules/decoders/beam_search_decode_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/decoders/beam_search_decode_test.py -------------------------------------------------------------------------------- /texar/modules/decoders/rnn_decoder_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/decoders/rnn_decoder_base.py -------------------------------------------------------------------------------- /texar/modules/decoders/rnn_decoder_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/decoders/rnn_decoder_helpers.py -------------------------------------------------------------------------------- /texar/modules/decoders/rnn_decoders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/decoders/rnn_decoders.py -------------------------------------------------------------------------------- /texar/modules/decoders/rnn_decoders_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/decoders/rnn_decoders_test.py -------------------------------------------------------------------------------- /texar/modules/decoders/template_transformer_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/decoders/template_transformer_decoder.py -------------------------------------------------------------------------------- /texar/modules/decoders/transformer_decoders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/decoders/transformer_decoders.py -------------------------------------------------------------------------------- /texar/modules/embedders/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/embedders/__init__.py -------------------------------------------------------------------------------- /texar/modules/embedders/embedder_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/embedders/embedder_base.py -------------------------------------------------------------------------------- /texar/modules/embedders/embedder_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/embedders/embedder_utils.py -------------------------------------------------------------------------------- /texar/modules/embedders/embedder_utils_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/embedders/embedder_utils_test.py -------------------------------------------------------------------------------- /texar/modules/embedders/embedders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/embedders/embedders.py -------------------------------------------------------------------------------- /texar/modules/embedders/embedders_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/embedders/embedders_test.py -------------------------------------------------------------------------------- /texar/modules/embedders/position_embedders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/embedders/position_embedders.py -------------------------------------------------------------------------------- /texar/modules/encoders/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/encoders/__init__.py -------------------------------------------------------------------------------- /texar/modules/encoders/conv_encoders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/encoders/conv_encoders.py -------------------------------------------------------------------------------- /texar/modules/encoders/conv_encoders_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/encoders/conv_encoders_test.py -------------------------------------------------------------------------------- /texar/modules/encoders/encoder_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/encoders/encoder_base.py -------------------------------------------------------------------------------- /texar/modules/encoders/hierarchical_encoders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/encoders/hierarchical_encoders.py -------------------------------------------------------------------------------- /texar/modules/encoders/hierarchical_encoders_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/encoders/hierarchical_encoders_test.py -------------------------------------------------------------------------------- /texar/modules/encoders/rnn_encoders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/encoders/rnn_encoders.py -------------------------------------------------------------------------------- /texar/modules/encoders/rnn_encoders_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/encoders/rnn_encoders_test.py -------------------------------------------------------------------------------- /texar/modules/encoders/transformer_encoders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/encoders/transformer_encoders.py -------------------------------------------------------------------------------- /texar/modules/memory/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/memory/__init__.py -------------------------------------------------------------------------------- /texar/modules/memory/memory_network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/memory/memory_network.py -------------------------------------------------------------------------------- /texar/modules/networks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/networks/__init__.py -------------------------------------------------------------------------------- /texar/modules/networks/conv_networks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/networks/conv_networks.py -------------------------------------------------------------------------------- /texar/modules/networks/conv_networks_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/networks/conv_networks_test.py -------------------------------------------------------------------------------- /texar/modules/networks/network_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/networks/network_base.py -------------------------------------------------------------------------------- /texar/modules/networks/networks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/networks/networks.py -------------------------------------------------------------------------------- /texar/modules/networks/networks_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/networks/networks_test.py -------------------------------------------------------------------------------- /texar/modules/policies/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/policies/__init__.py -------------------------------------------------------------------------------- /texar/modules/policies/policy_nets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/policies/policy_nets.py -------------------------------------------------------------------------------- /texar/modules/policies/policy_nets_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/policies/policy_nets_test.py -------------------------------------------------------------------------------- /texar/modules/qnets/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/qnets/__init__.py -------------------------------------------------------------------------------- /texar/modules/qnets/qnets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/modules/qnets/qnets.py -------------------------------------------------------------------------------- /texar/run/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/run/__init__.py -------------------------------------------------------------------------------- /texar/run/executor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/run/executor.py -------------------------------------------------------------------------------- /texar/run/executor_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/run/executor_test.py -------------------------------------------------------------------------------- /texar/train/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /texar/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/utils/__init__.py -------------------------------------------------------------------------------- /texar/utils/average_recorder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/utils/average_recorder.py -------------------------------------------------------------------------------- /texar/utils/average_recorder_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/utils/average_recorder_test.py -------------------------------------------------------------------------------- /texar/utils/beam_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/utils/beam_search.py -------------------------------------------------------------------------------- /texar/utils/dtypes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/utils/dtypes.py -------------------------------------------------------------------------------- /texar/utils/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/utils/exceptions.py -------------------------------------------------------------------------------- /texar/utils/mode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/utils/mode.py -------------------------------------------------------------------------------- /texar/utils/mode_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/utils/mode_test.py -------------------------------------------------------------------------------- /texar/utils/shapes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/utils/shapes.py -------------------------------------------------------------------------------- /texar/utils/shapes_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/utils/shapes_test.py -------------------------------------------------------------------------------- /texar/utils/transformer_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/utils/transformer_utils.py -------------------------------------------------------------------------------- /texar/utils/transformer_utils_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/utils/transformer_utils_test.py -------------------------------------------------------------------------------- /texar/utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/utils/utils.py -------------------------------------------------------------------------------- /texar/utils/utils_io.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/utils/utils_io.py -------------------------------------------------------------------------------- /texar/utils/utils_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/utils/utils_test.py -------------------------------------------------------------------------------- /texar/utils/variables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/texar/utils/variables.py -------------------------------------------------------------------------------- /text_infilling/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/text_infilling/README.md -------------------------------------------------------------------------------- /text_infilling/bleu_tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/text_infilling/bleu_tool.py -------------------------------------------------------------------------------- /text_infilling/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/text_infilling/config.py -------------------------------------------------------------------------------- /text_infilling/data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/text_infilling/data_utils.py -------------------------------------------------------------------------------- /text_infilling/gan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/text_infilling/gan.py -------------------------------------------------------------------------------- /text_infilling/gan_hyperparams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/text_infilling/gan_hyperparams.py -------------------------------------------------------------------------------- /text_infilling/self_attn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/text_infilling/self_attn.py -------------------------------------------------------------------------------- /text_infilling/self_attn_hyperparams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/text_infilling/self_attn_hyperparams.py -------------------------------------------------------------------------------- /text_infilling/seq2seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/text_infilling/seq2seq.py -------------------------------------------------------------------------------- /text_infilling/seq2seq_hyperparams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VegB/Text_Infilling/HEAD/text_infilling/seq2seq_hyperparams.py --------------------------------------------------------------------------------