How to use BenjaminOcampo/task-implicit_task__model-bert__aug_method-all with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="BenjaminOcampo/task-implicit_task__model-bert__aug_method-all")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("BenjaminOcampo/task-implicit_task__model-bert__aug_method-all") model = AutoModelForSequenceClassification.from_pretrained("BenjaminOcampo/task-implicit_task__model-bert__aug_method-all")
What is a pickle import?
How to fix it?