GithubHelp home page GithubHelp logo

xenowaza / huggingface-onnx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alfredodeza/huggingface-onnx

0.0 0.0 0.0 10 KB

Example notebook to work with ONNX using Hugging Face libraries

License: MIT License

Jupyter Notebook 86.39% Dockerfile 13.61%

huggingface-onnx's Introduction

Using ๐Ÿค— Hugging Face with ONNX

This repository contains example notebooks to work with ONNX using ๐Ÿค— Hugging Face libraries and tools. It is part of the Duke University MLOps Coursera Specialization

Exercise

This repository is ready to use with GitHub Codespaces. All dependencies will be installed and the notebooks will be ready to use. If you are running this locally and without Codespaces, you'll need to follow these steps:

  1. Create a new Conda environment and install the dependencies listed in environment.yml
  2. Open the Jupyter Notebooks and select the Python from the Conda environment created

With the environment in place, go through the notebooks and use the examples that already work and then try these challenges:

  1. Use a different model to port over to Hugging Face
  2. Try a specific feature for a different model
  3. Load the resulting ONNX model with the ONNX Runtime and try using it

Objectives

This introductory repository will expose you to learn how does ONNX and Hugging Face works together. It shows what and how you install the necessary libraries to create ONNX models.

Learning Resources

There are a few sources that are useful to dive deeper into working with ONNX and Hugging Face. Here are a few you can explore:

Related Coursera courses

huggingface-onnx's People

Contributors

alfredodeza avatar

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.