Spaces:
Running on Zero
Running on Zero
Download backend/llama.cpp/tools/ui/src/lib/constants/model-loading.ts from kazutab/mindmap-studio: direct link, hf CLI and curl.
- Browser
- Download file 455 Bytes
-
https://huggingface.co/spaces/kazutab/mindmap-studio/resolve/main/backend/llama.cpp/tools/ui/src/lib/constants/model-loading.ts
- Command line
-
hf download hf://spaces/kazutab/mindmap-studio/backend/llama.cpp/tools/ui/src/lib/constants/model-loading.ts
-
curl -L -o model-loading.ts https://huggingface.co/spaces/kazutab/mindmap-studio/resolve/main/backend/llama.cpp/tools/ui/src/lib/constants/model-loading.ts
455 Bytes
| /** | |
| * Labels shown while a model loads, keyed by the stage reported on /models/sse. | |
| */ | |
| export const MODEL_LOAD_STAGE_LABELS: Record<ApiModelLoadStage, string> = { | |
| text_model: 'Loading weights', | |
| spec_model: 'Loading draft', | |
| mmproj_model: 'Loading projector' | |
| }; | |
| /** | |
| * Share of the bar reserved for each load phase after text_model. | |
| * text_model fills the rest, so a plain model reaches 100% on its own. | |
| */ | |
| export const MODEL_LOAD_TAIL_SHARE = 0.1; | |