Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan-Zhou committed Feb 11, 2024
1 parent 65d0ed0 commit 29538d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/levanter/data/mixture.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ def __init__(
):
self.datasets = datasets
self.weights = MixtureDataset._normalize_weights(weights)

if stop_strategy not in [StopStrategy.FIRST_STOP_STRATEGY, StopStrategy.ALL_STOP_STRATEGY]:
raise ValueError(f"Stop strategy {stop_strategy} is not supported.")

print(f"=== class MixtureDataset: self.datasets.keys() = {self.datasets.keys()}, self.weights = {self.weights}, stop_strategy = {stop_strategy} ===")
self.stop_strategy = stop_strategy

Expand Down

0 comments on commit 29538d6

Please sign in to comment.