Skip to content

Commit cb01ade

Browse files
author
Ikko Eltociear Ashimine
authored
docs: fix typo in convert.py (leejet#17)
signficant -> significant
1 parent a227226 commit cb01ade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/convert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def bytes_to_unicode():
111111
The reversible bpe codes work on unicode strings.
112112
This means you need a large # of unicode characters in your vocab if you want to avoid UNKs.
113113
When you're at something like a 10B token dataset you end up needing around 5K for decent coverage.
114-
This is a signficant percentage of your normal, say, 32K bpe vocab.
114+
This is a significant percentage of your normal, say, 32K bpe vocab.
115115
To avoid that, we want lookup tables between utf-8 bytes and unicode strings.
116116
And avoids mapping to whitespace/control characters the bpe code barfs on.
117117
"""

0 commit comments

Comments
 (0)