Skip to content

Commit

Permalink
push
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurZucker committed Jul 24, 2024
1 parent 8278aec commit 1ed26d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/python/benches/bench_gpt2.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def benchmark_batch(documents: list[str]) -> None:
readable_size, unit = format_byte_size(num_bytes / (end - start) * 1e9)
print(f"tiktoken \t{readable_size} / s")

hf_enc = Tokenizer.from_pretrained("gpt2")
hf_enc = Tokenizer.from_pretrained("meta-llama/Meta-Llama-3-8B-Instruct")
hf_enc.encode("warmup")

start = time.perf_counter_ns()
Expand Down

0 comments on commit 1ed26d7

Please sign in to comment.