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

[LLM] support QWen1.5-Moe #8338

Open
wants to merge 29 commits into
base: develop
Choose a base branch
from

Conversation

DrownFish19
Copy link
Collaborator

@DrownFish19 DrownFish19 commented Apr 28, 2024

PR types

New features

PR changes

Models

Description

  1. add QWen1.5 Moe model.
  2. support same prefix for different models, such as QWen and QWen2Moe with same prefix QWen. The longest name will match each model name before others.
  3. support sft and lora.

Copy link

paddle-bot bot commented Apr 28, 2024

Thanks for your contribution!

Copy link

codecov bot commented May 6, 2024

Codecov Report

Attention: Patch coverage is 66.55556% with 301 lines in your changes are missing coverage. Please review.

Project coverage is 54.39%. Comparing base (3aa92ce) to head (58af3ec).
Report is 51 commits behind head on develop.

Files Patch % Lines
paddlenlp/transformers/qwen2moe/modeling.py 72.33% 197 Missing ⚠️
paddlenlp/transformers/qwen2moe/tokenizer.py 22.96% 104 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #8338      +/-   ##
===========================================
- Coverage    55.36%   54.39%   -0.98%     
===========================================
  Files          614      621       +7     
  Lines        96016    97254    +1238     
===========================================
- Hits         53164    52904     -260     
- Misses       42852    44350    +1498     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ZHUI ZHUI closed this May 24, 2024
@ZHUI ZHUI reopened this May 24, 2024
# See the License for the specific language governing permissions and
# limitations under the License.

from .configuration import QWen2MoeConfig
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QWen2MoEConfig会不会更好,把Moe都改成MoE。

@@ -0,0 +1,1580 @@
# Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2023 -> 2024,都改掉吧

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

Successfully merging this pull request may close these issues.

None yet

3 participants