camera collaboration
Collection
58 items β’ Updated
How to use gianma/classifierEUtopLevelLongerTrainAugmented with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="gianma/classifierEUtopLevelLongerTrainAugmented") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("gianma/classifierEUtopLevelLongerTrainAugmented")
model = AutoModelForSequenceClassification.from_pretrained("gianma/classifierEUtopLevelLongerTrainAugmented", device_map="auto")No model card