Skip to content

Commit

Permalink
Merge pull request #42 from jmercat/main
Browse files Browse the repository at this point in the history
Fixed my previous fix
  • Loading branch information
tridao authored Dec 9, 2023
2 parents 165b07a + 3bb4491 commit 711b89f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evals/lm_harness_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self, pretrained="state-spaces/mamba-2.8b", max_length=2048, batch_
self.tokenizer = AutoTokenizer.from_pretrained("EleutherAI/gpt-neox-20b")
self.tokenizer.pad_token_id = self.tokenizer.eos_token_id
self.vocab_size = self.tokenizer.vocab_size
self._batch_size = batch_size if batch_size is not None else 64
self._batch_size = int(batch_size) if batch_size is not None else 64
self._max_length = max_length
self._device = torch.device(device)

Expand Down

0 comments on commit 711b89f

Please sign in to comment.