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

调用chatglm4的Embedding-3模型,无法修改维度 #3650

Closed
6 of 7 tasks
greatwallisme opened this issue Jan 23, 2025 · 2 comments
Closed
6 of 7 tasks

调用chatglm4的Embedding-3模型,无法修改维度 #3650

greatwallisme opened this issue Jan 23, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@greatwallisme
Copy link

greatwallisme commented Jan 23, 2025

例行检查

  • 我已确认目前没有类似 issue
  • 我已完整查看过项目 README,以及项目文档
  • 我使用了自己的 key,并确认我的 key 是可正常使用的
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

你的版本

  • 公有云版本
  • 私有部署版本, 具体版本号: 4.8.18

问题描述, 日志截图,配置文件等
使用chatglm4的Embedding-3向量模型对chunk进行向量化,已经在config.json配置文件中相关位置对模型的向量维度进行了设置(1024),
但仍旧会出现:The current vector dimension is 2048, and the vector dimension cannot exceed 1536. The first 1536 dimensions are automatically captured,该信息说明Embedding-3模型返回的向量维度仍然为默认值2048,而不是1024,config.json中的相关设置无效
复现步骤

预期结果

相关截图

Image

Image

@greatwallisme greatwallisme added the bug Something isn't working label Jan 23, 2025
@c121914yu
Copy link
Collaborator

模型支持?

@c121914yu
Copy link
Collaborator

Image试了试没问题~ 自个检查下是不是没重启加载模型~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants