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 Multiple Model Classification example #173

Merged
merged 19 commits into from
Nov 21, 2024

Conversation

sarahyurick
Copy link
Collaborator

Closes #70

cc @VibhuJawa

Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
Comment on lines 152 to 153
"classifier_0 = QualityClassifier(\n",
" model_path=quality_model_path,\n",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

model_path has been removed since this PR was opened. See https://github.com/sarahyurick/NeMo-Curator/blob/quality_ensemble/nemo_curator/modules/distributed_data_classifier.py for the original QualityClassifier implementation.

@sarahyurick sarahyurick changed the title Add Multiple Model Quality Classification example Add Multiple Model Classification example Nov 8, 2024
Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
@sarahyurick sarahyurick marked this pull request as ready for review November 9, 2024 00:06
@sarahyurick
Copy link
Collaborator Author

Hi @VibhuJawa this is ready for review. Just depends on rapidsai/crossfit#99.

Copy link
Collaborator

@VibhuJawa VibhuJawa left a comment

Choose a reason for hiding this comment

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

The notebook looks like a great example to me, we should just probably keep this as a tutorial for folks to follow for now.

Thanks for working on this again @sarahyurick

nemo_curator/classifiers/__init__.py Outdated Show resolved Hide resolved
nemo_curator/classifiers/pytorch_deberta.py Outdated Show resolved Hide resolved
sarahyurick and others added 9 commits November 12, 2024 10:37
Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
@sarahyurick
Copy link
Collaborator Author

@VibhuJawa thanks for your comments! I think I have addressed everything.

Copy link
Collaborator

@VibhuJawa VibhuJawa left a comment

Choose a reason for hiding this comment

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

Thanks for pushing on this @sarahyurick , this tutorial looks great to me.

Its good to merge from my end

@sarahyurick sarahyurick merged commit 1334f21 into NVIDIA:main Nov 21, 2024
3 checks passed
vinay-raman pushed a commit to vinay-raman/NeMo-Curator that referenced this pull request Nov 26, 2024
* add notebook

Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>

* continue debugging

Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>

* add working example

Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>

* run black

Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>

* minor updates from main

Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>

* update readme, add pin

Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>

* test remove cython

Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>

* re-add cython

Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>

* try using setuptools_scm

Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>

* add fetch-depth

Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>

* add fetch-tags

Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>

* move everything to tutorials

Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>

* remove _init_weights

Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>

* remove py file and add it to ipynb

Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>

---------

Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
Signed-off-by: Vinay Raman <viraman@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] Add support for Multiple Model Quality Classification
2 participants