Files
spring-ai/rerank/output/10-trap-missing-input.txt

7 lines
505 B
Plaintext

# Leaving out token_type_ids
model inputs : [input_ids, attention_mask, token_type_ids]
we sent : [input_ids, attention_mask]
result : Error code - ORT_FAIL - message: Non-zero status code returned while running Gather node. Name:'/bert/embeddings/token_type_embeddings/Gather' Status Message: /onnxruntime_src/include/onnxruntime/core/framework/op_kernel_context.h:45 const T* onnxruntime::OpKernelContext::Input(int) const [with T = onnxruntime::Tensor] Missing Input: token_type_ids