Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

跟prefix tuning的区别是什么呢? #60

Open
yingying123321 opened this issue May 27, 2023 · 2 comments
Open

跟prefix tuning的区别是什么呢? #60

yingying123321 opened this issue May 27, 2023 · 2 comments

Comments

@yingying123321
Copy link

您好,p-tuning v2是将prompt embeddings通过past_key_values加到模型的每一层;看了prefix tuning的代码,也是通过past_key_values加到了模型的每一层。请问一下, p-tuning v2跟prefix tuning的区别在哪里呢?琢磨了好久都没有明白。

@hanguangmic
Copy link

您好,p-tuning v2是将prompt embeddings通过past_key_values加到模型的每一层;看了prefix tuning的代码,也是通过past_key_values加到了模型的每一层。请问一下, p-tuning v2跟prefix tuning的区别在哪里呢?琢磨了好久都没有明白。

大胆些就是一摸一样

@CalebXhr
Copy link

我也是研究了很久。。。发现就是一模一样。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants