Instructions to use maldons77/StoryboardBeats-Mini-0.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use maldons77/StoryboardBeats-Mini-0.1 with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("maldons77/StoryboardBeats-Mini-0.1", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
StoryboardBeats-Mini v0.1
What it does
Given a short story prompt, this model predicts:
- Narrative beats (multi-label):
opening,rising_action,key_moment,twist,resolution - Suggested visual style:
Realistic,Anime,Comic,Watercolor, orSketch
Why it's unique
A tiny, proprietary prototype that links text prompts to story structure and visual style — designed for pre-visualization workflows. Lightweight and CPU-friendly (scikit‑learn).
Files
model.joblib— scikit-learn pipelines (TF‑IDF + Logistic Regression) for beats (multi-label) and style.inference.py— minimal interface withload_model()andpredict().requirements.txt— dependencies to runinference.py.
Quick use (local)
pip install -r requirements.txt
python -c "import inference; print(inference.predict(['A robot in a neon city discovers a secret, but time runs out.']))"
Metrics (synthetic split)
- beats (subset accuracy): 0.717
- style (accuracy): 1.000
⚠️ Trained on synthetic data; not suitable for production. Educational / research use only.
- Downloads last month
- -