Open
Conversation
|
你好,我使用了这份代码,发现每次调用一次/v1/embeddings接口,显存占用都会提高一些,请问这是正常的么? |
|
hi, is |
|
@5102a 你好,我看了您的计算embeddings的方式,那么问题来了,在使用embedding进行搜索的时候,是用加法计算距离好、还是用乘法计算算法好呢 |
Contributor
|
Hi, @5102a, thanks for this proposal. However, as Qwen is not supposed to be used as an embedding module, adding this feature may cause users to believe it is officially supported. I don't think it will be merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request 概述
提交的变更
/v1/embeddingspost 接口