Update README.md
Browse files
README.md
CHANGED
@@ -37,7 +37,7 @@ tokenizer.fit_on_texts(augmented_sst2_dataset['train']['sentence'])
|
|
37 |
test_sequences = tokenizer.texts_to_sequences(sst2['test']['text'])
|
38 |
|
39 |
# Pad the test sequences
|
40 |
-
test_padded = pad_sequences(test_sequences, padding
|
41 |
|
42 |
reloaded_model = from_pretrained_keras('moshew/distilbilstm-finetuned-sst-2-english')
|
43 |
|
|
|
37 |
test_sequences = tokenizer.texts_to_sequences(sst2['test']['text'])
|
38 |
|
39 |
# Pad the test sequences
|
40 |
+
test_padded = pad_sequences(test_sequences, padding = 'post', truncating = 'post', maxlen=64)
|
41 |
|
42 |
reloaded_model = from_pretrained_keras('moshew/distilbilstm-finetuned-sst-2-english')
|
43 |
|