I am using android application 1.0
Microsoft.ML.Tokenizers and Microsoft.ML.OnnxRuntime
and I want to ask questions about my txt file.
I searched that I can use BertTokenizer and onnxruntime
tokenizer = BertTokenizer.Create(vocabPath, new BertOptions { RemoveNonSpacingMarks = true });
var encodings = tokenizer.EncodeToIds("This is a sample");
there is EncodeToIds and how to get token_type_ids ?
and when I get result _session.Run(inputs); what to do then?
I am using android application 1.0
Microsoft.ML.Tokenizers and Microsoft.ML.OnnxRuntime
and I want to ask questions about my txt file.
I searched that I can use BertTokenizer and onnxruntime
there is EncodeToIds and how to get
token_type_ids?and when I get result
_session.Run(inputs);what to do then?