Load model directly

#71
by deepakpa - opened

Load model directly

from transformers import AutoModel
model = AutoModel.from_pretrained("deepseek-ai/Janus-Pro-7B")

How to run from transformers?
can you provide sample code

deepakpa changed discussion title from How to use transformers to Load model directly

Sign up or log in to comment