↓ 2 callersFunctionsample_sequence_conditional_batch(model, max_out_length, context_tokens_tensor, context_length_tensor, latent_z=None, temperature=1, top_k=0, t
fengshen/models/DAVAE/run_latent_generation.py:165
↓ 2 callersMethodsave_prediction_to_file(self, preds, sources, targets, ori_target, file_path)
fengshen/examples/translate/finetune_deltalm.py:333
↓ 1 callersMethod__init__(self, model, tokenizer, max_enc_length, max_dec_length, reverse_src_tgt)
fengshen/examples/translate/finetune_deltalm.py:85
↓ 1 callersMethod__init__(
self,
config,
hidden_size,
vocab_size,
max_sequence_length,
fengshen/models/megatron/layers/word_embeddings.py:36