Skip to content

Commit

Permalink
Add 'save_strategy="no"' in tests to counteract transformers v4.48.0 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaarsen committed Jan 13, 2025
1 parent 301603b commit 64a10e8
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 64a10e8

Please sign in to comment.