GithubHelp home page GithubHelp logo

Comments (4)

alenma04 avatar alenma04 commented on July 24, 2024

@eagle705 I am also getting the same error.Are you able to solve this?

from notebooks.

JonathanSum avatar JonathanSum commented on July 24, 2024

I am also getting the same error.

https://colab.research.google.com/drive/1F_PYyugN7G_M_Odv0mMRitxY1aalb2yB?usp=sharing

from notebooks.

osanseviero avatar osanseviero commented on July 24, 2024

cc @lewtun

from notebooks.

lewtun avatar lewtun commented on July 24, 2024

Thanks for reporting this issue @eagle705. This notebook is sorely outdated and should be revamped to showcase:

  • How to export models with different topologies (e.g. causal LM heads, masked LM heads etc)
  • How to run basic inference with ONNX Runtime, i.e. no optimisation techniques which are now the domain of our optimum library

For point (2) I'd like to show how one can wrap ONNX Runtime InferenceSessions as pipelines (with pre- and post-processing), similar to what was done in Chapter 8 of the NLP with Transformers book or as @ChainYo did in his blog post

I'll get around to this at some point, but if anyone wants to tackle it beforehand they're very welcome!

from notebooks.

Related Issues (20)

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.