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

The expanded size of the tensor (1750) must match the existing size (512) #629

Open
jiugeanan opened this issue Jan 23, 2025 · 0 comments
Open

Comments

@jiugeanan
Copy link

hf_embedding 模型是 bge-large-zh-v1.5
embedding_dim=1024
llm_model_name 是 chatglm-6b
总是报错 The expanded size of the tensor (1750) must match the existing size (512) at non-singleton dimension 1. Target sizes: [32, 1750]. Tensor sizes: [1, 512]
求教如何解决!

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

1 participant