Skip to content

Commit

Permalink
Fix seed not exposed (#270)
Browse files Browse the repository at this point in the history
* Fixed bug with encoder only models not expecting "labels" argument in forward pass

* Fixed type annotations

* Fixed a bug with decoder-only models

* Fixed data.seed not exposed
  • Loading branch information
AugustasMacijauskas committed Jul 12, 2023
1 parent a88c01a commit edde387
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions elk/extraction/extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ def extract_hiddens(
template_path=cfg.template_path,
rank=rank,
world_size=world_size,
seed=cfg.seed,
)

# Add one to the number of layers to account for the embedding layer
Expand Down

0 comments on commit edde387

Please sign in to comment.