Git Product home page Git Product logo

transformers's People

Contributors

aaugustin avatar anton-l avatar erenup avatar jetrunner avatar joeddav avatar jplu avatar julien-c avatar lukovnikov avatar lysandrejik avatar mfuntowicz avatar mrm8488 avatar n1t0 avatar narsil avatar nielsrogge avatar patil-suraj avatar patrickvonplaten avatar philipmay avatar philschmid avatar rlouf avatar rocketknight1 avatar rodgzilla avatar sgugger avatar sshleifer avatar stancld avatar stas00 avatar stefan-it avatar tevenlescao avatar thomwolf avatar victorsanh avatar w4nderlust avatar

Watchers

 avatar

transformers's Issues

Request a feature or examples to export BART for sequence classification to ONNX Runtime (ORT)

๐Ÿš€ Feature request

  • I'd like to export BART to ONNX Runtime
  • Of course, transformers officially supports exporting BART to ONNX Runtime [here]:

Ready-made configurations include the following models:

  • ALBERT
  • BART
  • BERT
  • CamemBERT
  • DistilBERT
  • GPT Neo
  • LayoutLM
  • Longformer
  • mBART
  • OpenAI GPT-2
  • RoBERTa
  • T5
  • XLM-RoBERTa
  • But it seems that it doesn't cover all of tasks:
  1. Exporting transformers models โ€” transformers 4.12.5 documentation

The models showcased here are close to fully feature complete, but do lack some features that are currently in development. Namely, the ability to handle the past key values for decoder models is currently in the works.

  1. #13893 in huggingface/transformers (github)

    The generate method in ONNX isn't available yet. It is on the roadmap, but it is a big item that will require quite a bit of time to solve.

    You can follow the progress here: #13578

  • I'd like to implement a feature or manual to address this issue

Motivation

Your contribution

Export ELECTRA to ONNX Runtime (ORT)

๐Ÿš€ Feature request

Motivation

  • I'd like to export ELECTRA to ONNX Runtime
  • Of course, transformers officially supports exporting to ONNX Runtime [here]:

Ready-made configurations include the following models:

  • ALBERT
  • BART
  • BERT
  • CamemBERT
  • DistilBERT
  • GPT Neo
  • LayoutLM
  • Longformer
  • mBART
  • OpenAI GPT-2
  • RoBERTa
  • T5
  • XLM-RoBERTa
  • But it seems that it doesn't support for ELECTRA:
  1. Exporting transformers models โ€” transformers 4.12.5 documentation

The models showcased here are close to fully feature complete, but do lack some features that are currently in development. Namely, the ability to handle the past key values for decoder models is currently in the works.

  • I'd like to implement a feature or manual to address this issue

Your contribution

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.