Text Generation
Transformers
PyTorch
code
gpt2
custom_code
Eval Results
text-generation-inference
Inference Endpoints
ncoop57 commited on
Commit
aaeed52
1 Parent(s): cfee4c0

Add max length to tokenizer

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +2 -1
tokenizer_config.json CHANGED
@@ -2,5 +2,6 @@
2
  "name_or_path": "bigcode/digit-bytelevel-bpe-jss-v1.1-49152",
3
  "special_tokens_map_file": "/Users/leandro/.cache/huggingface/hub/models--bigcode--digit-bytelevel-bpe-jss-v1.1-49152/snapshots/fa09b77949689a484afafc5f89534e6b6ba2c151/special_tokens_map.json",
4
  "tokenizer_class": "PreTrainedTokenizerFast",
5
- "vocab_size": 49152
 
6
  }
 
2
  "name_or_path": "bigcode/digit-bytelevel-bpe-jss-v1.1-49152",
3
  "special_tokens_map_file": "/Users/leandro/.cache/huggingface/hub/models--bigcode--digit-bytelevel-bpe-jss-v1.1-49152/snapshots/fa09b77949689a484afafc5f89534e6b6ba2c151/special_tokens_map.json",
4
  "tokenizer_class": "PreTrainedTokenizerFast",
5
+ "vocab_size": 49152,
6
+ "model_max_length": 2048
7
  }