TextBox
latest
API REFERENCE:
textbox.config
textbox.data
textbox.evaluator
textbox.model
textbox.module
textbox.quick_start
textbox.trainer
textbox.utils
TextBox
»
Index
Edit on GitHub
Index
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
L
|
M
|
P
|
R
|
S
|
T
|
U
|
W
|
X
A
AbstractDataLoader (class in textbox.data.dataloader.abstract_dataloader)
AbstractDataset (class in textbox.data.dataset.abstract_dataset)
AbstractModel (class in textbox.model.abstract_generator)
AbstractOptim (class in textbox.module.Optimizer.optim)
adversarial_loss() (textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
(textbox.module.Generator.MaliGANGenerator.MaliGANGenerator method)
(textbox.module.Generator.MaskGANGenerator.MaskGANGenerator method)
(textbox.module.Generator.RankGANGenerator.RankGANGenerator method)
(textbox.module.Generator.SeqGANGenerator.SeqGANGenerator method)
(textbox.module.Generator.TextGANGenerator.TextGANGenerator method)
AttentionalRNNDecoder (class in textbox.module.Decoder.rnn_decoder)
Attr2Seq (class in textbox.model.Attribute.attr2seq)
ATTRIBUTE (textbox.utils.enum_type.ModelType attribute)
attribute2idx() (in module textbox.data.utils)
AttributedSentenceDataLoader (class in textbox.data.dataloader.attr_sent_dataloader)
AttributedSentenceDataset (class in textbox.data.dataset.attr_sent_dataset)
AttributeGenerator (class in textbox.model.abstract_generator)
AvgLenEvaluator (class in textbox.evaluator.averagelength_evaluator)
B
BahdanauAttention (class in textbox.module.Attention.attention_mechanism)
BasicCNNDecoder (class in textbox.module.Decoder.cnn_decoder)
BasicCNNEncoder (class in textbox.module.Encoder.cnn_encoder)
BasicRNNDecoder (class in textbox.module.Decoder.rnn_decoder)
BasicRNNEncoder (class in textbox.module.Encoder.rnn_encoder)
batch_size (textbox.data.dataloader.abstract_dataloader.AbstractDataLoader attribute)
Beam_Search_Hypothesis (class in textbox.module.strategy)
BertScoreEvaluator (class in textbox.evaluator.bertscore_evaluator)
BleuEvaluator (class in textbox.evaluator.bleu_evaluator)
build_attribute_vocab() (in module textbox.data.utils)
build_vocab() (in module textbox.data.utils)
C
C2S (class in textbox.model.Attribute.c2s)
calculate_d_train_loss() (textbox.model.abstract_generator.GenerativeAdversarialNet method)
(textbox.model.GAN.leakgan.LeakGAN method)
(textbox.model.GAN.maligan.MaliGAN method)
(textbox.model.GAN.maskgan.MaskGAN method)
(textbox.model.GAN.rankgan.RankGAN method)
(textbox.model.GAN.seqgan.SeqGAN method)
(textbox.model.GAN.textgan.TextGAN method)
calculate_dis_loss() (textbox.module.Discriminator.MaskGANDiscriminator.MaskGANDiscriminator method)
calculate_g_adversarial_loss() (textbox.model.abstract_generator.GenerativeAdversarialNet method)
(textbox.model.GAN.leakgan.LeakGAN method)
(textbox.model.GAN.maligan.MaliGAN method)
(textbox.model.GAN.maskgan.MaskGAN method)
(textbox.model.GAN.rankgan.RankGAN method)
(textbox.model.GAN.seqgan.SeqGAN method)
(textbox.model.GAN.textgan.TextGAN method)
calculate_g_loss() (textbox.module.Discriminator.TextGANDiscriminator.TextGANDiscriminator method)
calculate_g_train_loss() (textbox.model.abstract_generator.GenerativeAdversarialNet method)
(textbox.model.GAN.leakgan.LeakGAN method)
(textbox.model.GAN.maligan.MaliGAN method)
(textbox.model.GAN.maskgan.MaskGAN method)
(textbox.model.GAN.rankgan.RankGAN method)
(textbox.model.GAN.seqgan.SeqGAN method)
(textbox.model.GAN.textgan.TextGAN method)
calculate_loss() (textbox.module.Discriminator.LeakGANDiscriminator.LeakGANDiscriminator method)
(textbox.module.Discriminator.MaliGANDiscriminator.MaliGANDiscriminator method)
(textbox.module.Discriminator.MaskGANDiscriminator.MaskGANDiscriminator method)
(textbox.module.Discriminator.RankGANDiscriminator.RankGANDiscriminator method)
(textbox.module.Discriminator.SeqGANDiscriminator.SeqGANDiscriminator method)
(textbox.module.Discriminator.TextGANDiscriminator.TextGANDiscriminator method)
(textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
(textbox.module.Generator.MaliGANGenerator.MaliGANGenerator method)
(textbox.module.Generator.MaskGANGenerator.MaskGANGenerator method)
(textbox.module.Generator.RankGANGenerator.RankGANGenerator method)
(textbox.module.Generator.SeqGANGenerator.SeqGANGenerator method)
(textbox.module.Generator.TextGANGenerator.TextGANGenerator method)
calculate_nll_test() (textbox.model.abstract_generator.GenerativeAdversarialNet method)
(textbox.model.GAN.leakgan.LeakGAN method)
(textbox.model.GAN.maligan.MaliGAN method)
(textbox.model.GAN.maskgan.MaskGAN method)
(textbox.model.GAN.rankgan.RankGAN method)
(textbox.model.GAN.seqgan.SeqGAN method)
(textbox.model.GAN.textgan.TextGAN method)
(textbox.model.LM.gpt2.GPT2 method)
(textbox.model.LM.rnn.RNN method)
(textbox.model.LM.xlnet.XLNet method)
(textbox.model.VAE.cnnvae.CNNVAE method)
(textbox.model.VAE.hybridvae.HybridVAE method)
(textbox.model.VAE.rnnvae.RNNVAE method)
calculate_reinforce_objective() (textbox.module.Generator.MaskGANGenerator.MaskGANGenerator method)
calculate_train_loss() (textbox.module.Generator.MaskGANGenerator.MaskGANGenerator method)
ChrfPlusPlusEvaluator (class in textbox.evaluator.chrfplusplus_evaluator)
CIDErEvaluator (class in textbox.evaluator.cider_evaluator)
CNNVAE (class in textbox.model.VAE.cnnvae)
Config (class in textbox.config.configurator)
ConstantOptim (class in textbox.module.Optimizer.optim)
construct_quick_test_dataset() (in module textbox.data.utils)
conv_decoder() (textbox.module.Decoder.cnn_decoder.HybridDecoder method)
Copy_Beam_Search (class in textbox.module.strategy)
CopyPairedSentenceDataLoader (class in textbox.data.dataloader.paired_sent_dataloader)
CopyPairedSentenceDataset (class in textbox.data.dataset.paired_sent_dataset)
CosineOptim (class in textbox.module.Optimizer.optim)
create_critic_loss() (textbox.module.Discriminator.MaskGANDiscriminator.MaskGANDiscriminator method)
(textbox.module.Generator.MaskGANGenerator.MaskGANGenerator method)
critic() (textbox.module.Discriminator.MaskGANDiscriminator.MaskGANDiscriminator method)
CVAE (class in textbox.model.VAE.cvae)
D
data_preparation() (in module textbox.data.utils)
dataloader_construct() (in module textbox.data.utils)
dataset (textbox.data.dataloader.abstract_dataloader.AbstractDataLoader attribute)
deconstruct_quick_test_dataset() (in module textbox.data.utils)
dist_func() (textbox.evaluator.distinct_evaluator.DistinctEvaluator method)
DistinctEvaluator (class in textbox.evaluator.distinct_evaluator)
E
early_stopping() (in module textbox.utils.utils)
encode() (textbox.model.Seq2Seq.hred.HRED method)
encoder() (textbox.model.Attribute.attr2seq.Attr2Seq method)
(textbox.model.Attribute.c2s.C2S method)
ensure_dir() (in module textbox.utils.utils)
EOS (textbox.utils.enum_type.SpecialTokens attribute)
exclusive_cumprod() (textbox.module.Attention.attention_mechanism.MonotonicAttention method)
F
feature() (textbox.module.Discriminator.TextGANDiscriminator.TextGANDiscriminator method)
forward() (textbox.model.Attribute.attr2seq.Attr2Seq method)
(textbox.model.Attribute.c2s.C2S method)
(textbox.model.LM.gpt2.GPT2 method)
(textbox.model.LM.rnn.RNN method)
(textbox.model.LM.xlnet.XLNet method)
(textbox.model.Seq2Seq.hred.HRED method)
(textbox.model.Seq2Seq.rnnencdec.RNNEncDec method)
(textbox.model.Seq2Seq.transformerencdec.TransformerEncDec method)
(textbox.model.VAE.cnnvae.CNNVAE method)
(textbox.model.VAE.cvae.CVAE method)
(textbox.model.VAE.hybridvae.HybridVAE method)
(textbox.model.VAE.rnnvae.RNNVAE method)
(textbox.module.Attention.attention_mechanism.BahdanauAttention method)
(textbox.module.Attention.attention_mechanism.LuongAttention method)
(textbox.module.Attention.attention_mechanism.MultiHeadAttention method)
(textbox.module.Attention.attention_mechanism.SelfAttentionMask method)
(textbox.module.Decoder.cnn_decoder.BasicCNNDecoder method)
(textbox.module.Decoder.cnn_decoder.HybridDecoder method)
(textbox.module.Decoder.rnn_decoder.AttentionalRNNDecoder method)
(textbox.module.Decoder.rnn_decoder.BasicRNNDecoder method)
(textbox.module.Decoder.rnn_decoder.PointerRNNDecoder method)
(textbox.module.Decoder.transformer_decoder.TransformerDecoder method)
(textbox.module.Discriminator.LeakGANDiscriminator.LeakGANDiscriminator method)
(textbox.module.Discriminator.MaliGANDiscriminator.MaliGANDiscriminator method)
(textbox.module.Discriminator.MaskGANDiscriminator.MaskGANDiscriminator method)
(textbox.module.Discriminator.RankGANDiscriminator.RankGANDiscriminator method)
(textbox.module.Discriminator.SeqGANDiscriminator.SeqGANDiscriminator method)
(textbox.module.Discriminator.TextGANDiscriminator.TextGANDiscriminator method)
(textbox.module.Embedder.position_embedder.LearnedPositionalEmbedding method)
(textbox.module.Embedder.position_embedder.SinusoidalPositionalEmbedding method)
(textbox.module.Encoder.cnn_encoder.BasicCNNEncoder method)
(textbox.module.Encoder.rnn_encoder.BasicRNNEncoder method)
(textbox.module.Encoder.transformer_encoder.TransformerEncoder method)
(textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
(textbox.module.Generator.MaskGANGenerator.MaskGANGenerator method)
(textbox.module.layers.Highway method)
(textbox.module.layers.TransformerLayer method)
G
GAN (textbox.utils.enum_type.ModelType attribute)
gaussian_noise() (textbox.module.Attention.attention_mechanism.MonotonicAttention method)
gelu() (textbox.module.layers.TransformerLayer method)
generate() (textbox.model.abstract_generator.AbstractModel method)
(textbox.model.Attribute.attr2seq.Attr2Seq method)
(textbox.model.Attribute.c2s.C2S method)
(textbox.model.GAN.leakgan.LeakGAN method)
(textbox.model.GAN.maligan.MaliGAN method)
(textbox.model.GAN.maskgan.MaskGAN method)
(textbox.model.GAN.rankgan.RankGAN method)
(textbox.model.GAN.seqgan.SeqGAN method)
(textbox.model.GAN.textgan.TextGAN method)
(textbox.model.LM.gpt2.GPT2 method)
(textbox.model.LM.rnn.RNN method)
(textbox.model.LM.xlnet.XLNet method)
(textbox.model.Seq2Seq.hred.HRED method)
(textbox.model.Seq2Seq.rnnencdec.RNNEncDec method)
(textbox.model.Seq2Seq.transformerencdec.TransformerEncDec method)
(textbox.model.VAE.cnnvae.CNNVAE method)
(textbox.model.VAE.cvae.CVAE method)
(textbox.model.VAE.hybridvae.HybridVAE method)
(textbox.model.VAE.rnnvae.RNNVAE method)
(textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
(textbox.module.Generator.MaliGANGenerator.MaliGANGenerator method)
(textbox.module.Generator.MaskGANGenerator.MaskGANGenerator method)
(textbox.module.Generator.RankGANGenerator.RankGANGenerator method)
(textbox.module.Generator.SeqGANGenerator.SeqGANGenerator method)
(textbox.module.Generator.TextGANGenerator.TextGANGenerator method)
(textbox.module.strategy.Beam_Search_Hypothesis method)
(textbox.module.strategy.Copy_Beam_Search method)
generate_mask() (textbox.model.GAN.maskgan.MaskGAN method)
GenerativeAdversarialNet (class in textbox.model.abstract_generator)
get_adv_loss() (textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
get_dataloader() (in module textbox.data.utils)
get_dataset() (in module textbox.data.utils)
get_embedding() (textbox.module.Embedder.position_embedder.SinusoidalPositionalEmbedding static method)
get_extra_zeros() (textbox.data.dataloader.paired_sent_dataloader.CopyPairedSentenceDataLoader static method)
get_feature() (textbox.module.Discriminator.LeakGANDiscriminator.LeakGANDiscriminator method)
get_local_time() (in module textbox.utils.utils)
get_mask() (textbox.module.Attention.attention_mechanism.SelfAttentionMask static method)
get_model() (in module textbox.utils.utils)
get_rank_scores() (textbox.module.Discriminator.RankGANDiscriminator.RankGANDiscriminator method)
get_reference() (textbox.data.dataloader.abstract_dataloader.AbstractDataLoader method)
get_reward_leakgan() (textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
get_trainer() (in module textbox.utils.utils)
GPT2 (class in textbox.model.LM.gpt2)
greedy_search() (in module textbox.module.strategy)
H
hard() (textbox.module.Attention.attention_mechanism.MonotonicAttention method)
Highway (class in textbox.module.layers)
highway() (textbox.module.Discriminator.LeakGANDiscriminator.LeakGANDiscriminator method)
(textbox.module.Discriminator.RankGANDiscriminator.RankGANDiscriminator method)
HRED (class in textbox.model.Seq2Seq.hred)
HybridDecoder (class in textbox.module.Decoder.cnn_decoder)
HybridVAE (class in textbox.model.VAE.hybridvae)
I
init_hidden() (textbox.module.Decoder.rnn_decoder.AttentionalRNNDecoder method)
(textbox.module.Decoder.rnn_decoder.BasicRNNDecoder method)
(textbox.module.Encoder.rnn_encoder.BasicRNNEncoder method)
(textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
init_logger() (in module textbox.utils.logger)
init_seed() (in module textbox.utils.utils)
InverseSquareRootOptim (class in textbox.module.Optimizer.optim)
L
LeakGAN (class in textbox.model.GAN.leakgan)
leakgan_forward() (textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
leakgan_generate() (textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
LeakGANDiscriminator (class in textbox.module.Discriminator.LeakGANDiscriminator)
LeakGANGenerator (class in textbox.module.Generator.LeakGANGenerator)
LearnedPositionalEmbedding (class in textbox.module.Embedder.position_embedder)
LinearOptim (class in textbox.module.Optimizer.optim)
load_data() (in module textbox.data.utils)
load_state_dict() (textbox.module.Optimizer.optim.AbstractOptim method)
lr (textbox.module.Optimizer.optim.AbstractOptim property)
(textbox.module.Optimizer.optim.ConstantOptim property)
(textbox.module.Optimizer.optim.CosineOptim property)
(textbox.module.Optimizer.optim.InverseSquareRootOptim property)
(textbox.module.Optimizer.optim.LinearOptim property)
LuongAttention (class in textbox.module.Attention.attention_mechanism)
M
MaliGAN (class in textbox.model.GAN.maligan)
MaliGANDiscriminator (class in textbox.module.Discriminator.MaliGANDiscriminator)
MaliGANGenerator (class in textbox.module.Generator.MaliGANGenerator)
manager_cos_loss() (textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
mask_cross_entropy_loss() (textbox.module.Generator.MaskGANGenerator.MaskGANGenerator method)
mask_input() (textbox.module.Discriminator.MaskGANDiscriminator.MaskGANDiscriminator method)
(textbox.module.Generator.MaskGANGenerator.MaskGANGenerator method)
mask_target_present() (textbox.module.Discriminator.MaskGANDiscriminator.MaskGANDiscriminator method)
MaskGAN (class in textbox.model.GAN.maskgan)
MaskGANDiscriminator (class in textbox.module.Discriminator.MaskGANDiscriminator)
MaskGANGenerator (class in textbox.module.Generator.MaskGANGenerator)
MeteorEvaluator (class in textbox.evaluator.meteor_evaluator)
ModelType (class in textbox.utils.enum_type)
module
textbox.config.configurator
textbox.data.dataloader.abstract_dataloader
textbox.data.dataloader.attr_sent_dataloader
textbox.data.dataloader.paired_sent_dataloader
textbox.data.dataloader.single_sent_dataloader
textbox.data.dataset.abstract_dataset
textbox.data.dataset.attr_sent_dataset
textbox.data.dataset.paired_sent_dataset
textbox.data.dataset.single_sent_dataset
textbox.data.utils
textbox.evaluator.averagelength_evaluator
textbox.evaluator.bertscore_evaluator
textbox.evaluator.bleu_evaluator
textbox.evaluator.chrfplusplus_evaluator
textbox.evaluator.cider_evaluator
textbox.evaluator.distinct_evaluator
textbox.evaluator.meteor_evaluator
textbox.evaluator.selfbleu_evaluator
textbox.evaluator.unique_evaluator
textbox.model.abstract_generator
textbox.model.Attribute.attr2seq
textbox.model.Attribute.c2s
textbox.model.GAN.leakgan
textbox.model.GAN.maligan
textbox.model.GAN.maskgan
textbox.model.GAN.rankgan
textbox.model.GAN.seqgan
textbox.model.GAN.textgan
textbox.model.init
textbox.model.LM.gpt2
textbox.model.LM.rnn
textbox.model.LM.xlnet
textbox.model.Seq2Seq.hred
textbox.model.Seq2Seq.rnnencdec
textbox.model.Seq2Seq.transformerencdec
textbox.model.VAE.cnnvae
textbox.model.VAE.cvae
textbox.model.VAE.hybridvae
textbox.model.VAE.rnnvae
textbox.module.Attention.attention_mechanism
textbox.module.Decoder.cnn_decoder
textbox.module.Decoder.rnn_decoder
textbox.module.Decoder.transformer_decoder
textbox.module.Discriminator.LeakGANDiscriminator
textbox.module.Discriminator.MaliGANDiscriminator
textbox.module.Discriminator.MaskGANDiscriminator
textbox.module.Discriminator.RankGANDiscriminator
textbox.module.Discriminator.SeqGANDiscriminator
textbox.module.Discriminator.TextGANDiscriminator
textbox.module.Embedder.position_embedder
textbox.module.Encoder.cnn_encoder
textbox.module.Encoder.rnn_encoder
textbox.module.Encoder.transformer_encoder
textbox.module.Generator.LeakGANGenerator
textbox.module.Generator.MaliGANGenerator
textbox.module.Generator.MaskGANGenerator
textbox.module.Generator.RankGANGenerator
textbox.module.Generator.SeqGANGenerator
textbox.module.Generator.TextGANGenerator
textbox.module.layers
textbox.module.Optimizer.optim
textbox.module.strategy
textbox.quick_start.quick_start
textbox.utils.enum_type
textbox.utils.logger
textbox.utils.utils
MonotonicAttention (class in textbox.module.Attention.attention_mechanism)
MultiHeadAttention (class in textbox.module.Attention.attention_mechanism)
P
PAD (textbox.utils.enum_type.SpecialTokens attribute)
pad_sequence() (in module textbox.data.utils)
PairedSentenceDataLoader (class in textbox.data.dataloader.paired_sent_dataloader)
PairedSentenceDataset (class in textbox.data.dataset.paired_sent_dataset)
PointerRNNDecoder (class in textbox.module.Decoder.rnn_decoder)
pr (textbox.data.dataloader.abstract_dataloader.AbstractDataLoader attribute)
pretrain_loss() (textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
R
RankGAN (class in textbox.model.GAN.rankgan)
RankGANDiscriminator (class in textbox.module.Discriminator.RankGANDiscriminator)
RankGANGenerator (class in textbox.module.Generator.RankGANGenerator)
redistribution() (textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
rescale() (textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
reset_parameters() (textbox.model.Seq2Seq.transformerencdec.TransformerEncDec method)
(textbox.module.Attention.attention_mechanism.MultiHeadAttention method)
(textbox.module.layers.TransformerLayer method)
RNN (class in textbox.model.LM.rnn)
rnn_decoder() (textbox.module.Decoder.cnn_decoder.HybridDecoder method)
RNNEncDec (class in textbox.model.Seq2Seq.rnnencdec)
RNNVAE (class in textbox.model.VAE.rnnvae)
rollout_mc_search_leakgan() (textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
run_textbox() (in module textbox.quick_start.quick_start)
S
safe_cumprod() (textbox.module.Attention.attention_mechanism.MonotonicAttention method)
sample() (textbox.model.abstract_generator.GenerativeAdversarialNet method)
(textbox.model.GAN.leakgan.LeakGAN method)
(textbox.model.GAN.maligan.MaliGAN method)
(textbox.model.GAN.rankgan.RankGAN method)
(textbox.model.GAN.seqgan.SeqGAN method)
(textbox.model.GAN.textgan.TextGAN method)
(textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
(textbox.module.Generator.MaliGANGenerator.MaliGANGenerator method)
(textbox.module.Generator.RankGANGenerator.RankGANGenerator method)
(textbox.module.Generator.SeqGANGenerator.SeqGANGenerator method)
(textbox.module.Generator.TextGANGenerator.TextGANGenerator method)
sample_batch() (textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
(textbox.module.Generator.MaliGANGenerator.MaliGANGenerator method)
(textbox.module.Generator.RankGANGenerator.RankGANGenerator method)
score() (textbox.module.Attention.attention_mechanism.BahdanauAttention method)
(textbox.module.Attention.attention_mechanism.LuongAttention method)
(textbox.module.Attention.attention_mechanism.MonotonicAttention method)
SelfAttentionMask (class in textbox.module.Attention.attention_mechanism)
SelfBleuEvaluator (class in textbox.evaluator.selfbleu_evaluator)
SEQ2SEQ (textbox.utils.enum_type.ModelType attribute)
Seq2SeqGenerator (class in textbox.model.abstract_generator)
SeqGAN (class in textbox.model.GAN.seqgan)
SeqGANDiscriminator (class in textbox.module.Discriminator.SeqGANDiscriminator)
SeqGANGenerator (class in textbox.module.Generator.SeqGANGenerator)
SingleSentenceDataLoader (class in textbox.data.dataloader.single_sent_dataloader)
SingleSentenceDataset (class in textbox.data.dataset.single_sent_dataset)
SinusoidalPositionalEmbedding (class in textbox.module.Embedder.position_embedder)
soft() (textbox.module.Attention.attention_mechanism.MonotonicAttention method)
SOS (textbox.utils.enum_type.SpecialTokens attribute)
SpecialTokens (class in textbox.utils.enum_type)
split_params() (textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
state_dict() (textbox.module.Optimizer.optim.AbstractOptim method)
step (textbox.data.dataloader.abstract_dataloader.AbstractDataLoader attribute)
step() (textbox.module.Optimizer.optim.AbstractOptim method)
(textbox.module.strategy.Beam_Search_Hypothesis method)
(textbox.module.strategy.Copy_Beam_Search method)
stop() (textbox.module.strategy.Beam_Search_Hypothesis method)
(textbox.module.strategy.Copy_Beam_Search method)
T
text2idx() (in module textbox.data.utils)
(textbox.data.dataset.paired_sent_dataset.CopyPairedSentenceDataset static method)
textbox.config.configurator
module
textbox.data.dataloader.abstract_dataloader
module
textbox.data.dataloader.attr_sent_dataloader
module
textbox.data.dataloader.paired_sent_dataloader
module
textbox.data.dataloader.single_sent_dataloader
module
textbox.data.dataset.abstract_dataset
module
textbox.data.dataset.attr_sent_dataset
module
textbox.data.dataset.paired_sent_dataset
module
textbox.data.dataset.single_sent_dataset
module
textbox.data.utils
module
textbox.evaluator.averagelength_evaluator
module
textbox.evaluator.bertscore_evaluator
module
textbox.evaluator.bleu_evaluator
module
textbox.evaluator.chrfplusplus_evaluator
module
textbox.evaluator.cider_evaluator
module
textbox.evaluator.distinct_evaluator
module
textbox.evaluator.meteor_evaluator
module
textbox.evaluator.selfbleu_evaluator
module
textbox.evaluator.unique_evaluator
module
textbox.model.abstract_generator
module
textbox.model.Attribute.attr2seq
module
textbox.model.Attribute.c2s
module
textbox.model.GAN.leakgan
module
textbox.model.GAN.maligan
module
textbox.model.GAN.maskgan
module
textbox.model.GAN.rankgan
module
textbox.model.GAN.seqgan
module
textbox.model.GAN.textgan
module
textbox.model.init
module
textbox.model.LM.gpt2
module
textbox.model.LM.rnn
module
textbox.model.LM.xlnet
module
textbox.model.Seq2Seq.hred
module
textbox.model.Seq2Seq.rnnencdec
module
textbox.model.Seq2Seq.transformerencdec
module
textbox.model.VAE.cnnvae
module
textbox.model.VAE.cvae
module
textbox.model.VAE.hybridvae
module
textbox.model.VAE.rnnvae
module
textbox.module.Attention.attention_mechanism
module
textbox.module.Decoder.cnn_decoder
module
textbox.module.Decoder.rnn_decoder
module
textbox.module.Decoder.transformer_decoder
module
textbox.module.Discriminator.LeakGANDiscriminator
module
textbox.module.Discriminator.MaliGANDiscriminator
module
textbox.module.Discriminator.MaskGANDiscriminator
module
textbox.module.Discriminator.RankGANDiscriminator
module
textbox.module.Discriminator.SeqGANDiscriminator
module
textbox.module.Discriminator.TextGANDiscriminator
module
textbox.module.Embedder.position_embedder
module
textbox.module.Encoder.cnn_encoder
module
textbox.module.Encoder.rnn_encoder
module
textbox.module.Encoder.transformer_encoder
module
textbox.module.Generator.LeakGANGenerator
module
textbox.module.Generator.MaliGANGenerator
module
textbox.module.Generator.MaskGANGenerator
module
textbox.module.Generator.RankGANGenerator
module
textbox.module.Generator.SeqGANGenerator
module
textbox.module.Generator.TextGANGenerator
module
textbox.module.layers
module
textbox.module.Optimizer.optim
module
textbox.module.strategy
module
textbox.quick_start.quick_start
module
textbox.utils.enum_type
module
textbox.utils.logger
module
textbox.utils.utils
module
TextGAN (class in textbox.model.GAN.textgan)
TextGANDiscriminator (class in textbox.module.Discriminator.TextGANDiscriminator)
TextGANGenerator (class in textbox.module.Generator.TextGANGenerator)
tokenize() (in module textbox.data.utils)
topk_sampling() (in module textbox.module.strategy)
training (textbox.model.abstract_generator.AbstractModel attribute)
(textbox.model.abstract_generator.AttributeGenerator attribute)
(textbox.model.abstract_generator.GenerativeAdversarialNet attribute)
(textbox.model.abstract_generator.Seq2SeqGenerator attribute)
(textbox.model.abstract_generator.UnconditionalGenerator attribute)
(textbox.model.Attribute.attr2seq.Attr2Seq attribute)
(textbox.model.Attribute.c2s.C2S attribute)
(textbox.model.GAN.leakgan.LeakGAN attribute)
(textbox.model.GAN.maligan.MaliGAN attribute)
(textbox.model.GAN.maskgan.MaskGAN attribute)
(textbox.model.GAN.rankgan.RankGAN attribute)
(textbox.model.GAN.seqgan.SeqGAN attribute)
(textbox.model.GAN.textgan.TextGAN attribute)
(textbox.model.LM.gpt2.GPT2 attribute)
(textbox.model.LM.rnn.RNN attribute)
(textbox.model.LM.xlnet.XLNet attribute)
(textbox.model.Seq2Seq.hred.HRED attribute)
(textbox.model.Seq2Seq.rnnencdec.RNNEncDec attribute)
(textbox.model.Seq2Seq.transformerencdec.TransformerEncDec attribute)
(textbox.model.VAE.cnnvae.CNNVAE attribute)
(textbox.model.VAE.cvae.CVAE attribute)
(textbox.model.VAE.hybridvae.HybridVAE attribute)
(textbox.model.VAE.rnnvae.RNNVAE attribute)
(textbox.module.Attention.attention_mechanism.BahdanauAttention attribute)
(textbox.module.Attention.attention_mechanism.LuongAttention attribute)
(textbox.module.Attention.attention_mechanism.MonotonicAttention attribute)
(textbox.module.Attention.attention_mechanism.MultiHeadAttention attribute)
(textbox.module.Attention.attention_mechanism.SelfAttentionMask attribute)
(textbox.module.Decoder.cnn_decoder.BasicCNNDecoder attribute)
(textbox.module.Decoder.cnn_decoder.HybridDecoder attribute)
(textbox.module.Decoder.rnn_decoder.AttentionalRNNDecoder attribute)
(textbox.module.Decoder.rnn_decoder.BasicRNNDecoder attribute)
(textbox.module.Decoder.rnn_decoder.PointerRNNDecoder attribute)
(textbox.module.Decoder.transformer_decoder.TransformerDecoder attribute)
(textbox.module.Discriminator.LeakGANDiscriminator.LeakGANDiscriminator attribute)
(textbox.module.Discriminator.MaliGANDiscriminator.MaliGANDiscriminator attribute)
(textbox.module.Discriminator.MaskGANDiscriminator.MaskGANDiscriminator attribute)
(textbox.module.Discriminator.RankGANDiscriminator.RankGANDiscriminator attribute)
(textbox.module.Discriminator.SeqGANDiscriminator.SeqGANDiscriminator attribute)
(textbox.module.Discriminator.TextGANDiscriminator.TextGANDiscriminator attribute)
(textbox.module.Embedder.position_embedder.LearnedPositionalEmbedding attribute)
(textbox.module.Embedder.position_embedder.SinusoidalPositionalEmbedding attribute)
(textbox.module.Encoder.cnn_encoder.BasicCNNEncoder attribute)
(textbox.module.Encoder.rnn_encoder.BasicRNNEncoder attribute)
(textbox.module.Encoder.transformer_encoder.TransformerEncoder attribute)
(textbox.module.Generator.LeakGANGenerator.LeakGANGenerator attribute)
(textbox.module.Generator.MaliGANGenerator.MaliGANGenerator attribute)
(textbox.module.Generator.MaskGANGenerator.MaskGANGenerator attribute)
(textbox.module.Generator.RankGANGenerator.RankGANGenerator attribute)
(textbox.module.Generator.SeqGANGenerator.SeqGANGenerator attribute)
(textbox.module.Generator.TextGANGenerator.TextGANGenerator attribute)
(textbox.module.layers.Highway attribute)
(textbox.module.layers.TransformerLayer attribute)
TransformerDecoder (class in textbox.module.Decoder.transformer_decoder)
TransformerEncDec (class in textbox.model.Seq2Seq.transformerencdec)
TransformerEncoder (class in textbox.module.Encoder.transformer_encoder)
TransformerLayer (class in textbox.module.layers)
type (textbox.model.abstract_generator.AttributeGenerator attribute)
(textbox.model.abstract_generator.GenerativeAdversarialNet attribute)
(textbox.model.abstract_generator.Seq2SeqGenerator attribute)
(textbox.model.abstract_generator.UnconditionalGenerator attribute)
U
UNCONDITIONAL (textbox.utils.enum_type.ModelType attribute)
UnconditionalGenerator (class in textbox.model.abstract_generator)
UniqueEvaluator (class in textbox.evaluator.unique_evaluator)
UNK (textbox.utils.enum_type.SpecialTokens attribute)
update_is_present_rate() (textbox.model.GAN.maskgan.MaskGAN method)
W
worker_cos_reward() (textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
worker_cross_entropy_loss() (textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
worker_nll_loss() (textbox.module.Generator.LeakGANGenerator.LeakGANGenerator method)
X
xavier_normal_initialization() (in module textbox.model.init)
xavier_uniform_initialization() (in module textbox.model.init)
(textbox.model.VAE.cvae.CVAE method)
XLNet (class in textbox.model.LM.xlnet)
Read the Docs
v: latest
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds