How to use lysandre/test-dynamic-pipeline with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="lysandre/test-dynamic-pipeline")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("lysandre/test-dynamic-pipeline") model = AutoModelForSequenceClassification.from_pretrained("lysandre/test-dynamic-pipeline")
didn't know how to reach out so i'm leaving this out here.
i have fixed this pipeline, you can checkup on not-lain/test-dynamic-pipeline to see what changes you should make
not-lain/test-dynamic-pipeline
cc @lysandre π€
Β· Sign up or log in to comment