Instructions to use Neurobrix/Janus-Pro-7B-nbx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeuroBrix
How to use Neurobrix/Janus-Pro-7B-nbx with NeuroBrix:
# pip install neurobrix neurobrix import deepseek-ai/Janus-Pro-7B --accept-license neurobrix run --model deepseek-ai/Janus-Pro-7B --mode text --input-image photo.jpg --prompt "Describe this image."
- Notebooks
- Google Colab
- Kaggle
|
Download README.md from Neurobrix/Janus-Pro-7B-nbx: direct link, hf CLI and curl.
- Browser
- Download file 2.98 kB
-
https://huggingface.co/Neurobrix/Janus-Pro-7B-nbx/resolve/main/README.md
- Command line
-
hf download hf://Neurobrix/Janus-Pro-7B-nbx/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/Neurobrix/Janus-Pro-7B-nbx/resolve/main/README.md
2.98 kB
| license: mit | |
| base_model: | |
| - deepseek-ai/Janus-Pro-7B | |
| library_name: neurobrix | |
| neurobrix_id: deepseek-ai/Janus-Pro-7B | |
| pipeline_tag: any-to-any | |
| extra_gated_heading: Download this NeuroBrix container | |
| extra_gated_prompt: "This container packages Janus-Pro-7B by deepseek-ai. To download it, accept the licence of the model's author ([mit](https://huggingface.co/deepseek-ai/Janus-Pro-7B)) and the NeuroBrix licence ([Apache 2.0](https://github.com/NeuroBrix/neurobrix/blob/main/LICENSE)); access is immediate. The DeepSeek License's use-based restrictions (paragraph 5 and Attachment A) apply to you as enforceable terms of this download. Create a free account on [neurobrix.org](https://neurobrix.org/register) for the full catalogue, the docs and the news." | |
| extra_gated_fields: | |
| "I accept the licence of the model's author": checkbox | |
| "I accept the NeuroBrix licence (Apache 2)": checkbox | |
| extra_gated_button_content: Accept and download | |
| tags: | |
| - neurobrix | |
| - nbx | |
| - triton | |
| - local-inference | |
| - multimodal | |
| # Janus-Pro-7B, as a NeuroBrix container | |
| **Janus-Pro-7B** by **deepseek-ai** ([original model](https://huggingface.co/deepseek-ai/Janus-Pro-7B)), packaged as a `.nbx` container so it runs in | |
| [NeuroBrix](https://github.com/NeuroBrix/neurobrix): one engine for every model, on the hardware you already own. | |
| Same model, same license as the original. The container holds everything the engine needs to run it: the model's | |
| computation graph, its weights, how its components connect, and its runtime defaults. | |
| ## Run it | |
| ```bash | |
| pip install neurobrix | |
| neurobrix import deepseek-ai/Janus-Pro-7B --accept-license | |
| neurobrix run --model deepseek-ai/Janus-Pro-7B --mode text --input-image photo.jpg --prompt "Describe this image." | |
| ``` | |
| NeuroBrix plans where every part of the model runs from the GPUs and memory it finds: one GPU, several, streamed, or on | |
| the host. It runs on NVIDIA GPUs, Mac GPUs (Metal) and CPU, with the PyTorch engine or with the Triton engine, which needs | |
| no PyTorch: [nbxtensor](https://github.com/NeuroBrix/nbxtensor) kernels, certified per GPU class. | |
| ## The container | |
| | | | | |
| |---|---| | |
| | Family | multimodal model | | |
| | Container size | 14.8 GB | | |
| | SHA-256 | `868f975f2ddb01d5552a0958c1a01fcd9b8d9dda834c5b76c57e033f8bccb3e2` | | |
| | Download | [`Janus-Pro-7B.nbx`](https://huggingface.co/Neurobrix/Janus-Pro-7B-nbx/blob/main/Janus-Pro-7B.nbx) in this repo, or [neurobrix.org/models/deepseek-ai/Janus-Pro-7B](https://neurobrix.org/models/deepseek-ai/Janus-Pro-7B) (or `neurobrix import`) | | |
| | License | mit, the original model's | | |
| ## Credits | |
| All credit for the model goes to **deepseek-ai**; see the [original model card](https://huggingface.co/deepseek-ai/Janus-Pro-7B) for its training, intended use and | |
| limitations, which apply unchanged. NeuroBrix only packages and runs it. | |
| [GitHub](https://github.com/NeuroBrix) 路 [Hub: neurobrix.org](https://neurobrix.org) 路 [YouTube](https://www.youtube.com/@NeuroBrix) 路 [Documentation](https://docs.neurobrix.org) | |