From 4671ec5f9a4ddffcc9080a07aa0aa234ee33ac30 Mon Sep 17 00:00:00 2001 From: Matt Watson Date: Fri, 5 May 2023 16:02:25 -0700 Subject: [PATCH] Fix unclosed fenced docstrings --- keras_nlp/models/gpt2/gpt2_causal_lm_preprocessor.py | 1 + keras_nlp/models/opt/opt_causal_lm_preprocessor.py | 1 + 2 files changed, 2 insertions(+) diff --git a/keras_nlp/models/gpt2/gpt2_causal_lm_preprocessor.py b/keras_nlp/models/gpt2/gpt2_causal_lm_preprocessor.py index b9f72e2f5a..9a82e1cf45 100644 --- a/keras_nlp/models/gpt2/gpt2_causal_lm_preprocessor.py +++ b/keras_nlp/models/gpt2/gpt2_causal_lm_preprocessor.py @@ -90,6 +90,7 @@ class GPT2CausalLMPreprocessor(GPT2Preprocessor): # Map a dataset to preprocess unlabled sentences. ds = tf.data.Dataset.from_tensor_slices(features) ds = ds.map(preprocessor, num_parallel_calls=tf.data.AUTOTUNE) + ``` """ def call( diff --git a/keras_nlp/models/opt/opt_causal_lm_preprocessor.py b/keras_nlp/models/opt/opt_causal_lm_preprocessor.py index fd0cbdcc71..1c288bb720 100644 --- a/keras_nlp/models/opt/opt_causal_lm_preprocessor.py +++ b/keras_nlp/models/opt/opt_causal_lm_preprocessor.py @@ -91,6 +91,7 @@ class OPTCausalLMPreprocessor(OPTPreprocessor): # Map a dataset to preprocess unlabled sentences. ds = tf.data.Dataset.from_tensor_slices(features) ds = ds.map(preprocessor, num_parallel_calls=tf.data.AUTOTUNE) + ``` """ def call(