convlab2.e2e.rnn_rollout.deal_or_not package¶
Submodules¶
convlab2.e2e.rnn_rollout.deal_or_not.model module¶
-
class
convlab2.e2e.rnn_rollout.deal_or_not.model.
DealornotAgent
(name, args, sel_args, train=False, diverse=False, max_total_len=100, model_url='https://convlab.blob.core.windows.net/convlab-2/rnnrollout_dealornot.zip')¶ Bases:
convlab2.e2e.rnn_rollout.rnnrollout.RNNRolloutAgent
The Rnn Rollout model for DealorNot dataset.
-
auto_download
()¶ Automatically download the pretrained model and necessary data.
-
-
convlab2.e2e.rnn_rollout.deal_or_not.model.
get_context_generator
(context_file)¶