Training in progress, epoch 1 d97cdc8
Dan Semin commited on
How to use semindan/paws_x_m_bert_only_ja with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="semindan/paws_x_m_bert_only_ja") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("semindan/paws_x_m_bert_only_ja")
model = AutoModelForSequenceClassification.from_pretrained("semindan/paws_x_m_bert_only_ja", device_map="auto")