Transformers
tobiges commited on
Commit
fa445dc
·
verified ·
1 Parent(s): 2faf6de

Upload processor

Browse files
Files changed (2) hide show
  1. processing_action_tokenizer.py +1 -1
  2. tokenizer.json +0 -0
processing_action_tokenizer.py CHANGED
@@ -158,7 +158,7 @@ class UniversalActionProcessor(ProcessorMixin):
158
  special_tokens=[],
159
  initial_alphabet=pre_tokenizers.ByteLevel.alphabet(),
160
  # initial_alphabet=alphabet,
161
- max_token_length=10000,
162
  )
163
  tokenizer.train_from_iterator(
164
  _token_iter(), trainer=trainer, length=len(dct_tokens)
 
158
  special_tokens=[],
159
  initial_alphabet=pre_tokenizers.ByteLevel.alphabet(),
160
  # initial_alphabet=alphabet,
161
+ max_token_length=256,
162
  )
163
  tokenizer.train_from_iterator(
164
  _token_iter(), trainer=trainer, length=len(dct_tokens)
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff