Skip to content

Commit

Permalink
Bump version to 0.29.0 [release]
Browse files Browse the repository at this point in the history
  • Loading branch information
AjayP13 committed Apr 25, 2024
1 parent c650606 commit c92c86f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "DataDreamer"
version = "0.28.0"
version = "0.29.0"
description = "Prompt. Generate Synthetic Data. Train & Align Models."
license = "MIT"
authors= [
Expand Down
2 changes: 1 addition & 1 deletion src/tests/trainers/test_distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ def on_epoch_end(self, args, state, control, **kwargs):
# (ensures weights were saved properly)
inputs = trainer.tokenizer(
["A founder of Microsft is"], padding=True, return_tensors="pt"
)
).to(export_result.device)
outputs = trainer.tokenizer.batch_decode(
export_result.generate(**inputs, max_new_tokens=4, do_sample=False)
)
Expand Down

0 comments on commit c92c86f

Please sign in to comment.