Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[Models]Add pp for chatglmv2 #9043
base: develop
Are you sure you want to change the base?
[Models]Add pp for chatglmv2 #9043
Changes from all commits
eda6ceb
d46530e
b43b650
75b0d31
a1af3f3
f08edfd
4272b02
c6d8f15
1e9cfba
0eb86ef
96d4cb5
addb683
8fc4c8a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 187 in paddlenlp/experimental/transformers/chatglm_v2/modeling.py
Codecov / codecov/patch
paddlenlp/experimental/transformers/chatglm_v2/modeling.py#L187
Check warning on line 189 in paddlenlp/experimental/transformers/chatglm_v2/modeling.py
Codecov / codecov/patch
paddlenlp/experimental/transformers/chatglm_v2/modeling.py#L189
Check warning on line 156 in paddlenlp/transformers/chatglm_v2/modeling.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling.py#L155-L156
Check warning on line 171 in paddlenlp/transformers/chatglm_v2/modeling.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling.py#L171
Check warning on line 21 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L20-L21
Check warning on line 39 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L39
Check warning on line 44 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L43-L44
Check warning on line 46 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L46
Check warning on line 70 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L50-L70
Check warning on line 73 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L72-L73
Check warning on line 76 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L75-L76
Check warning on line 79 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L78-L79
Check warning on line 82 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L81-L82
Check warning on line 85 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L84-L85
Check warning on line 88 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L87-L88
Check warning on line 90 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L90
Check warning on line 96 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L96
Check warning on line 107 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L98-L107
Check warning on line 110 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L109-L110
Check warning on line 112 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L112
Check warning on line 122 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L122
Check warning on line 125 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L125
Check warning on line 128 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L128
Check warning on line 130 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L130
Check warning on line 134 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L133-L134
Check warning on line 136 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L136
Check warning on line 144 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L143-L144
Check warning on line 148 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L148
Check warning on line 154 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L151-L154
Check warning on line 158 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L156-L158
Check warning on line 160 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L160
Check warning on line 164 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L162-L164
Check warning on line 166 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L166
Check warning on line 169 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L169
Check warning on line 173 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L171-L173
Check warning on line 179 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L175-L179
Check warning on line 182 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L181-L182
Check warning on line 189 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L187-L189
Check warning on line 191 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L191
Check warning on line 193 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L193
Check warning on line 195 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L195
Check warning on line 204 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L202-L204
Check warning on line 211 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L209-L211
Check warning on line 216 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L216
Check warning on line 237 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L237
Check warning on line 239 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L239
Check warning on line 243 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L241-L243
Check warning on line 246 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L245-L246
Check warning on line 248 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L248
Check warning on line 253 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L252-L253
Check warning on line 258 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L258
Check warning on line 262 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L262
Check warning on line 267 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L267
Check warning on line 276 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L274-L276
Check warning on line 278 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L278
Check warning on line 292 in paddlenlp/transformers/chatglm_v2/modeling_pp.py
Codecov / codecov/patch
paddlenlp/transformers/chatglm_v2/modeling_pp.py#L292