NLP, Large Language Models.
models exist. model_name = "distilbert-base-uncased-finetuned-sst-2-english" text = "Artificial intelligence (AI) is intelligence demonstrated by computers, as opposed to human or animal intelligence." task = pipeline(task="text-classification", model=model_name) task(text) # [{'label': 'POSITIVE',