How to use lujangushf/bridgetower with Transformers:
# Load model directly from transformers import AutoProcessor, BridgeTowerForContrastiveLearning processor = AutoProcessor.from_pretrained("lujangushf/bridgetower") model = BridgeTowerForContrastiveLearning.from_pretrained("lujangushf/bridgetower")
What is a pickle import?
How to fix it?