Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
chenmoneygithub committed Oct 19, 2022
1 parent 5ba5534 commit 205efa0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion keras_nlp/tokenizers/byte_pair_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def __init__(
self,
vocabulary,
merges,
sequence_length: int = None,
sequence_length=None,
**kwargs,
) -> None:
# Check dtype and provide a default.
Expand Down
3 changes: 2 additions & 1 deletion keras_nlp/tokenizers/byte_pair_tokenizer_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

import os

import pytest
import tensorflow as tf
from absl.testing import parameterized
from tensorflow import keras
Expand All @@ -30,7 +31,7 @@
)


# @pytest.mark.slow
@pytest.mark.slow
class BytePairTokenizerTest(tf.test.TestCase, parameterized.TestCase):
def setUp(self):
super().setUp()
Expand Down

0 comments on commit 205efa0

Please sign in to comment.