declare-lab / RECCON

This repository contains the dataset and the PyTorch implementations of the models from the paper Recognizing Emotion Cause in Conversations.
169 stars 29 forks source link

model reasoning #3

Open Chunfeng1994 opened 2 years ago

Chunfeng1994 commented 2 years ago

Hello, is the reasoning code for this model the same as the code for validating the test set, and does the reasoning code need to enter additional information besides the dialogue.

soujanyaporia commented 2 years ago

You do not need any additional resources. Check the demo here: https://sgnlp.aisingapore.net/emotion-entailment and also inference code: https://sgnlp.aisingapore.net/docs/api_reference/sgnlp.models.emotion_entailment.html#module-sgnlp.models.emotion_entailment

githubxuc commented 6 months ago

Hello author, I get an error like "UnboundLocalError: local variable 'history_seqence_hidden' referenced before assignment" when I run generate_strategy_norm_train this file, this error is related to the file "MultiSource.py", But I debugged for a long time and still didn't solve this problem, does the author know how to solve it? I would appreciate it if I could!