baichuan-inc / Baichuan-13B

A 13B large language model developed by Baichuan Intelligent Technology
https://huggingface.co/baichuan-inc/Baichuan-13B-Chat
Apache License 2.0
2.98k stars 236 forks source link

本地部署版本问题 #196

Closed JasonFlyBeauty closed 1 year ago

JasonFlyBeauty commented 1 year ago

请问本地部署时的transformer的版本用的多少呀 我的是4.36.0.dev0,报错 return self.sp_model.get_piece_size() ^^^^^^^^^^^^^ AttributeError: 'BaichuanTokenizer' object has no attribute 'sp_model'

DeoLeung commented 1 year ago

遇到相同问题, 需要downgrade到多少?

DeoLeung commented 1 year ago

4.33.3 works