Skip to content
Snippets Groups Projects
Commit 00271b59 authored by Hsien-Chin Lin's avatar Hsien-Chin Lin
Browse files

wip

parent 269b24cb
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,7 @@ def arg_parser(): ...@@ -38,6 +38,7 @@ def arg_parser():
help="do golden nlg generation") help="do golden nlg generation")
parser.add_argument("--no-neutral", action="store_true", parser.add_argument("--no-neutral", action="store_true",
help="skip neutral emotion") help="skip neutral emotion")
parser.add_argument("--use-sentiment", action="store_true")
return parser.parse_args() return parser.parse_args()
...@@ -315,7 +316,8 @@ def main(): ...@@ -315,7 +316,8 @@ def main():
eval = Evaluator(args.model_checkpoint, eval = Evaluator(args.model_checkpoint,
args.dataset, args.dataset,
args.model_weight, args.model_weight,
args.only_action) args.only_action,
args.use_sentiment)
print("model checkpoint", args.model_checkpoint) print("model checkpoint", args.model_checkpoint)
print("generated_file", args.generated_file) print("generated_file", args.generated_file)
print("input_file", args.input_file) print("input_file", args.input_file)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment