Giter VIP home page Giter VIP logo

Comments (4)

cmnfriend avatar cmnfriend commented on September 14, 2024

可以看看uie_trainer里的正则化项?

from o-lora.

bw-wang19 avatar bw-wang19 commented on September 14, 2024

一共是两项,第一项是论文里面提到保持> $A_i \ i\in[1,t-1]$与> $A_t$正交的项,第二项是限制了> $A_t,B_t$大小的项,但这个只能保证不要让loranew_a/b太大吧?而且A的列向量是d维,但是B中向量是k维吧,一个K维向量是怎么由几个d维向量加权得到的,这个我也没搞懂。
image
image

from o-lora.

cmnfriend avatar cmnfriend commented on September 14, 2024

一个新的任务的参数变化计算方式:C=AB,C的列向量可由A的列向量线性表示,C的列向量张成的空间是A的列向量张成空间的子空间,所以我们希望在优化时能让新的lora参数A’和旧的参数A正交(内积=0->每个列向量都正交->正交),这样使得新的参数C'与旧的参数C也正交,使得两个任务的参数变化发生在不同的空间里

from o-lora.

bw-wang19 avatar bw-wang19 commented on September 14, 2024

哦哦我明白了,我理解错了,万分感谢!

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.