Giter VIP home page Giter VIP logo

Comments (4)

cmnfriend avatar cmnfriend commented on August 9, 2024

因为我们认为LoRA_A是张成参数更新的低秩空间的基,LoRA_B是这组基的线性组合系数,根据O-LoRA理论应当使新任务参数更新空间的基与过去的基正交即可

from o-lora.

deadpool66 avatar deadpool66 commented on August 9, 2024

非常感谢您的及时回复
最近读代码又发现一个不太理解的地方,每个新任务是随机初始化的loranew参数吗,如果是的话,是不是可以看作每个任务其实是单独训练了一个lora参数,并增加了一个与之前所有任务的lora参数的正交loss,而不是一套lora参数持续地学习呢?
期待并感谢您的回复

from o-lora.

cmnfriend avatar cmnfriend commented on August 9, 2024

非常感谢您的及时回复 最近读代码又发现一个不太理解的地方,每个新任务是随机初始化的loranew参数吗,如果是的话,是不是可以看作每个任务其实是单独训练了一个lora参数,并增加了一个与之前所有任务的lora参数的正交loss,而不是一套lora参数持续地学习呢? 期待并感谢您的回复

是的,随着任务数增加lora参数也会线性增加

from o-lora.

AibibulaAtawula avatar AibibulaAtawula commented on August 9, 2024

非常感谢您的及时回复 最近读代码又发现一个不太理解的地方,每个新任务是随机初始化的loranew参数吗,如果是的话,是不是可以看作每个任务其实是单独训练了一个lora参数,并增加了一个与之前所有任务的lora参数的正交loss,而不是一套lora参数持续地学习呢? 期待并感谢您的回复

### 是的,随着任务数增加lora参数也会线性增加
那是不是只关注最后一个lora作为所有任务参数?不然就需要Task-id了。

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.