Training in progress, epoch 1 8b125be verified
Asadullah Shehbaz commited on
How to use asadullahshehbaz/my_awesome_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="asadullahshehbaz/my_awesome_model") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("asadullahshehbaz/my_awesome_model")
model = AutoModelForSequenceClassification.from_pretrained("asadullahshehbaz/my_awesome_model", device_map="auto")