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

是否添加trust_remote_code=True,模型结果有差异 #37

Open
22wei22 opened this issue Feb 24, 2025 · 1 comment
Open

是否添加trust_remote_code=True,模型结果有差异 #37

22wei22 opened this issue Feb 24, 2025 · 1 comment

Comments

@22wei22
Copy link

22wei22 commented Feb 24, 2025

我是把hugging_face文件下载到本地,然后使用LlamaVec_1B_FeatureExtractor 在推理时,是否添加trust_remote_code=True,特征相似度有一些差异,原因是什么?

@raytrun
Copy link
Contributor

raytrun commented Mar 14, 2025

trust_remote_code=True will call the code that we have uploaded to HuggingFace. If you want to use it offline, you can download it from HF and send it to your local environment first.

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

2 participants