Giter Site home page Giter Site logo

verilogllm's Introduction

verilogLLM

How to run this thing?

  1. Use a venv

  2. Initialize a venv with “python3 -m venv virt”

  3. source virt/bin/activate

  4. pip freeze --local > requirements.txt -> this is to save requirements

  5. Then install all the dependencies with “python3 -m virt pip3 install -r requirements.txt”

  6. Once you’re done installing the dependencies, use one of the following deepspeed commands to start the training

    deepspeed --num_gpus 1y --num_nodes 1 run_clm.py --model_name_or_path=/home/abhijitp/codegen-350M-multi --save_steps=100 --per_device_train_batch_size=1 --learning_rate 2e-5 --num_train_epochs 1 --output_dir=CodeGen/codegen-350M-verilog-3-epochs --report_to 'wandb' --dataset_name code_snippets.csv --tokenizer_name /home/abhijitp/codegen-350M-multi --block_size 1024 --gradient_accumulation_steps 32 --do_train --do_eval --fp16 --overwrite_output_dir --deepspeed ds_config.json

  7. Change all the directories and settings to match your files.

verilogllm's People

Contributors

vishnu-1821 avatar

Watchers

 avatar

Forkers

pranav-siby

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.