Giter Club home page Giter Club logo

mixtral's Introduction

mixtral

This repo aims to fine-tune Mixtral model.

Requirements

I provided a small Docker image to run the code. You can build it or pull from this repo.

I have not been able to install latest flash_attn in any container that has the necessary PyTorch and Cuda versions. This image is made to run on H100 GPUs.

Run

  • Run the simple_inference.py script to test the model. It actually runs on an A100 with 40GB of memory!

Train

Test you system by running the simple_train.py script. It will train a model on a small dataset. It takes around 1 hour on a 8xH100 machine.

Axolotl

Our experiments are being conducted using the Axolotl lib. For this we are uisng a Docker image that can be pulled from this repo. It bakes the execution of the axolotl_launcher.py script as a replacement of the axolotl.cli.train script. We do this so we can inject parameters from the W&B UI as a launch job.

mixtral's People

Contributors

tcapelle avatar

Stargazers

Jeff Carpenter avatar  avatar s1gh avatar (Bill) Yuchen Lin avatar Yeonwoo Sung avatar Nicolas de Camaret avatar Narain  avatar Leo Lee avatar Thomas Cherickal avatar Andres Roman avatar Julian Harris avatar  avatar  avatar COE avatar Pratik Desai avatar Abdullah Mohammed avatar Christian Engel avatar Yakup Aydın avatar Patrick Power avatar

Watchers

 avatar COE 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.