Instructions to use Nj-1111/Copernicus-Tokenizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nj-1111/Copernicus-Tokenizer with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Nj-1111/Copernicus-Tokenizer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer_config.json with huggingface_hub
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"tokenizer_class": "PreTrainedTokenizerFast",
|
| 3 |
"model_max_length": 131072,
|
| 4 |
-
"vocab_size":
|
| 5 |
"bos_token": "<|endoftext|>",
|
| 6 |
"eos_token": "<|endoftext|>",
|
| 7 |
"unk_token": "<|unk|>",
|
|
|
|
| 1 |
{
|
| 2 |
"tokenizer_class": "PreTrainedTokenizerFast",
|
| 3 |
"model_max_length": 131072,
|
| 4 |
+
"vocab_size": 60000,
|
| 5 |
"bos_token": "<|endoftext|>",
|
| 6 |
"eos_token": "<|endoftext|>",
|
| 7 |
"unk_token": "<|unk|>",
|