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

Add Pooling Strategy Option for embedding creation #491

Merged
merged 8 commits into from
Feb 6, 2025

Conversation

VibhuJawa
Copy link
Collaborator

This PR closes: #490

Signed-off-by: Vibhu Jawa <[email protected]>
@VibhuJawa VibhuJawa self-assigned this Jan 20, 2025
@VibhuJawa VibhuJawa added the gpuci Run GPU CI/CD on PR label Jan 20, 2025
@VibhuJawa VibhuJawa added gpuci Run GPU CI/CD on PR and removed gpuci Run GPU CI/CD on PR labels Jan 21, 2025
@VibhuJawa
Copy link
Collaborator Author

CC: @avem-nv to review

Signed-off-by: Vibhu Jawa <[email protected]>
Signed-off-by: Vibhu Jawa <[email protected]>
Signed-off-by: Vibhu Jawa <[email protected]>
@VibhuJawa VibhuJawa added gpuci Run GPU CI/CD on PR and removed gpuci Run GPU CI/CD on PR labels Feb 5, 2025
@VibhuJawa VibhuJawa requested a review from sarahyurick February 5, 2025 19:29
Signed-off-by: Vibhu Jawa <[email protected]>
@VibhuJawa VibhuJawa marked this pull request as ready for review February 5, 2025 19:44
Copy link
Collaborator

@sarahyurick sarahyurick left a comment

Choose a reason for hiding this comment

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

LGTM!

nemo_curator/modules/semantic_dedup/embeddings.py Outdated Show resolved Hide resolved
tests/test_semdedup.py Outdated Show resolved Hide resolved
Signed-off-by: Vibhu Jawa <[email protected]>
@sarahyurick sarahyurick added gpuci Run GPU CI/CD on PR and removed gpuci Run GPU CI/CD on PR labels Feb 6, 2025
@VibhuJawa VibhuJawa merged commit 97aa372 into NVIDIA:main Feb 6, 2025
6 checks passed
philm001 pushed a commit to philm001/NeMo-Curator that referenced this pull request Feb 10, 2025
* Add pooling stratedgy

Signed-off-by: Vibhu Jawa <[email protected]>

* Ensure pytest is importable in a CPU only environment

Signed-off-by: Vibhu Jawa <[email protected]>

* Fix last token based on Avinash's feedback

Signed-off-by: Vibhu Jawa <[email protected]>

* Fix indexing issues

Signed-off-by: Vibhu Jawa <[email protected]>

* Merge in main

Signed-off-by: Vibhu Jawa <[email protected]>

* Fix Doc-string

Signed-off-by: Vibhu Jawa <[email protected]>

* Address Sarah's reviews

Signed-off-by: Vibhu Jawa <[email protected]>

---------

Signed-off-by: Vibhu Jawa <[email protected]>
Signed-off-by: Phillip Mobley <[email protected]>
philm001 pushed a commit to philm001/NeMo-Curator that referenced this pull request Feb 10, 2025
* Add pooling stratedgy

Signed-off-by: Vibhu Jawa <[email protected]>

* Ensure pytest is importable in a CPU only environment

Signed-off-by: Vibhu Jawa <[email protected]>

* Fix last token based on Avinash's feedback

Signed-off-by: Vibhu Jawa <[email protected]>

* Fix indexing issues

Signed-off-by: Vibhu Jawa <[email protected]>

* Merge in main

Signed-off-by: Vibhu Jawa <[email protected]>

* Fix Doc-string

Signed-off-by: Vibhu Jawa <[email protected]>

* Address Sarah's reviews

Signed-off-by: Vibhu Jawa <[email protected]>

---------

Signed-off-by: Vibhu Jawa <[email protected]>
Signed-off-by: Phillip Mobley <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gpuci Run GPU CI/CD on PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] Add option to extract last token embedding
2 participants