Hey everyone,

I came across a post recently where someone found it hard to find simple scripts to fine-tune LLMs with their data. So I put together a repo where you can just type out your requirements in a config.yaml file and the training happens flawlessly based on that.

Here’s the repo - LLM-Trainer

It is still a wip so lemme know if guys want some other features added to this.

TIA.

  • kaszebe@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Is there a guide for dummies (read: me) to get this to work on oobabooga?

    • Dry_Long3157@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Hey, you could just download the config file and lora_train.py file and run it as I’ve explained in the readme!

      To simplify it further, open both the file in any editor and load up the same environment you use for oobabooga. Then make all the changes based on your req in the lora_config.yaml file. Once you’re done just run “python lora_train.py”.

      If you need further help, feel free to ask!