tanganke/gtsrb
Viewer • Updated • 128k • 20.7k • 1
How to use tanganke/clip-vit-large-patch14_gtsrb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="tanganke/clip-vit-large-patch14_gtsrb") # Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("tanganke/clip-vit-large-patch14_gtsrb")
model = AutoModel.from_pretrained("tanganke/clip-vit-large-patch14_gtsrb")Adam Optimizer with a constant learning rate 1e-5 for 4000 steps training (batch_size=32). Only the vision encoder is fine-tuned.
Base model
openai/clip-vit-large-patch14