Instructions to use Neurobrix/DeepSeek-Coder-V2-Lite-Instruct-nbx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeuroBrix
How to use Neurobrix/DeepSeek-Coder-V2-Lite-Instruct-nbx with NeuroBrix:
# pip install neurobrix neurobrix import deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct --accept-license neurobrix run --model deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct --prompt "Hello"
- Notebooks
- Google Colab
- Kaggle
|
Download README.md from Neurobrix/DeepSeek-Coder-V2-Lite-Instruct-nbx: direct link, hf CLI and curl.
- Browser
- Download file 3.39 kB
-
https://huggingface.co/Neurobrix/DeepSeek-Coder-V2-Lite-Instruct-nbx/resolve/main/README.md
- Command line
-
hf download hf://Neurobrix/DeepSeek-Coder-V2-Lite-Instruct-nbx/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/Neurobrix/DeepSeek-Coder-V2-Lite-Instruct-nbx/resolve/main/README.md
3.39 kB
| license: other | |
| license_name: deepseek-license | |
| license_link: https://github.com/deepseek-ai/DeepSeek-Coder-V2/blob/main/LICENSE-MODEL | |
| base_model: | |
| - deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct | |
| library_name: neurobrix | |
| neurobrix_id: deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct | |
| pipeline_tag: text-generation | |
| extra_gated_heading: Download this NeuroBrix container | |
| extra_gated_prompt: "This container packages DeepSeek-Coder-V2-Lite-Instruct by deepseek-ai. To download it, accept the licence of the model's author ([other](https://github.com/deepseek-ai/DeepSeek-Coder-V2/blob/main/LICENSE-MODEL)) 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 | |
| - code | |
| # DeepSeek-Coder-V2-Lite-Instruct, as a NeuroBrix container | |
| **DeepSeek-Coder-V2-Lite-Instruct** by **deepseek-ai** ([original model](https://huggingface.co/deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct)), 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/DeepSeek-Coder-V2-Lite-Instruct --accept-license | |
| neurobrix run --model deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct --prompt "Write a Python function that reverses a string." | |
| ``` | |
| 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 | code model | | |
| | Container size | 32.1 GB | | |
| | SHA-256 | `f8a976fe26b8dbc1c70dc276a9d0840cb9f3c49a4bd5aecbe14f77714daa1666` | | |
| | Download | [`DeepSeek-Coder-V2-Lite-Instruct.nbx`](https://huggingface.co/Neurobrix/DeepSeek-Coder-V2-Lite-Instruct-nbx/blob/main/DeepSeek-Coder-V2-Lite-Instruct.nbx) in this repo, or [neurobrix.org/models/deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct](https://neurobrix.org/models/deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct) (or `neurobrix import`) | | |
| | License | deepseek-license, the original model's | | |
| ## Credits | |
| All credit for the model goes to **deepseek-ai**; see the [original model card](https://huggingface.co/deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct) 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) | |