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

[T5] add prepare_decoder_input_ids_from_labels method #4331

Merged
merged 1 commit into from
Jan 4, 2023

Conversation

JunnYu
Copy link
Member

@JunnYu JunnYu commented Jan 4, 2023

PR types

New features

PR changes

Models

Description

Fix #4328

@paddle-bot
Copy link

paddle-bot bot commented Jan 4, 2023

Thanks for your contribution!

@codecov
Copy link

codecov bot commented Jan 4, 2023

Codecov Report

Merging #4331 (65705b0) into develop (5cc4b21) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop    #4331   +/-   ##
========================================
  Coverage    36.30%   36.30%           
========================================
  Files          419      419           
  Lines        59222    59256   +34     
========================================
+ Hits         21498    21515   +17     
- Misses       37724    37741   +17     
Impacted Files Coverage Δ
paddlenlp/transformers/t5/modeling.py 85.07% <100.00%> (-0.22%) ⬇️
paddlenlp/transformers/bart/modeling.py 84.16% <0.00%> (-1.15%) ⬇️
paddlenlp/transformers/mbart/modeling.py 80.73% <0.00%> (-1.03%) ⬇️
...lenlp/ops/fast_transformer/transformer/decoding.py 7.47% <0.00%> (-0.03%) ⬇️
paddlenlp/transformers/roberta/modeling.py 90.21% <0.00%> (+0.36%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@JunnYu JunnYu merged commit 109e5bf into PaddlePaddle:develop Jan 4, 2023
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.

[Bug]: T5 prepare_decoder_input_ids_from_labels return None
2 participants