text: 
  
  TITLE
  State of ONNX
  
  COMMENTS
  8
  
  REACTIONS
  +1: 1
  -1: 0
  laugh: 0
  hooray: 0
  heart: 0
  rocket: 0
  eyes: 0
  
  BODY
  Hi, love the work that's going on with ONNX. I wanted to share the current state of ONNX support in case others were wondering about it (sorry for another table).
  
  Pipeline | Supported
  --- | ---
  feature-extraction | ✓
  sentiment-analysis | ✓
  ner | ✓
  question-answering | ✓
  fill-mask | ✓
  text-generation | ✓
  translation | Broken https://github.com/huggingface/transformers/issues/5948#issuecomment-701699251
  summarization |
  zero-shot-classification |
  conversational |
  text2text-generation |
  
  I was able to export models for both summarization and zero-shot-classification, but they both error without a specific token length due to a reshape inside the ONNX model (code in https://github.com/huggingface/transformers/issues/7404#issuecomment-703966076). If you have any ideas for how to prevent this, I'm happy to try and put together a PR.
  
  ---
  
  A note for Mac Catalina users: exporting models may error with:
  
  ```text
  [libprotobuf ERROR google/protobuf/descriptor_database.cc:394] Invalid file descriptor data passed to EncodedDescriptorDatabase::Add().
  [libprotobuf FATAL google/protobuf/descriptor.cc:1356] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size): 
  libc++abi.dylib: terminating with uncaught exception of type google::protobuf::FatalException: CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size): 
  ```
  
  Use an older version of `protobuf` to avoid this (https://github.com/onnx/onnx/issues/2940#issuecomment-669979419):
  
  ```sh
  pip3 uninstall protobuf
  pip3 install protobuf==3.11.3
  ```