There is a issue this tutorial. Here ```
standardize=custom_standardization,
custom_standardization have no parameter. But it except the input data parameters. I got issue that is missing arguments.
Link of tutorial : https://www.tensorflow.org/tutorials/keras/text_classification
Hi @Emir_Akagunduz, The custom_standardization function defined in the tutorial
def custom_standardization(input_data):
lowercase = tf.strings.lower(input_data)
stripped_html = tf.strings.regex_replace(lowercase, '<br />', ' ')
return tf.strings.regex_replace(stripped_html,
'[%s]' % re.escape(string.punctuation),
'')
has the parameter defined with name input_data.
Also I have run the code present in the tutorial and did not get any issue regarding the missing argument. Please refer to this gist for working code example. Thank You