Comments (4)
因为我们认为LoRA_A是张成参数更新的低秩空间的基,LoRA_B是这组基的线性组合系数,根据O-LoRA理论应当使新任务参数更新空间的基与过去的基正交即可
from o-lora.
非常感谢您的及时回复
最近读代码又发现一个不太理解的地方,每个新任务是随机初始化的loranew参数吗,如果是的话,是不是可以看作每个任务其实是单独训练了一个lora参数,并增加了一个与之前所有任务的lora参数的正交loss,而不是一套lora参数持续地学习呢?
期待并感谢您的回复
from o-lora.
非常感谢您的及时回复 最近读代码又发现一个不太理解的地方,每个新任务是随机初始化的loranew参数吗,如果是的话,是不是可以看作每个任务其实是单独训练了一个lora参数,并增加了一个与之前所有任务的lora参数的正交loss,而不是一套lora参数持续地学习呢? 期待并感谢您的回复
是的,随着任务数增加lora参数也会线性增加
from o-lora.
非常感谢您的及时回复 最近读代码又发现一个不太理解的地方,每个新任务是随机初始化的loranew参数吗,如果是的话,是不是可以看作每个任务其实是单独训练了一个lora参数,并增加了一个与之前所有任务的lora参数的正交loss,而不是一套lora参数持续地学习呢? 期待并感谢您的回复
### 是的,随着任务数增加lora参数也会线性增加
那是不是只关注最后一个lora作为所有任务参数?不然就需要Task-id了。
from o-lora.
Related Issues (20)
- ModuleNotFoundError: No module named 'datasets'
- 关于长序列任务上的讨论 HOT 2
- 关于数据集 HOT 6
- 关于数据集加载的报错 HOT 1
- Loss在yahoo数据集上骤降为0
- 代码里的UIE是什么的缩写? HOT 1
- Missing the parameter `r_sum` in class Linear8bitLt in lora.py
- 作者你好~ 请问一下为什么lora矩阵的形状中有0呢 HOT 5
- 代码运行时在loss那里报错
- Thanks! Great Projects! Could you please provide the example to finetune llama-3-instruct-8B with O-LoRA?
- 有order4,5,6的脚本吗? HOT 3
- 运行报错
- llama2的结果比论文中的llama1的结果低
- llama2 结果复现 HOT 4
- 关于standard benchmark
- 如何解决task-id问题
- 关于loss_mask
- 关于SeqLoRA和IncLoRA HOT 2
- 关于lora_b矩阵的更新问题 HOT 4
- 关于MTL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from o-lora.