Ppxndpxdd/tokenized_attacut
Viewer • Updated • 27k • 8
How to use Ppxndpxdd/tst_tfm_stm_pp with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Ppxndpxdd/tst_tfm_stm_pp") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Ppxndpxdd/tst_tfm_stm_pp")
model = AutoModelForSequenceClassification.from_pretrained("Ppxndpxdd/tst_tfm_stm_pp")this transformer model is fine-tuned wangchanberta by sentiment dataset from dataxet to only use in AI assignment subject in KMITL computer engineering