Skip to content

转onnx问题 #122

@sunzx8

Description

@sunzx8

🚀 The feature

在用optimun转换为onnx之后,我发现输出多了一个:
image
请问为什么会这样?您给出的推理示例直接输入了整个句子,我在构建输入的时候是只用给input_id 和attention_mask吗?token_type_ids需不需要输入?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions