vumichien commited on
Commit
bdb4741
Β·
1 Parent(s): f11abfb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ class BertSemanticDataGenerator(tf.keras.utils.Sequence):
41
  encoded = self.tokenizer.batch_encode_plus(
42
  sentence_pairs.tolist(),
43
  add_special_tokens=True,
44
- max_length=max_length,
45
  return_attention_mask=True,
46
  return_token_type_ids=True,
47
  pad_to_max_length=True,
 
41
  encoded = self.tokenizer.batch_encode_plus(
42
  sentence_pairs.tolist(),
43
  add_special_tokens=True,
44
+ max_length=128,
45
  return_attention_mask=True,
46
  return_token_type_ids=True,
47
  pad_to_max_length=True,