Spaces:
Running
Running
models : fix typo in convert-h5-to-ggml.py
Browse files
models/convert-h5-to-ggml.py
CHANGED
|
@@ -56,7 +56,7 @@ def bytes_to_unicode():
|
|
| 56 |
The reversible bpe codes work on unicode strings.
|
| 57 |
This means you need a large # of unicode characters in your vocab if you want to avoid UNKs.
|
| 58 |
When you're at something like a 10B token dataset you end up needing around 5K for decent coverage.
|
| 59 |
-
This is a
|
| 60 |
To avoid that, we want lookup tables between utf-8 bytes and unicode strings.
|
| 61 |
And avoids mapping to whitespace/control characters the bpe code barfs on.
|
| 62 |
"""
|
|
|
|
| 56 |
The reversible bpe codes work on unicode strings.
|
| 57 |
This means you need a large # of unicode characters in your vocab if you want to avoid UNKs.
|
| 58 |
When you're at something like a 10B token dataset you end up needing around 5K for decent coverage.
|
| 59 |
+
This is a significant percentage of your normal, say, 32K bpe vocab.
|
| 60 |
To avoid that, we want lookup tables between utf-8 bytes and unicode strings.
|
| 61 |
And avoids mapping to whitespace/control characters the bpe code barfs on.
|
| 62 |
"""
|