Skip to content

Commit

Permalink
Push LDS results pickle files
Browse files Browse the repository at this point in the history
  • Loading branch information
pomonam committed Jun 26, 2024
1 parent 2b736bb commit bd19cf0
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/wikitext/evaluate_lds.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from kronfluence.analyzer import Analyzer


def evaluate_correlations(scores):
def evaluate_correlations(scores: torch.Tensor) -> float:
losses = torch.from_numpy(torch.load(open("files/losses.pt", "rb")))
masks = torch.from_numpy(torch.load(open("files/masks.pt", "rb"))).float()

Expand Down
Binary file added examples/wikitext/files/losses.pt
Binary file not shown.
Binary file added examples/wikitext/files/masks.pt
Binary file not shown.
3 changes: 1 addition & 2 deletions examples/wikitext/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
transformers
datasets
matplotlib
tueplots
gdown
tueplots

0 comments on commit bd19cf0

Please sign in to comment.