I was referring to the following blog to convert bert model to onnx.
  
      

      Medium – 17 Jun 20
  

  
    

Accelerate your NLP pipelines using Hugging Face Transformers and ONNX Runtime 2

  This post was written by Morgan Funtowicz from Hugging Face and Tianlei Wu from Microsoft

  
    Reading time: 6 min read
  

  

  
    
    
  

  


here, to take the inference of bert tokenizer, I’ll have to pass the 2d arrays.
Is there a way, where I’ll be able to pass sentence as input to the onnx tokenizer and get encodings as output, so that I’ll be able to use the model platform-independent