How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="Rveen/p4k-longformer")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("Rveen/p4k-longformer")
model = AutoModelForSequenceClassification.from_pretrained("Rveen/p4k-longformer", device_map="auto")
Quick Links

Music Album Rating Prediction

Trained on a dataset of Pitchfork's album reviews. Taking review text as input to predict the rating (0-10). Insert your own text review or pick one of the examples from the dropdown.

Downloads last month
4
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Space using Rveen/p4k-longformer 1