Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion keras_nlp/tests/doc_tests/docstring_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ def test_fenced_docstrings():
# Base classes.
"keras_nlp.models.backbone",
"keras_nlp.models.preprocessor",
# Preprocessors and tokenizers which use `model.spm`.
"keras_nlp.models.task",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I bet we can just extend the regex "skip" line in the fenced lib to not test our unformatted docstring containing {{ and }}. I can add that after this lands.

# Preprocessors and tokenizers which use `model.spm` (temporary).
"keras_nlp.models.albert.albert_preprocessor",
"keras_nlp.models.albert.albert_tokenizer",
"keras_nlp.models.xlm_roberta.xlm_roberta_preprocessor",
Expand Down