Skip to content

Commit f9cace1

Browse files
chenmoneygithubchenmoneygithub
andauthored
Remove deberta from 0.4 release (#607)
* Remove deberta from 0.4 release * fix style Co-authored-by: chenmoneygithub <[email protected]>
1 parent 7ab20d0 commit f9cace1

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

keras_nlp/models/__init__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@
1616
from keras_nlp.models.bert.bert_classifier import BertClassifier
1717
from keras_nlp.models.bert.bert_preprocessor import BertPreprocessor
1818
from keras_nlp.models.bert.bert_tokenizer import BertTokenizer
19-
from keras_nlp.models.deberta_v3.deberta_v3_backbone import DebertaV3Backbone
20-
from keras_nlp.models.deberta_v3.deberta_v3_classifier import (
21-
DebertaV3Classifier,
22-
)
23-
from keras_nlp.models.deberta_v3.deberta_v3_preprocessor import (
24-
DebertaV3Preprocessor,
25-
)
26-
from keras_nlp.models.deberta_v3.deberta_v3_tokenizer import DebertaV3Tokenizer
2719
from keras_nlp.models.distil_bert.distil_bert_backbone import DistilBertBackbone
2820
from keras_nlp.models.distil_bert.distil_bert_classifier import (
2921
DistilBertClassifier,

keras_nlp/tests/doc_tests/docstring_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ def test_docstrings():
4949
runner = unittest.TextTestRunner()
5050
suite = unittest.TestSuite()
5151
for module in keras_nlp_modules:
52-
# Temporarily stop testing gpt2 docstrings until we are exporing the
53-
# symbols.
54-
if "gpt2" in module.__name__:
52+
# Temporarily stop testing gpt2 & deberta docstrings until we are
53+
# exporting the symbols.
54+
if "gpt2" in module.__name__ or "deberta_v3" in module.__name__:
5555
continue
5656
suite.addTest(
5757
doctest.DocTestSuite(

0 commit comments

Comments
 (0)