mothy-08
changed model
d533730
Raw
History Blame Contribute Delete
227 Bytes
from functools import lru_cache
from transformers import pipeline
@lru_cache(maxsize=1)
def get_classifier():
return pipeline(
"text-classification", "mothy-08/deberta-v3-xsmall-finetuned-content-moderator"
)