model updated after cleaned data 1ce1760
Yanjie Zhao commited on
How to use Yanjie/message-preamble with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Yanjie/message-preamble") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Yanjie/message-preamble")
model = AutoModelForSequenceClassification.from_pretrained("Yanjie/message-preamble")