Skip to content

Commit

Permalink
models : fix typo in convert-h5-to-ggml.py
Browse files Browse the repository at this point in the history
signficant -> significant
  • Loading branch information
eltociear authored and ggerganov committed Dec 31, 2022
1 parent a091581 commit 3467230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/convert-h5-to-ggml.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def bytes_to_unicode():
The reversible bpe codes work on unicode strings.
This means you need a large # of unicode characters in your vocab if you want to avoid UNKs.
When you're at something like a 10B token dataset you end up needing around 5K for decent coverage.
This is a signficant percentage of your normal, say, 32K bpe vocab.
This is a significant percentage of your normal, say, 32K bpe vocab.
To avoid that, we want lookup tables between utf-8 bytes and unicode strings.
And avoids mapping to whitespace/control characters the bpe code barfs on.
"""
Expand Down

0 comments on commit 3467230

Please sign in to comment.