ztx313
ztx313
thanks for your answer,but the code meet a new error, I try to print(self.context_encoder(None, ctx_attn_mask, None, None, None, utt_encodings)), and the result is that (tensor([[ 0.0142, -0.0242]], device='cuda:0'),) , only...
hi! thanks for your reply! Following your way,I run the code, output = self.context_encoder(None, ctx_attn_mask, None, None, None, utt_encodings) context_hiddens, pooled_output = output.last_hidden_state, output.pooler_output but the output type is tuple...
hi! the tuple is: (tensor([[0.0288, 0.2465]], device='cuda:0'),) only return one parameter ------------------ 原始邮件 ------------------ 发件人: "guxd/DialogBERT" ***@***.***>; 发送时间: 2021年11月10日(星期三) 晚上8:34 ***@***.***>; ***@***.******@***.***>; 主题: Re: [guxd/DialogBERT] test error (Issue #9) Then, what is the size of...
the error is the following: File "D:\NLP\DialogBERT-master\models\dialogBERT.py", line 225, in context_encoding context_hiddens, pooled_output = output[0], output[1] IndexError: tuple index out of range ------------------ 原始邮件 ------------------ 发件人: "guxd/DialogBERT" ***@***.***>; 发送时间: 2021年11月10日(星期三)...
I use the default transformer in the root folder of this repository and I created a new environment to test ,but it's the same error! ------------------ 原始邮件 ------------------ 发件人: "guxd/DialogBERT" ***@***.***>; 发送时间: 2021年11月10日(星期三)...
hi! thanks for your reply, I will try it out with these methods. ---Original--- From: ***@***.***> Date: Thu, Apr 21, 2022 22:29 PM To: ***@***.***>; Cc: ***@***.******@***.***>; Subject: Re: [lanyunshi/ConversationalKBQA]...