fix typo
This commit is contained in:
parent
f22900b30c
commit
9eef1dfb58
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ class Model(ABC):
|
||||||
if vocab_size > len(tokens):
|
if vocab_size > len(tokens):
|
||||||
pad_count = vocab_size - len(tokens)
|
pad_count = vocab_size - len(tokens)
|
||||||
print(
|
print(
|
||||||
f"Padding vocab with {pad_count} token(s) - [PAD0] through [PAD{pad_count}]"
|
f"Padding vocab with {pad_count} token(s) - [PAD1] through [PAD{pad_count}]"
|
||||||
)
|
)
|
||||||
for i in range(1, pad_count + 1):
|
for i in range(1, pad_count + 1):
|
||||||
tokens.append(f"[PAD{i}]")
|
tokens.append(f"[PAD{i}]")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue