Experiment - Text tokenization (Tokenizer)
Problem:You want to convert text data into numbers so a machine learning model can understand it. Currently, the tokenizer splits text but does not limit the vocabulary size or handle out-of-vocabulary words well.
Current Metrics:Vocabulary size: 10000, OOV token not used, sample tokenized output: ['I', 'love', 'machine', 'learning'] -> [1, 2, 3, 4]
Issue:The tokenizer creates a very large vocabulary which can cause slow training and overfitting. Also, it does not handle words outside the training set, leading to errors during prediction.
