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

embeddings: adaptive detect embedding model arguments in mosec #296

Merged
merged 2 commits into from
Jul 15, 2024

Conversation

miaojinc
Copy link
Contributor

Description

Difference embedding model may have different input arguments.
This patch adaptively detect model arguments.

Issues

n/a

Type of change

List the type of change like below. Please delete options that are not relevant.

  • [*] Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would break existing design and interface)

Dependencies

'n/a'.

Tests

Use EMB_MODEL environ to switch to different embedding models.
Bge-large-zh and bce-embedding-base-v1 is tested locally.

@lvliang-intel lvliang-intel merged commit f164f0d into opea-project:main Jul 15, 2024
7 checks passed
dwhitena pushed a commit to predictionguard/GenAIComps that referenced this pull request Jul 24, 2024
…project#296)

* embeddings: adaptive detect embedding model arguments in mosec

Signed-off-by: Jincheng Miao <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: Jincheng Miao <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Daniel Whitenack <[email protected]>
berkecanrizai pushed a commit to berkecanrizai/GenAIComps that referenced this pull request Jul 29, 2024
…project#296)

* embeddings: adaptive detect embedding model arguments in mosec

Signed-off-by: Jincheng Miao <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: Jincheng Miao <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Berke <[email protected]>
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

Successfully merging this pull request may close these issues.

3 participants