-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[LLM] support Qwen2 #8338
[LLM] support Qwen2 #8338
Conversation
Thanks for your contribution! |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #8338 +/- ##
===========================================
- Coverage 54.67% 54.42% -0.26%
===========================================
Files 624 632 +8
Lines 97709 99450 +1741
===========================================
+ Hits 53427 54128 +701
- Misses 44282 45322 +1040 ☔ View full report in Codecov by Sentry. |
llm/qwen2moe/lora_argument.json
Outdated
{ | ||
"model_name_or_path": "qwen/Qwen1.5-MoE-A2.7B", | ||
"dataset_name_or_path": "./data", | ||
"output_dir": "./checkpoints/qwen2moe_lora_ckpts", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
确认是否ok,并同步更新 readme 文档
from .configuration import QWen2MoeConfig | ||
from .modeling import QWen2MoeForCausalLM | ||
from .tokenizer import QWen2MoeTokenizer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from .configuration import QWen2MoeConfig | |
from .modeling import QWen2MoeForCausalLM | |
from .tokenizer import QWen2MoeTokenizer | |
from .configuration import * | |
from .modeling import * | |
from .tokenizer import* |
paddlenlp/transformers/__init__.py
Outdated
from .qwen2moe.modeling import * | ||
from .qwen2moe.configuration import * | ||
from .qwen2moe.tokenizer import * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from .qwen2moe.modeling import * | |
from .qwen2moe.configuration import * | |
from .qwen2moe.tokenizer import * | |
from .qwen2moe import * |
@@ -0,0 +1,13 @@ | |||
# Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个文件需要吗?
…P into dev_add_qwen1.5-moe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR types
New features
PR changes
Models
Description
QWen
andQWen2Moe
with same prefixQWen
. The longest name will match each model name before others.support models are listed as follows: