Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
dlwh committed Feb 9, 2024
1 parent c5fb7a6 commit ddba7fd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 46 deletions.
21 changes: 0 additions & 21 deletions config/gpt2_large_sophia_g.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions config/gpt2_small_fast_sophia_g.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion src/levanter/doremi.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def doremi_step(state: DoremiState, ref, batch, domains):
"train/mean_proxy_loss": mean_proxy_loss,
**{f"alpha/{domain}": weight for domain, weight in alpha_dict.items()},
# just skip domains with no excess loss
**{f"train/{domain}/excess_loss": loss for domain, loss in per_domain_dict.items() if loss > 0},
**{f"train/{domain}/excess_loss": loss for domain, loss in per_domain_dict.items()},
},
step=state._step,
)
Expand Down

0 comments on commit ddba7fd

Please sign in to comment.