Skip to content

Commit

Permalink
other changes
Browse files Browse the repository at this point in the history
  • Loading branch information
transcendingvictor committed Feb 13, 2024
1 parent b0042b5 commit d36a135
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 185 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

Correct_logprobs1/
Correct_logprobs/
1 change: 0 additions & 1 deletion scripts/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def main(model_name, dataset_split, batch_size):

# model accepts 2D tensors (batch_size, seq_len)
val_sequences = torch.tensor([s["tokens"] for s in val_ds])
val_sequences = val_sequences[:220]

output_folder = "Correct_logprobs"
os.makedirs(output_folder, exist_ok=True)
Expand Down
27 changes: 0 additions & 27 deletions src/delphi/eval/generate_logprobs.sh

This file was deleted.

93 changes: 0 additions & 93 deletions src/delphi/eval/inference.py

This file was deleted.

63 changes: 0 additions & 63 deletions src/delphi/eval/inference_on_validation.py

This file was deleted.

0 comments on commit d36a135

Please sign in to comment.