How to use Kalaphant/QAndA_Risk_Detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Kalaphant/QAndA_Risk_Detection")
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Kalaphant/QAndA_Risk_Detection", dtype="auto")
This is designed for Kalaphant's Q&A game. If the AI predicts a high enough number, it reports it to me.