Giter VIP home page Giter VIP logo

Comments (3)

cmnfriend avatar cmnfriend commented on August 9, 2024

如果传入的模型没有Lora adapter,那么lora_A/B的维度会是0。每次训练时新初始化一个loranew_A/B,固定lora_A/B,训练完之后将loranew_A/B合并到lora_A/B中,然后保存lora_A/B。

from o-lora.

purpleofdial avatar purpleofdial commented on August 9, 2024

感谢您的及时回复!

from o-lora.

WuNein avatar WuNein commented on August 9, 2024

如果传入的模型没有Lora adapter,那么lora_A/B的维度会是0。每次训练时新初始化一个loranew_A/B,固定lora_A/B,训练完之后将loranew_A/B合并到lora_A/B中,然后保存lora_A/B。

所以新来的Task的LoRA是随机初始化的吧,我没理解错吧~
本来想基于先前任务初始化,从先前任务的矩阵出发,然后应用某种正交化过程来生成新任务的矩阵。例如,可以使用如 Gram-Schmidt 正交化过程来从现有矩阵派生出新的正交矩阵。想了一下感觉好麻烦)

from o-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.