Transformers How to use andriadze/bert-chat-moderation-X with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="andriadze/bert-chat-moderation-X") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("andriadze/bert-chat-moderation-X")
model = AutoModelForSequenceClassification.from_pretrained("andriadze/bert-chat-moderation-X")