cateto commited on
Commit
4e3a9e0
·
verified ·
1 Parent(s): dca846f

Update tokenizer_config.json

Browse files

for this error
```A decoder-only architecture is being used, but right-padding was detected! For correct generation results, please set `padding_side='left'` when initializing the tokenizer.```

Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -380,7 +380,7 @@
380
  "max_length": 7680,
381
  "model_max_length": 16384,
382
  "pad_token": "<|pad|>",
383
- "padding_side": "right",
384
  "sep_token": "<|sep|>",
385
  "tokenizer_class": "GPT2Tokenizer",
386
  "truncation_side": "left",
 
380
  "max_length": 7680,
381
  "model_max_length": 16384,
382
  "pad_token": "<|pad|>",
383
+ "padding_side": "left",
384
  "sep_token": "<|sep|>",
385
  "tokenizer_class": "GPT2Tokenizer",
386
  "truncation_side": "left",