Skip to content

Features upgrade of Embedding model - #424

Merged
Rishin Raj (quic-rishinr) merged 14 commits into
qualcomm:mainfrom
quic-amitraj:nlp_pooling
Jun 11, 2025
Merged

Rishin Raj (quic-rishinr) merged 14 commits into
qualcomm:mainfrom
quic-amitraj:nlp_pooling

Conversation

@quic-amitraj

@quic-amitraj Amit Raj (quic-amitraj) commented May 27, 2025 •

Copy link
Copy Markdown
Contributor
  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 Amit Raj (quic-amitraj) added the wip Work in progress label May 27, 2025
@quic-amitraj
Amit Raj (quic-amitraj) marked this pull request as ready for review June 2, 2025 11:27
@quic-amitraj Amit Raj (quic-amitraj) added ready for review and removed wip Work in progress labels Jun 2, 2025
@quic-amitraj Amit Raj (quic-amitraj) changed the title Added Pooling support to Embedding Model Feature upgrade of Embedding model Jun 2, 2025
@quic-amitraj Amit Raj (quic-amitraj) changed the title Feature upgrade of Embedding model Features upgrade of Embedding model Jun 2, 2025
@quic-amitraj
Amit Raj (quic-amitraj) marked this pull request as draft June 4, 2025 05:56
Comment thread QEfficient/utils/_utils.py Resolved
Comment thread examples/embedding_model.py Resolved
@quic-amitraj
Amit Raj (quic-amitraj) force-pushed the nlp_pooling branch 2 times, most recently from 6eec980 to 3c76e0b Compare June 9, 2025 10:21
@quic-amitraj
Amit Raj (quic-amitraj) marked this pull request as ready for review June 9, 2025 10:22
Comment thread examples/embedding_model.py Resolved
Comment thread examples/embedding_model.py Resolved

@quic-amitraj Amit Raj (quic-amitraj) left a comment •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Comments addressed.

@quic-amitraj Amit Raj (quic-amitraj) left a comment •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated docstring in all module.

@quic-amitraj
Amit Raj (quic-amitraj) force-pushed the nlp_pooling branch 4 times, most recently from 9419072 to f449fd2 Compare June 10, 2025 14:39
Signed-off-by: Amit Raj <quic_amitraj@quicinc.com>
Signed-off-by: Amit Raj <quic_amitraj@quicinc.com>
Signed-off-by: Amit Raj <quic_amitraj@quicinc.com>
Signed-off-by: Amit Raj <quic_amitraj@quicinc.com>
Signed-off-by: Amit Raj <quic_amitraj@quicinc.com>
Amit Raj (quic-amitraj) and others added 9 commits June 11, 2025 15:40
Signed-off-by: Amit Raj <quic_amitraj@quicinc.com>
Signed-off-by: Amit Raj <quic_amitraj@quicinc.com>
…e closest seq_len based on input_ids_len

Signed-off-by: Amit Raj <quic_amitraj@quicinc.com>
Signed-off-by: Amit Raj <quic_amitraj@quicinc.com>
Signed-off-by: Amit Raj <quic_amitraj@quicinc.com>
Signed-off-by: Amit Raj <quic_amitraj@quicinc.com>
Signed-off-by: Amit Raj <quic_amitraj@quicinc.com>
Signed-off-by: Amit Raj <quic_amitraj@quicinc.com>
Signed-off-by: Abukhoyer Shaik <abukhoye@qti.qualcomm.com>
@quic-rishinr
Rishin Raj (quic-rishinr) merged commit 2514c0b into qualcomm:main Jun 11, 2025
asmigosw pushed a commit to asmigosw/efficient-transformers that referenced this pull request Jun 17, 2025
1. Added `Pooling` support to Embedding Model
2. Added multiple seq_len support for the embedding model using
`QEffAutoModel`
4. Added test for pooling and multiple seq_len

---------

Signed-off-by: Amit Raj <quic_amitraj@quicinc.com>
Signed-off-by: Abukhoyer Shaik <abukhoye@qti.qualcomm.com>
Co-authored-by: Abukhoyer Shaik <abukhoye@qti.qualcomm.com>
asmigosw pushed a commit to asmigosw/efficient-transformers that referenced this pull request Jun 17, 2025
1. Added `Pooling` support to Embedding Model
2. Added multiple seq_len support for the embedding model using
`QEffAutoModel`
4. Added test for pooling and multiple seq_len

---------

Signed-off-by: Amit Raj <quic_amitraj@quicinc.com>
Signed-off-by: Abukhoyer Shaik <abukhoye@qti.qualcomm.com>
Co-authored-by: Abukhoyer Shaik <abukhoye@qti.qualcomm.com>
@quic-amitraj
Amit Raj (quic-amitraj) deleted the nlp_pooling branch June 23, 2026 08:39
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.

4 participants