Downloads · 30 days
7
23% of all-time downloads
louistzx/kaypohaunty
kaypohaunty is a text classification model from louistzx. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
Multi-label classification model for restaurant reviews.
Downloads · 30 days
7
23% of all-time downloads
All-time downloads
31
Public
Parameters
67M
268 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
Multi-label classification model for restaurant reviews.
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
tokenizer = AutoTokenizer.from_pretrained("louistzx/kaypohaunty")
model = AutoModelForSequenceClassification.from_pretrained("louistzx/kaypohaunty")
inputs = tokenizer("Your text here", return_tensors="pt", truncation=True, max_length=256)
with torch.no_grad():
outputs = model(**inputs)
predictions = torch.sigmoid(outputs.logits)