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

下载模型到本地调用与直接调用的huggingface结果不同是什么原因? #46

Open
xiuzhilu opened this issue Apr 13, 2022 · 2 comments

Comments

@xiuzhilu
Copy link

感谢大佬的分享,不过大佬我想问一下,为什么的把模型下载到本地来调用与直接用的huggingface的API结果不一样呢?是huggingface的API部署的模型跟公开的出来的这个模型不是同一个嘛?他们好像实验的时候,得到的答案跟huggingface上的答案也是不一样的#39

@Pyrojewe1
Copy link

需要升级transformers版本

@GongMingCarmen
Copy link

@Pyrojewe1 transformers 要使用那个版本才可以?我尝试了2.10.0 和4.7.0得到的答案和huggingface上的答案都不一样

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

No branches or pull requests

3 participants