Deep Learning
The Deep Learning toolbox runs neural networks on your own computer, with no Python needed. It downloads models from the Hugging Face Hub and runs them: language models for chat and text generation, text-to-text models for summaries and translation, text tasks (classify, find names, answer from a passage), embeddings, image classification, chat about pictures, speech recognition with timings, and Stable Diffusion image generation. It fine-tunes a language model with a LoRA adapter, and builds, trains and saves Keras networks.
Use it when data must stay on your computer, or when you want to try a model without setting up Python.
- Included in: Divooka Compute Standard only. Start a document from the Machine Learning workload, or add the Machine Learning reference with Add reference (
Ctrl+Shift+L). - Maturity: Preview · Support: Tier 3 (proposed) · what these mean
- Open it: node library (
Ctrl+Shift+Space) → Deep Learning, or search for a node withCtrl+Space. - Reference: Deep Learning node reference
New to graphs? Start with Your first program.
Main ideas
Load once, use many times. A Load node (such as Load Language Model) gives a model; the category's nodes take it.
Shared with Python. Models are kept in the same cache Python's huggingface_hub uses, so a model either side downloaded is found by the other. LoRA adapters are saved in PEFT's format and Keras models in .keras files, which Python opens too.
Example: ask a language model
- Download Model with a Hugging Face repository id fetches the model once.
- Load Language Model loads it; its inputs choose the device (CPU or GPU), the precision and an optional LoRA adapter.
- Ask with a question returns the answer as text. For a conversation, use Start Conversation, Add Message and Chat.
Tips and limits
- Divooka Compute only. Divooka Explore does not include this toolbox.
- GPU recommended. Divooka Compute is built with a CPU version of the model runtime by default; a CUDA build for NVIDIA GPUs is much faster for large models.
- Models are large. Language and image models take gigabytes of disk and memory; check the size before you download.
What is in the toolbox
| Category | What it does |
|---|---|
| Hugging Face Hub | Download models and files, list what is downloaded |
| Language Models | Load a model, ask, chat, generate text, count tokens |
| Conversations | Build a conversation for Chat |
| Generation Settings | Length, sampling, temperature, seed |
| Text-to-Text Models | Summarize, translate, transform text |
| Text Tasks | Classify text, find names, answer questions, fill a gap |
| Embeddings | Texts as numbers for search and clustering |
| Vision Models | Classify images |
| Vision Language Models | Ask about and chat about pictures |
| Speech Models | Speech to text, with word timings |
| Image Generation | Stable Diffusion, ControlNet, inpainting, SDXL refiner |
| Fine-Tuning | Train a LoRA adapter on examples |
| Keras Layers, Keras Models | Build, train, predict and save networks |
| Deep Learning Runtime | What models run on, and what is loaded |
See also
- Deep Learning node reference
- LLM - one interface for local and hosted models.
- Toolboxes - every other toolbox.