How to use guru-0430/Affine-second with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="guru-0430/Affine-second")
# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("guru-0430/Affine-second") model = AutoModelForCausalLM.from_pretrained("guru-0430/Affine-second")
What is a pickle import?
How to fix it?