initial commit 5335db1
kevin-yang commited on
How to use jason9693/SoongsilBERT-base-beep with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="jason9693/SoongsilBERT-base-beep") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("jason9693/SoongsilBERT-base-beep")
model = AutoModelForSequenceClassification.from_pretrained("jason9693/SoongsilBERT-base-beep", device_map="auto")