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

调用向量模型无法获取分段向量,返回值是token_embeddings #2

Open
shaohuzhang1 opened this issue Nov 18, 2024 · 0 comments

Comments

@shaohuzhang1
Copy link

shaohuzhang1 commented Nov 18, 2024

image
image
上图可以发现响应值是token_embeddings
我对比了py的sentence_transformers 框架发现入参数都是一样但是sentence_transformers 调用的模型是返回了token_embeddings和sentence_embedding
我想知道是不是我调用方式的问题导致无法返回sentence_embedding,或者sentence_embedding 是根据token_embeddings计算出来的

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