Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
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,
|