optimum icon indicating copy to clipboard operation
optimum copied to clipboard

Table Transformer to ONNX

Open balajiChundi opened this issue 1 year ago • 2 comments

Feature request

Hi all, I am trying to convert Table-transformer model from transformers(pretrained) to ONNX. Error reads something like " 'table-transformer' is not a supported format.

Is there any way to convert table-transformer (TATR) to ONNX model. Any help would be cherished. Thanks.

Motivation

Motivation for this is, I am working on developing a light weight table structure recognition model, ONNX model would help me in that regard.

Your contribution

None

balajiChundi avatar Dec 18 '23 07:12 balajiChundi

Thank you, table-transformer model is supported in Transformers (https://huggingface.co/docs/transformers/main/en/model_doc/table-transformer) but not yet in the ONNX export. Adding it to my todo :)

fxmarty avatar Jan 09 '24 15:01 fxmarty

+1

failable avatar Jan 30 '24 04:01 failable

Hi @balajiChundi, @liebkne the support was added in https://github.com/huggingface/optimum/pull/1616

fxmarty avatar Feb 28 '24 08:02 fxmarty