Text Vectorization Made Easy: A Tutorial on KERAS Preprocessing Layers for AI

Опубликовано: 25 Декабрь 2022
на канале: Discover AI
2,731
35

Text Vectorization layer: a preprocessing layer which maps TEXT features to numerical sequences. KERAS preprocessing layer API allows to build Keras-native INPUT PROCESSING PIPELINES.

This layer has basic options for managing text in a Keras model. It transforms a batch of strings (one example = one string) into either a list of token indices (one example = 1D tensor of integer token indices) or a dense representation (one example = 1D tensor of float values representing data about the example's tokens). This layer is meant to handle natural language inputs.

ALL Credits to KERAS:
https://keras.io/guides/preprocessing...
https://keras.io/api/layers/preproces...

COLAB from KERAS:
https://colab.research.google.com/git...

https://colab.research.google.com/git...


#AI
#KERAS
#TextVectorization