Skip to content

Commit c94bbd2

Browse files
committed
data folders should be together
Signed-off-by: Dushyant Behl <[email protected]>
1 parent 0ae165c commit c94bbd2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+16
-17
lines changed

tests/acceleration/test_acceleration_framework.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@
5454
from tuning.utils.import_utils import is_fms_accelerate_available
5555

5656
# for some reason the CI will raise an import error if we try to import
57-
# these from tests.testdata
57+
# these from tests.artifacts.testdata
5858
TWITTER_COMPLAINTS_JSON_FORMAT = os.path.join(
59-
os.path.dirname(__file__), "../data/twitter_complaints_json.json"
59+
os.path.dirname(__file__), "../artifacts/testdata/twitter_complaints_json.json"
6060
)
6161
TWITTER_COMPLAINTS_TOKENIZED = os.path.join(
6262
os.path.dirname(__file__),
63-
"../data/twitter_complaints_tokenized_with_maykeye_tinyllama_v0.json",
63+
"../artifacts/testdata/twitter_complaints_tokenized_with_maykeye_tinyllama_v0.json",
6464
)
6565

6666
# pylint: disable=import-error

tests/predefined_data_configs/__init__.py renamed to tests/artifacts/predefined_data_configs/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
PRETOKENIZE_JSON_DATA_YAML = os.path.join(
2626
PREDEFINED_DATA_CONFIGS, "pretokenized_json_data.yaml"
2727
)
28-
TOKENIZE_AND_INSTRUCTION_MASKING_YAML = os.path.join(
29-
PREDEFINED_DATA_CONFIGS, "tokenize_and_instruction_masking.yaml"
28+
TOKENIZE_AND_APPLY_INPUT_MASKING_YAML = os.path.join(
29+
PREDEFINED_DATA_CONFIGS, "tokenize_and_apply_input_masking.yaml"
3030
)

tests/predefined_data_configs/apply_custom_template.yaml renamed to tests/artifacts/predefined_data_configs/apply_custom_template.yaml

File renamed without changes.

tests/predefined_data_configs/pretokenized_json_data.yaml renamed to tests/artifacts/predefined_data_configs/pretokenized_json_data.yaml

File renamed without changes.

tests/predefined_data_configs/tokenize_and_apply_input_masking.yaml renamed to tests/artifacts/predefined_data_configs/tokenize_and_apply_input_masking.yaml

File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/testdata/trainercontroller/epoch-level-eval-loss-patience.yaml renamed to tests/artifacts/testdata/trainercontroller/epoch-level-eval-loss-patience.yaml

File renamed without changes.

0 commit comments

Comments
 (0)