Skip to content

Commit

Permalink
Enable PyTests for Nemotron-CC classifiers (#543)
Browse files Browse the repository at this point in the history
* Enable PyTests for Nemotron-CC classifiers

Signed-off-by: Sarah Yurick <[email protected]>

* Update copyright year

Signed-off-by: Sarah Yurick <[email protected]>

* revert pyproject toml change

Signed-off-by: Sarah Yurick <[email protected]>

* push

Signed-off-by: Sarah Yurick <[email protected]>

---------

Signed-off-by: Sarah Yurick <[email protected]>
  • Loading branch information
sarahyurick authored Feb 18, 2025
1 parent 2391e28 commit 27de781
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved.
# Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved.
# Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved.
# Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
8 changes: 1 addition & 7 deletions tests/test_classifiers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved.
# Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -139,9 +139,6 @@ def test_fineweb_edu_classifier(gpu_client, domain_dataset):
assert result_pred.equals(expected_pred)


@pytest.mark.skip(
reason="Skipping until https://huggingface.co/nvidia/nemocurator-fineweb-mixtral-edu-classifier is published"
)
@pytest.mark.gpu
def test_fineweb_mixtral_classifier(gpu_client, domain_dataset):
from nemo_curator.classifiers import FineWebMixtralEduClassifier
Expand All @@ -155,9 +152,6 @@ def test_fineweb_mixtral_classifier(gpu_client, domain_dataset):
assert result_pred.equals(expected_pred)


@pytest.mark.skip(
reason="Skipping until https://huggingface.co/nvidia/nemocurator-fineweb-nemotron-4-edu-classifier is published"
)
@pytest.mark.gpu
def test_fineweb_nemotron_classifier(gpu_client, domain_dataset):
from nemo_curator.classifiers import FineWebNemotronEduClassifier
Expand Down

0 comments on commit 27de781

Please sign in to comment.