Skip to content

Commit

Permalink
Merge pull request ConvLab#181 from ConvLab/180-bug-typo-method-name-…
Browse files Browse the repository at this point in the history
…lava-dialog

fix typo
  • Loading branch information
hsien1993 authored Nov 27, 2023
2 parents a9cae64 + aee6805 commit 4a53590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convlab/policy/lava/multiwoz/latent_dialog/dialog_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def _register_metrics(self):
def _is_eod(self, out):
return len(out) == 2 and out[0] == EOD and out[1] == EOS

def _eval _dialog(self, conv, g_key, goal):
def _eval_dialog(self, conv, g_key, goal):
generated_dialog = dict()
generated_dialog[g_key] = {'goal': goal, 'log': list()}
for t_id, (name, utt) in enumerate(conv):
Expand Down

0 comments on commit 4a53590

Please sign in to comment.