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] Add Aquila2 model #9692

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

ftgreat
Copy link

@ftgreat ftgreat commented Dec 25, 2024

PR types

New features

PR changes

Models

Description

Add Aquila2 model

Signed-off-by: ftgreat <[email protected]>
Copy link

paddle-bot bot commented Dec 25, 2024

Thanks for your contribution!

Copy link
Collaborator

@DrownFish19 DrownFish19 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

codecov bot commented Dec 25, 2024

Codecov Report

Attention: Patch coverage is 15.87697% with 1012 lines in your changes missing coverage. Please review.

Project coverage is 52.38%. Comparing base (801682d) to head (4bfeb7b).
Report is 2 commits behind head on develop.

Files with missing lines Patch % Lines
paddlenlp/transformers/aquila2/modeling.py 13.81% 786 Missing ⚠️
paddlenlp/transformers/aquila2/tokenizer.py 22.85% 108 Missing ⚠️
paddlenlp/transformers/aquila2/fusion_ops.py 17.43% 90 Missing ⚠️
paddlenlp/transformers/aquila2/configuration.py 28.20% 28 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #9692      +/-   ##
===========================================
+ Coverage    52.34%   52.38%   +0.04%     
===========================================
  Files          726      723       -3     
  Lines       117265   113500    -3765     
===========================================
- Hits         61377    59461    -1916     
+ Misses       55888    54039    -1849     

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

@@ -0,0 +1,29 @@
# Copyright (c) 2024 PaddlePaddle Authors. All Rights Reserved.
Copy link
Collaborator

Choose a reason for hiding this comment

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

上传个小模型,写一下 model,Tokenizer的测试吧。模型加载,前向运行。Tokenizer加载,文本转id

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

Successfully merging this pull request may close these issues.

3 participants