Commit 5f1d18d4 authored by haileyschoelkopf's avatar haileyschoelkopf
Browse files

remove tokenizer assert

parent 2a92cde0
......@@ -102,16 +102,6 @@ class HFLM(BaseLM):
self.vocab_size = self.tokenizer.vocab_size
if isinstance(
self.tokenizer, (transformers.GPT2Tokenizer, transformers.GPT2TokenizerFast)
):
assert self.tokenizer.encode("hello\n\nhello") == [
31373,
198,
198,
31373,
], self.tokenizer.encode("hello\n\nhello")
# Validate batch_size
assert isinstance(batch_size, (int, str))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment