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