Skip to content

Commit

Permalink
[tests] Add 'save_strategy="no"' in tests to counteract transformer…
Browse files Browse the repository at this point in the history
…s v4.48.0 bug (#582)
  • Loading branch information
tomaarsen authored Jan 13, 2025
1 parent 301603b commit d9bf753
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/span/test_model_card.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def test_model_card(absa_dataset: Dataset, tmp_path: Path) -> None:
logging_steps=1,
max_steps=2,
eval_strategy="steps",
save_strategy="no",
)
trainer = AbsaTrainer(
model=model,
Expand Down
1 change: 1 addition & 0 deletions tests/test_model_card.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def test_model_card(tmp_path: Path) -> None:
logging_steps=1,
max_steps=2,
eval_strategy="steps",
save_strategy="no",
)
trainer = Trainer(
model=model,
Expand Down

0 comments on commit d9bf753

Please sign in to comment.