Coder Social home page Coder Social logo

locutus's Introduction

locutus GPT-2 Text Generation

This sample takes folks through the end-to-end process of deploying the GPT-2 model from HuggingFace fine-tuned on the writings of Homer. These are the demos that were shown in the "Scaling responsible MLOps with Azure Machine Learning" session

Features

This repo has a number of things that can be tried in isolation or together as an end-to-end exercise. These include:

  • Azure Machine Learning Infrastructure Setup
  • Experimentation Notebooks
  • AzureML Components and Pipelines for Finetuning GPT-2
  • Managed Inference
  • GitHub Actions for ML Component CI/CD
  • Responsible AI Dashboard (Pending)

Getting Started

Prerequisites

Generally it is easier to run these exercises in the cloud (given that part of the exercise is creating custom environments). If you want to run these things locally you need to have either a virtual or conda environment that supports PyTorch.

Other requirements are:

Quickstart

A detailed walkthrough of the entire process is available. Some instructions basic for getting everything kicked off:

  1. Clone the repo
  2. Azure Machine Learning Infrastructure Setup
./provision.ps1 -name <YOUR_APP_NAME> -location <LOCATION|i.e. westus2>
  1. Experimentation Notebooks
  2. AzureML Components and Pipelines for finetuning GPT-2
  3. Managed Inference
  4. GitHub Actions for ML Component CI/CD
  5. Responsible AI Dashboard

Resources

locutus's People

Contributors

sethjuarez avatar microsoftopensource avatar bstollnitz 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.