Giter Club home page Giter Club logo

gpu-parllelism-for-finetuning-huggingface-nlp-models-on-bittensor-dataset's Introduction

GPU parallelism for finetuning three different huggingface NLP models on Bittensor dataset

In this repo, the Bittensor CLM finetuning script is converted to support multi gpus. The bittensor version of the script has been adapted from Hugging Face's transformers/language-modeling code and can be found here: https://github.com/opentensor/clm_model_tuning

This script works with 2/4/6/8 GPUs in parallel to be able to train larger models or train them faster. It is written to be trained on the bittensor dataset and work for the huggingface models as gpt-neo-2.7B, gpt-j-6B and gpt-neeo-1.3B

Dataset

The information about the dataset is found https://docs.bittensor.com/nested/TheDataset.html

How to Run

Run git clone https://github.com/opentensor/clm_model_tuning.git Replace the content of finetune_using_clm2.py with finetune_using_clm2.py in the reference repo Run each notebook to finetune the gpt-neo-2.7B, gpt-j-6B and gpt-neeo-1.3B models on bittensor dataset.

gpu-parllelism-for-finetuning-huggingface-nlp-models-on-bittensor-dataset's People

Contributors

nezamtrm avatar

Watchers

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