You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
pred_json_obj is not compatible with json_obj_to_tokens, where pred_json_obj do not have key dialogue. Instead pred_json_obj has a key called utterance
I can get the program run via replacing that line by
This is addressed in a working version of a PR at the Airdialogue repository - will close once both are merged in with the README updates. At the moment we're basically doing what you mention in question 3 of transforming between utterances and dialogues, but on the Airdialogue cli side.
It loads tokenized
true_data
andtrue_kb
.However according to
https://github.com/josephch405/airdialogue/blob/c74072f8667d92839dc39e98b386ce8e932c8c68/airdialogue/evaluator/evaluator_main.py#L240-L256
, it actually needs json files.
May be change it to
?
https://github.com/josephch405/airdialogue/blob/c74072f8667d92839dc39e98b386ce8e932c8c68/airdialogue/evaluator/evaluator_main.py#L247
it process
pred_json_obj['action']
usingaction_obj_to_str
. This step, however, has been done when generatingdev_selfplay_out.txt
maybe remove
action_obj_to_str
?https://github.com/josephch405/airdialogue/blob/c74072f8667d92839dc39e98b386ce8e932c8c68/airdialogue/evaluator/evaluator_main.py#L252
pred_json_obj
is not compatible withjson_obj_to_tokens
, wherepred_json_obj
do not have keydialogue
. Insteadpred_json_obj
has a key calledutterance
I can get the program run via replacing that line by
However, it think that may not be the optimal solution.
The text was updated successfully, but these errors were encountered: