Skip to content

Commit 4eaafb2

Browse files
committed
fix typo: tokenzier -> tokenizer
Signed-off-by: h-guo18 <67671475+h-guo18@users.noreply.github.com>
1 parent 9ae5302 commit 4eaafb2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modelopt/torch/speculative/plugins/modeling_eagle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def __init__(self, config, decoder_layer_cls, bias=False):
4646
"EAGLE module's vocab size should be <= base model vocab size!"
4747
)
4848
# Initialize the buffers to zero.
49-
# Their values depend on specific tokenzier and calibrate dataset, and should be set in training script.
49+
# Their values depend on specific tokenizer and calibration dataset, and should be set in training script.
5050
if config.draft_vocab_size < config.vocab_size:
5151
self.register_buffer("d2t", torch.zeros(config.draft_vocab_size, dtype=torch.int64))
5252
self.lm_head = nn.Linear(

0 commit comments

Comments
 (0)