Skip to content

Commit 7e8f5a3

Browse files
authored
Fix unclosed fenced docstrings (#1025)
1 parent 1aa01c8 commit 7e8f5a3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

keras_nlp/models/gpt2/gpt2_causal_lm_preprocessor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ class GPT2CausalLMPreprocessor(GPT2Preprocessor):
9090
# Map a dataset to preprocess unlabled sentences.
9191
ds = tf.data.Dataset.from_tensor_slices(features)
9292
ds = ds.map(preprocessor, num_parallel_calls=tf.data.AUTOTUNE)
93+
```
9394
"""
9495

9596
def call(

keras_nlp/models/opt/opt_causal_lm_preprocessor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ class OPTCausalLMPreprocessor(OPTPreprocessor):
9191
# Map a dataset to preprocess unlabled sentences.
9292
ds = tf.data.Dataset.from_tensor_slices(features)
9393
ds = ds.map(preprocessor, num_parallel_calls=tf.data.AUTOTUNE)
94+
```
9495
"""
9596

9697
def call(

0 commit comments

Comments
 (0)