Afeezee commited on
Commit
cd3b671
·
verified ·
1 Parent(s): 8e5161d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ bert = AutoModel.from_pretrained('bert-base-uncased')
30
  tokenizer = BertTokenizerFast.from_pretrained('bert-base-uncased')
31
 
32
  # Majority of titles above have word length under 60. So, we set max title length as 60
33
- MAX_LENGHT = 60
34
  # Tokenize and encode sequences in the train set
35
  tokens_train = tokenizer.batch_encode_plus(
36
  train_text.tolist(),
 
30
  tokenizer = BertTokenizerFast.from_pretrained('bert-base-uncased')
31
 
32
  # Majority of titles above have word length under 60. So, we set max title length as 60
33
+ MAX_LENGHT = 64
34
  # Tokenize and encode sequences in the train set
35
  tokens_train = tokenizer.batch_encode_plus(
36
  train_text.tolist(),