Coder Social home page Coder Social logo

llm_calculator's Introduction

LLM Calculator

This repository contains code to find the optimal runtime to fine-tune the Llama2-7b model and optimal codebase.

llm_calculator's People

Contributors

yeleswaramteja avatar

Stargazers

 avatar Mohit avatar Avinash avatar Parth Parashar avatar Sumukha Kaparthi avatar ab@og_gm avatar Pratik Desai avatar Mehul Goel avatar Abhay Shukla avatar  avatar

Watchers

 avatar

llm_calculator's Issues

Documentation about how the numbers were calculated.

total_time_taken_by_train_steps = (
total_number_of_steps
* 93
* (self.tokenized_size / 550)
* (total_number_datapoints_in_1_step / 4096)
)
total_time_taken_by_save_steps = total_number_of_save_steps * 23
total_time_taken_by_eval_steps = (
total_number_of_eval_steps
* 44
* (self.tokenized_size / 550)
* (self.number_of_datapoints_to_keep_in_eval / 6868)
)

Having difficulty understanding how some of the numbers here were computed, like 93, 23 and 44.

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.