That is the expected outcome if you run the code without defining input data. You mentioned in your initial prompt that you want the algorithm to run on a long list of data. To use the code sample, you must first define a Python list `list_of_data` containing your data.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence