Qubitium commited on
Commit
4cd58d3
·
verified ·
1 Parent(s): b40093f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -0
README.md CHANGED
@@ -10,6 +10,21 @@ Original tokenizer pad vocabulary to correct size with `<extra_N>` tokens but en
10
 
11
  modified from original code @ https://huggingface.co/Xenova/dbrx-instruct-tokenizer
12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  # DBRX Instruct Tokenizer
14
 
15
  A 🤗-compatible version of the **DBRX Instruct** (adapted from [databricks/dbrx-instruct](https://huggingface.co/databricks/dbrx-instruct)). This means it can be used with Hugging Face libraries including [Transformers](https://github.com/huggingface/transformers), [Tokenizers](https://github.com/huggingface/tokenizers), and [Transformers.js](https://github.com/xenova/transformers.js).
 
10
 
11
  modified from original code @ https://huggingface.co/Xenova/dbrx-instruct-tokenizer
12
 
13
+ ```
14
+ Changes:
15
+ 1. Remove non-base model tokens
16
+ 2. Keep/Add `<|pad|>` special token to make sure padding can be differentiated from eos/bos.
17
+
18
+ "100277": {
19
+ "content": "<|pad|>",
20
+ "lstrip": false,
21
+ "normalized": false,
22
+ "rstrip": false,
23
+ "single_word": false,
24
+ "special": true
25
+ },
26
+ ```
27
+
28
  # DBRX Instruct Tokenizer
29
 
30
  A 🤗-compatible version of the **DBRX Instruct** (adapted from [databricks/dbrx-instruct](https://huggingface.co/databricks/dbrx-instruct)). This means it can be used with Hugging Face libraries including [Transformers](https://github.com/huggingface/transformers), [Tokenizers](https://github.com/huggingface/tokenizers), and [Transformers.js](https://github.com/xenova/transformers.js).