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

修复了在 transformers > 4.36.2 版本中部分模型合并 Lora 模型时因生成配置校验而导致的崩溃问题 #2945

Merged
merged 4 commits into from
Mar 25, 2024

Conversation

marko1616
Copy link
Contributor

What does this PR do?

Fixes #2943

Before submitting

已知默认生成配置会导致保存问题的模型:

  • Llama2
  • chinese-alpaca-2

@hiyouga hiyouga added the pending This problem is yet to be addressed label Mar 24, 2024
@hiyouga hiyouga self-requested a review March 24, 2024 01:17
@hiyouga
Copy link
Owner

hiyouga commented Mar 25, 2024

LGTM!

@hiyouga hiyouga added solved This problem has been already solved and removed pending This problem is yet to be addressed labels Mar 25, 2024
@hiyouga hiyouga merged commit 49f9dbb into hiyouga:main Mar 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved This problem has been already solved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

在transformers>4.36.2的情况下合并Lora模型崩溃
2 participants