Giter Site home page Giter Site logo

use a smaller LR? about alpaca-lora HOT 6 CLOSED

tloen avatar tloen commented on September 28, 2024 1
use a smaller LR?

from alpaca-lora.

Comments (6)

tloen avatar tloen commented on September 28, 2024 1

Could also be worth trying to disable the int8 quantization or increase the matrix rank. Will check tomorrow.

from alpaca-lora.

kesar avatar kesar commented on September 28, 2024 1

Captura de pantalla 2023-03-15 a las 22 49 47

same here.

only changed:
BATCH_SIZE = 256
MICRO_BATCH_SIZE = 5

from alpaca-lora.

tloen avatar tloen commented on September 28, 2024

I've observed similar β€” updating to 2e-5 as in the original paper. I'll check in the morning if it works better.

from alpaca-lora.

152334H avatar 152334H commented on September 28, 2024

image

this doesn't seem to actually help. Purple line is with 2e-5, green line 3e-4.

Maybe this is just the best result obtainable with the q_proj/v_proj parameters?

from alpaca-lora.

tloen avatar tloen commented on September 28, 2024

Have you evaluated the model quality? I've always suspected that instruct-tuning is much less data-intensive than most people think.

from alpaca-lora.

tloen avatar tloen commented on September 28, 2024

Fwiw I've been able to eke out some small gains setting LORA_R to 8 instead of 4. Otherwise, seems (until proven otherwise) like both learning rates are perfectly fine.

from alpaca-lora.

Related Issues (20)

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.