-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
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
Make token_type_ids
optional output for HFBertTokenizer op
#583
Make token_type_ids
optional output for HFBertTokenizer op
#583
Conversation
…ttps://github.com/microsoft/onnxruntime-extensions into yguo/optional-output-for-bertokenizer-token-type-id
@@ -396,7 +396,7 @@ KernelHfBertTokenizer::KernelHfBertTokenizer(const OrtApi& api, const OrtKernelI | |||
void KernelHfBertTokenizer::Compute(const ortc::Tensor<std::string>& input, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a side question, why use KernelHfBertTokenizer, instead of KernelBertTokenizer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using HFBertTokenizer here as the model I am tryig to add ppp to are mainly from hugging face distilbert-based models.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As title.