Coder Social home page Coder Social logo

gptune's People

Contributors

mkturkcan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gptune's Issues

How does the --truncate_training value work in this excellent repo?

Thanks for this very cool variation of the nshepperd original repo.

I've used --truncate_training 64 to fine-tune a 10 meg corpus with 774M adam/all on a 8 gig headless 1070. The sampled output is better than 345M (imho).

Given that result, does that mean the script is passing 64 parameters of a possible 436 training parameters* in a batch, completing processing, then moving on to the next 64 parameters until all 436 are completed OR are only 64 of a possible 436 loaded into memory for the full fine-tuning session resulting in "774M-lite" ?

For reference, I've run the same test on PaperSpace P6000 (24 gig) without the truncate value and it required only 16.6 gigs of the 23+ gigs available. It required 6x less total iterations compared to the 8 gig test and both checkpoints are the same 3.1 gig size.

Unless I'm mistaken it appears that it's possible to fine-tune a corpus using current 774M model and adam/all layers using memory saving gradients on a home gpu which is a major accomplishment to say the least. If that's true (and it's not 774M lite) then the only advantage to using a 24 gig card is 6x savings on processing time.

Would appreciate your confirmation on how it works.

Cheers, and thanks again for the great repo.

  • From the Adadelta optimizer fork.

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.