Upload 20 files 6233046 verified
N R commited on
How to use borgg-takes-all/alpha-prompt-classification with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="borgg-takes-all/alpha-prompt-classification") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("borgg-takes-all/alpha-prompt-classification")
model = AutoModelForSequenceClassification.from_pretrained("borgg-takes-all/alpha-prompt-classification")