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

产品模式下,想要修改向量化流程的batch_size大小,请问应该如何修改? #352

Open
yuuki-nanamin opened this issue Feb 18, 2025 · 3 comments
Assignees

Comments

@yuuki-nanamin
Copy link

产品模式下,我想要修改向量化流程中提交给embedding模型的batch_size大小,请问是应该在服务端的镜像容器里修改吗?执行的源码在哪里呢?

@xionghuaidong
Copy link
Collaborator

Yes, it must be modified in the docker container. Please refer to batch_vectorizer.py.

@yuuki-nanamin
Copy link
Author

Yes, it must be modified in the docker container. Please refer to batch_vectorizer.py.

请问batch_vectorizer.py的代码是在docker container的/openspg_venv/lib/python3.8/site-packages/kag/builder/component/vectorizer目录下吗?

@xionghuaidong
Copy link
Collaborator

Yes, it must be modified in the docker container. Please refer to batch_vectorizer.py.

请问batch_vectorizer.py的代码是在docker container的/openspg_venv/lib/python3.8/site-packages/kag/builder/component/vectorizer目录下吗?

是的。

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