12345
Collection
12345 project models • 4 items • Updated
How to use Yuyi-Tech/need_follow_cls with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Yuyi-Tech/need_follow_cls") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Yuyi-Tech/need_follow_cls")
model = AutoModelForSequenceClassification.from_pretrained("Yuyi-Tech/need_follow_cls")No model card