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
想问下,我想像bert输出那样取出最后一层的隐藏状态和pooler_output值,代码这么写有无问题:
model= UIE.frompretrained(路径) last_hidden_state = model(inputs*).hidden_states[-1] pooler_output = torch.max(model(inputs*).hidden_states[-1])
另外,模型输出的start_prob,end_prob是什么?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
想问下,我想像bert输出那样取出最后一层的隐藏状态和pooler_output值,代码这么写有无问题:
另外,模型输出的start_prob,end_prob是什么?
The text was updated successfully, but these errors were encountered: