Skip to content

Features upgrade of Embedding model #424

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

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

quic-amitraj
Copy link
Contributor

@quic-amitraj quic-amitraj commented May 27, 2025

  1. Added Pooling support to Embedding Model
  2. Added multiple seq_len support for the embedding model using QEffAutoModel
  3. Added test for pooling and multiple seq_len

@quic-amitraj quic-amitraj added the wip Work in progress label May 27, 2025
@quic-amitraj quic-amitraj self-assigned this May 27, 2025
@quic-amitraj quic-amitraj marked this pull request as ready for review June 2, 2025 11:27
@quic-amitraj quic-amitraj added ready for review and removed wip Work in progress labels Jun 2, 2025
@quic-amitraj quic-amitraj changed the title Added Pooling support to Embedding Model Feature upgrade of Embedding model Jun 2, 2025
@quic-amitraj quic-amitraj changed the title Feature upgrade of Embedding model Features upgrade of Embedding model Jun 2, 2025
@quic-amitraj quic-amitraj marked this pull request as draft June 4, 2025 05:56
@@ -662,3 +662,9 @@ def filter_kwargs(func, kwargs):
"""
valid_args = inspect.signature(func).parameters
return {key: value for key, value in kwargs.items() if key in valid_args}


def custom_format_warning(msg, category, *args, **kwargs):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@quic-hemagnih can we add it as part of logger module?

Copy link
Contributor Author

@quic-amitraj quic-amitraj Jun 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

I think its a good idea to notify user that pooling is appended to the model. We will add this to the logger as well but warning is also important here. What you think about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants