Skip to content

Commit

Permalink
fix bug if num_samples<100
Browse files Browse the repository at this point in the history
  • Loading branch information
rparundekar committed May 26, 2024
1 parent 30f3ce8 commit b336061
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/aihero/research/finetuning/infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

CHECKPOINT_DIR = "/mnt/checkpoint"
DATASET_DIR = "/mnt/dataset"
MAX_NEW_TOKENS = 512

MAX_NEW_TOKENS = 7680
if os.environ.get("HF_TOKEN", None):
login(token=os.environ["HF_TOKEN"])

Expand Down

0 comments on commit b336061

Please sign in to comment.