Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files- README.md +6 -2
- minimax/paths.py +26 -26
README.md
CHANGED
|
@@ -39,7 +39,10 @@ Type something half-formed like *“baker opens a shop at dawn”*. The model do
|
|
| 39 |
| Guesswork about “what sounds good” | Aligned to **MiniMax H3 video prompt writing guidelines** |
|
| 40 |
| One free-form paragraph | **Structured output** MiniMax can actually consume |
|
| 41 |
|
| 42 |
-
Under the hood:
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
---
|
| 45 |
|
|
@@ -85,7 +88,8 @@ Built for people who actually ship MiniMax clips — not for prompt-cosplay.
|
|
| 85 |
|
| 86 |
| | |
|
| 87 |
|--|--|
|
| 88 |
-
| Model | [geocine/minimax-video-prompt-enhancer-350m](https://huggingface.co/geocine/minimax-video-prompt-enhancer-350m) |
|
|
|
|
| 89 |
| Base | [LiquidAI/LFM2.5-350M](https://huggingface.co/LiquidAI/LFM2.5-350M) |
|
| 90 |
| License | Liquid **lfm1.0** — read the base card before commercial use |
|
| 91 |
|
|
|
|
| 39 |
| Guesswork about “what sounds good” | Aligned to **MiniMax H3 video prompt writing guidelines** |
|
| 40 |
| One free-form paragraph | **Structured output** MiniMax can actually consume |
|
| 41 |
|
| 42 |
+
Under the hood: LoRA SFT of [LiquidAI/LFM2.5-350M](https://huggingface.co/LiquidAI/LFM2.5-350M) —
|
| 43 |
+
transformers weights at [geocine/minimax-video-prompt-enhancer-350m](https://huggingface.co/geocine/minimax-video-prompt-enhancer-350m),
|
| 44 |
+
**Q4_K_M GGUF** at [geocine/minimax-video-prompt-enhancer-350m-gguf](https://huggingface.co/geocine/minimax-video-prompt-enhancer-350m-gguf),
|
| 45 |
+
served via **llama.cpp** on **CPU**.
|
| 46 |
|
| 47 |
---
|
| 48 |
|
|
|
|
| 88 |
|
| 89 |
| | |
|
| 90 |
|--|--|
|
| 91 |
+
| Model (HF) | [geocine/minimax-video-prompt-enhancer-350m](https://huggingface.co/geocine/minimax-video-prompt-enhancer-350m) |
|
| 92 |
+
| GGUF (CPU) | [geocine/minimax-video-prompt-enhancer-350m-gguf](https://huggingface.co/geocine/minimax-video-prompt-enhancer-350m-gguf) |
|
| 93 |
| Base | [LiquidAI/LFM2.5-350M](https://huggingface.co/LiquidAI/LFM2.5-350M) |
|
| 94 |
| License | Liquid **lfm1.0** — read the base card before commercial use |
|
| 95 |
|
minimax/paths.py
CHANGED
|
@@ -1,27 +1,27 @@
|
|
| 1 |
-
"""Paths for the Hugging Face Space package (self-contained)."""
|
| 2 |
-
|
| 3 |
-
from __future__ import annotations
|
| 4 |
-
|
| 5 |
-
from pathlib import Path
|
| 6 |
-
|
| 7 |
-
# Space root = parent of the minimax package
|
| 8 |
-
ROOT = Path(__file__).resolve().parent.parent
|
| 9 |
-
PROMPTS = ROOT / "prompts"
|
| 10 |
-
|
| 11 |
-
SYSTEM_BASE_FILE = PROMPTS / "system_base.txt"
|
| 12 |
-
SYSTEM_REF_FILE = PROMPTS / "system_ref.txt"
|
| 13 |
-
SYSTEM_BASE_TASK_FILES = {
|
| 14 |
-
"T2VA": PROMPTS / "system_base_t2va.txt",
|
| 15 |
-
"I2VA": PROMPTS / "system_base_i2va.txt",
|
| 16 |
-
"FL2VA": PROMPTS / "system_base_fl2va.txt",
|
| 17 |
-
"L2VA": PROMPTS / "system_base_l2va.txt",
|
| 18 |
-
}
|
| 19 |
-
|
| 20 |
-
# Default Hub ids for this Space
|
| 21 |
-
DEFAULT_MODEL = "geocine/minimax-video-prompt-enhancer-350m"
|
| 22 |
-
DEFAULT_GGUF_REPO = "geocine/minimax-video-prompt-enhancer-350m"
|
| 23 |
-
DEFAULT_GGUF_FILE = "minimax-video-prompt-enhancer-350m-Q4_K_M.gguf"
|
| 24 |
-
BASE_MODEL = "LiquidAI/LFM2.5-350M"
|
| 25 |
-
# Alias used by local app code
|
| 26 |
-
CHAMPION_DIR = DEFAULT_MODEL
|
| 27 |
GGUF_DIR = ROOT / "models"
|
|
|
|
| 1 |
+
"""Paths for the Hugging Face Space package (self-contained)."""
|
| 2 |
+
|
| 3 |
+
from __future__ import annotations
|
| 4 |
+
|
| 5 |
+
from pathlib import Path
|
| 6 |
+
|
| 7 |
+
# Space root = parent of the minimax package
|
| 8 |
+
ROOT = Path(__file__).resolve().parent.parent
|
| 9 |
+
PROMPTS = ROOT / "prompts"
|
| 10 |
+
|
| 11 |
+
SYSTEM_BASE_FILE = PROMPTS / "system_base.txt"
|
| 12 |
+
SYSTEM_REF_FILE = PROMPTS / "system_ref.txt"
|
| 13 |
+
SYSTEM_BASE_TASK_FILES = {
|
| 14 |
+
"T2VA": PROMPTS / "system_base_t2va.txt",
|
| 15 |
+
"I2VA": PROMPTS / "system_base_i2va.txt",
|
| 16 |
+
"FL2VA": PROMPTS / "system_base_fl2va.txt",
|
| 17 |
+
"L2VA": PROMPTS / "system_base_l2va.txt",
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
# Default Hub ids for this Space
|
| 21 |
+
DEFAULT_MODEL = "geocine/minimax-video-prompt-enhancer-350m"
|
| 22 |
+
DEFAULT_GGUF_REPO = "geocine/minimax-video-prompt-enhancer-350m-gguf"
|
| 23 |
+
DEFAULT_GGUF_FILE = "minimax-video-prompt-enhancer-350m-Q4_K_M.gguf"
|
| 24 |
+
BASE_MODEL = "LiquidAI/LFM2.5-350M"
|
| 25 |
+
# Alias used by local app code
|
| 26 |
+
CHAMPION_DIR = DEFAULT_MODEL
|
| 27 |
GGUF_DIR = ROOT / "models"
|