Skip to content

Conversation

yt605155624
Copy link
Collaborator

@yt605155624 yt605155624 commented Dec 27, 2022

in paddlenlp==2.4.7, they remove ernie.num_classes, and mv ernie.num_classes -> ernie.num_labels, which will cause
c875875afe016b36bca225b9e0440490
in paddlenlp==2.4.8, they make backward compatibility of ernie.num_classes, but in the long run, ernie.num_classes will be deleted, so we rename ernie.num_classes to ernie.num_labels and dependent on paddlenlp>=2.4.8

@yt605155624 yt605155624 added this to the r1.4.0 milestone Dec 27, 2022
@yt605155624 yt605155624 self-assigned this Dec 27, 2022
@mergify mergify bot added the Text label Dec 27, 2022
Copy link
Contributor

@JiaXiao243 JiaXiao243 left a comment

Choose a reason for hiding this comment

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

LGTM

@JiaXiao243 JiaXiao243 merged commit 6725bcd into PaddlePaddle:develop Dec 27, 2022
@yt605155624 yt605155624 deleted the revise_nlp_version branch December 27, 2022 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants