We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在情感预测模型中,prefix是“很满意。”,候选答案是“很”和“不”,目前mark_idx是1,这样的话mask后的句子输入是“很[MASK]意”+text,这样看起来挖空的位置没什么实际含义。请问是我理解有什么不对吗,为什么不将mark_idx设为0呢?
The text was updated successfully, but these errors were encountered:
另外我感觉,如果将prefix设为“满意。”,候选答案不变。mark_idx=0。当label不为2时,用insert将[mask]插入source,将候选答案插入target比较合适。
Sorry, something went wrong.
你好,根据我的理解,你没有考虑到BERT输入时,句子前面会有一个[CLS]哦。这个mark_idx是考虑了CLS之后的idx~即[CLS]很满意。
[CLS]
CLS
[CLS]很满意。
No branches or pull requests
在情感预测模型中,prefix是“很满意。”,候选答案是“很”和“不”,目前mark_idx是1,这样的话mask后的句子输入是“很[MASK]意”+text,这样看起来挖空的位置没什么实际含义。请问是我理解有什么不对吗,为什么不将mark_idx设为0呢?
The text was updated successfully, but these errors were encountered: