# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="psychedelicbunny/bertfinetuned")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("psychedelicbunny/bertfinetuned")
model = AutoModelForSequenceClassification.from_pretrained("psychedelicbunny/bertfinetuned")Quick Links
- Downloads last month
- -
# Gated model: Login with a HF token with gated access permission hf auth login