Fixed Typo: categorial -> categorical
Related to issue
@@ -111,7 +111,7 @@ def text_dataset_from_directory(directory,
`(batch_size,)`.
- if `label_mode` is `binary`, the labels are a `float32` tensor of
1s and 0s of shape `(batch_size, 1)`.
- - if `label_mode` is `categorial`, the labels are a `float32` tensor
+ - if `label_mode` is `categorical`, the labels are a `float32` tensor
of shape `(batch_size, num_classes)`, representing a one-hot
encoding of the class index.
"""
