Create tokenizer.json
Browse files- tokenizer.json +4 -0
tokenizer.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from transformers import BertTokenizer
|
2 |
+
|
3 |
+
tokenizer = BertTokenizer.from_pretrained("bert-base-uncased")
|
4 |
+
tokenizer.save_pretrained("path_to_save_tokenizer")
|