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

Guys any solution?

It did not run or work , but you can clone the git repo and use there file , sample jupyternotebook for inference for trying without UI or in code

Sign up or log in to comment