问题描述
我有一个情感分析问题,其中包含3个DataFrame列:question
,answer
和is_satisfied
。question
是用户提出的问题,answer
是机器人的回答。 is_satisfied
包含布尔值,指示用户是否满足答案。 question
和answer
可以形成对话。这是一个示例:
question: Hi company X,can I have help with something ||| I want to kNow if product Z is available? ||| Thanks a lot.
answer: Dear customer,my name is Y,how can I help you ||| Please hold on,I will check it. Yes it is available at store A. ||| Glad to help
is_satisfied: 1
我想对这个问题的输入提出建议。我已经有了嵌入矩阵和词汇表。如果我将两个句子都用于分析,则模型可能不知道问题和答案之间的关系(可能是上面的对话)。输入应该是什么样? Input(shape=(2,),dtype=string
?我应该为此(seq2seq)使用哪种类型的模型?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)