Skip to content

Conversation

zeroRains
Copy link
Contributor

pcard-71500

所有的模型都会有ori_vocab_size属性,直接获取就可以了,如果没有再用self.vocab_size替换,并不需要区分是否为Ernie。

Copy link

paddle-bot bot commented Sep 8, 2025

Thanks for your contribution!

@Jiang-Jia-Jun Jiang-Jia-Jun merged commit 35b8362 into PaddlePaddle:release/2.2 Sep 9, 2025
15 of 16 checks passed
@zeroRains zeroRains deleted the 2.2 branch September 9, 2025 07:22
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.

2 participants