Skip to content

Commit 6eb541d

Browse files
authored
fix: function name from requires_agumentation to requires_augmentation (#434)
* fix: function name from requires_agumentation to requires_augmentation Signed-off-by: Will Johnson <[email protected]> * fix: file path Signed-off-by: Will Johnson <[email protected]> * fmt Signed-off-by: Will Johnson <[email protected]> --------- Signed-off-by: Will Johnson <[email protected]>
1 parent 53a9d18 commit 6eb541d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/acceleration/test_acceleration_framework.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
# for some reason the CI will raise an import error if we try to import
5858
# these from tests.artifacts.testdata
5959
TWITTER_COMPLAINTS_JSON_FORMAT = os.path.join(
60-
os.path.dirname(__file__), "../artifacts/testdata/json/twitter_complaints_json.json"
60+
os.path.dirname(__file__),
61+
"../artifacts/testdata/json/twitter_complaints_small.json",
6162
)
6263
TWITTER_COMPLAINTS_TOKENIZED = os.path.join(
6364
os.path.dirname(__file__),

tuning/sft_trainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def train(
329329
time.time() - data_preprocessing_time
330330
)
331331

332-
if framework is not None and framework.requires_agumentation:
332+
if framework is not None and framework.requires_augmentation:
333333
model, (peft_config,) = framework.augmentation(
334334
model, train_args, modifiable_args=(peft_config,)
335335
)

0 commit comments

Comments
 (0)