initial commit bdcd4ce
Hanwool Albert Lee commited on
How to use FINDA-FIT/inter-milan-fighting with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="FINDA-FIT/inter-milan-fighting") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("FINDA-FIT/inter-milan-fighting")
model = AutoModelForSequenceClassification.from_pretrained("FINDA-FIT/inter-milan-fighting")