Training in progress, epoch 10 c72ac5d
Florent Gbelidji commited on
How to use Gflorent/BERT_baseline with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Gflorent/BERT_baseline") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Gflorent/BERT_baseline")
model = AutoModelForSequenceClassification.from_pretrained("Gflorent/BERT_baseline", device_map="auto")