Skip to content

Commit 27de781

Browse files
authored
Enable PyTests for Nemotron-CC classifiers (#543)
* Enable PyTests for Nemotron-CC classifiers Signed-off-by: Sarah Yurick <sarahyurick@gmail.com> * Update copyright year Signed-off-by: Sarah Yurick <sarahyurick@gmail.com> * revert pyproject toml change Signed-off-by: Sarah Yurick <sarahyurick@gmail.com> * push Signed-off-by: Sarah Yurick <sarahyurick@gmail.com> --------- Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
1 parent 2391e28 commit 27de781

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

nemo_curator/scripts/classifiers/fineweb_mixtral_edu_classifier_inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved.
1+
# Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

nemo_curator/scripts/classifiers/fineweb_nemotron_edu_classifier_inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved.
1+
# Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved.
1+
# Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

tests/test_classifiers.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved.
1+
# Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -139,9 +139,6 @@ def test_fineweb_edu_classifier(gpu_client, domain_dataset):
139139
assert result_pred.equals(expected_pred)
140140

141141

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

157154

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

0 commit comments

Comments
 (0)