Instructions to use deepseek-ai/Janus-Pro-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deepseek-ai/Janus-Pro-7B with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("deepseek-ai/Janus-Pro-7B", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Create requirements.txt
#174
by Hsquad - opened
- requirements.txt +1 -0
requirements.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
text\ntransformers @ git+https://github.com/huggingface/transformers.git\naccelerate>=0.25.0\nbitsandbytes # optional, for 4-bit on L4\n
|