Views
No views yet
model.safetensors (más rápido y seguro)1from transformers import pipeline
2
3clf = pipeline("text-classification", model="solinsoft/distilbert-finetuned-toxic-comments")
4print(clf("I love this community!"))
5print(clf("You are the worst ever!"))