Giter Club home page Giter Club logo

cs282_project_gpt_jax_homework's Introduction

cs182/282_project_gpt_jax

This project is a homework assignment on the implementation of a GPT model for autocompletion. It includes an additional component where we push students to make their own reflections on the societal impact of the model. The main part of the HW is based on Andrej Karpathy's smaller version of the GPT model, called minGPT. minGPT is originally a PyTorch re-implementation of GPT, a highly successful language modeling framework developed by OpenAI. It is a lightweight and efficient implementation of GPT, designed to be easy to use and highly customizable. With its modular architecture and flexible design, minGPT is a powerful tool for researchers and practitioners working in natural language processing and related fields. Students will train the minGPT model on a compilation of different works by Nietzsche - โ€œa German philosopher, prose poet, cultural critic, philologist, and composer.โ€ After implementing the model, students will be able to autocomplete text from sentences fed into the model.

The mingpt_pytorch directory only contains scripts that are direct copies from: https://github.com/karpathy/minGPT. None of the code in this directory is written by us. Furthermore, the code we have implemented is a "JAX/Flax" translation of this PyTorch implementation.

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.