Afeezee commited on
Commit
82eebde
·
verified ·
1 Parent(s): 264d472

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ MAX_LENGHT = 60
35
  tokens_train = tokenizer.batch_encode_plus(
36
  train_text.tolist(),
37
  max_length = MAX_LENGHT,
38
- pad_to_max_length=True,
39
  truncation=True
40
  )
41
  # tokenize and encode sequences in the validation set
 
35
  tokens_train = tokenizer.batch_encode_plus(
36
  train_text.tolist(),
37
  max_length = MAX_LENGHT,
38
+ padding=True,
39
  truncation=True
40
  )
41
  # tokenize and encode sequences in the validation set