dashai-frankenstein
A DashAI plugin that registers Frankenstein Transformer model classes as DashAI components, so end users can train, evaluate, predict, save, and load them from the DashAI UI.
Components registered
| Entry point | Class | DashAI base | Binds to task |
|---|---|---|---|
frankenstein_mlm |
FrankensteinMLMModel |
BaseModel |
TextClassificationTask |
frankenstein_decoder |
FrankensteinDecoderModel |
BaseGenerativeModel |
TextToTextGenerationTask |
frankenstein_vit_cls |
FrankensteinViTClassifier |
BaseModel |
ImageClassificationTask |
frankenstein_vit_seg |
FrankensteinViTSegmenter |
BaseModel |
SegmentationTask |
segmentation_task |
SegmentationTask |
BaseTask |
(new task provided by this plugin) |
Schema (v1: passthrough YAML)
Each model exposes a minimal pydantic schema with a single user-facing field:
frankenstein_yaml, a string containing a full Frankenstein training YAML. The
Frankenstein JSON Schema is the source of truth — the YAML is validated against
it (additionalProperties: false + enums) and Frankenstein's config loader
(cross-component constraints) before any train/inference launches. Errors
surface to the DashAI user as a readable ValueError.
Build your YAML with the Frankenstein YAML builder and paste it into the field.
Training parameters (device, batch_size, num_epochs, learning rate) are read
from the YAML's training_runtime block and optimizer parameters — they are NOT
separate DashAI form fields. Generation parameters (max_new_tokens,
temperature, top_k) on the decoder component are kept as DashAI fields (they
are inference-time, not training-time, and the Frankenstein schema has no home
for them).
Note: The field is a single-line text input (DashAI does not yet support a multiline textarea for plugin schema fields). A true multiline textarea is tracked as a future upstream improvement to DashAI.
Install
pip install dashai-frankenstein # from PyPI once published
# or, from this repo:
pip install -e ./dashai-frankenstein
DashAI discovers the plugin via the dashai.plugins entry-points group on
startup — no DashAI source edits required.
Architecture
See docs/dashai-plugin-audit.md in the Frankenstein repo for the full
integration design (§5 component designs, §6 phased plan, §7 Frankenstein
changes). This package is the Phase 1–3 adapter layer; it consumes the
Frankenstein engine API (src.engine) added in Phase 0.
Metadata
Release files for dashai-frankenstein 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dashai_frankenstein-0.2.0.tar.gz | 20.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dashai_frankenstein-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 52.1 kB
Release files / dashai_frankenstein-0.2.0.tar.gz
| Download URL | dashai_frankenstein-0.2.0.tar.gz |
|---|---|
| Size | 20.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
100fc84a3e316ffacfb93ca1ae717f68ee14fe84823969f11cfcdf2120490805
|
|
BLAKE2b-256 checksum How to use checksums |
97702480478cb8f6bd37abda78042f2834f6957d7d37c5833c9b63a800238d83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / dashai_frankenstein-0.2.0-py3-none-any.whl
| Download URL | dashai_frankenstein-0.2.0-py3-none-any.whl |
|---|---|
| Size | 31.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
50eedb191b370534c11941800efcab0615bed639c9cc8e269fa506333048c71e
|
|
BLAKE2b-256 checksum How to use checksums |
3bb32ce8287f996fadd4313b7c5105249fbeacd4d77d8a994f8f9883c60860a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|