A high-performance, hardware-aware desktop Web application for training custom real-time voice conversion models using Project Beatrice V2 on macOS (Apple Silicon M1/M2/M3/M4 & Intel Macs). Featuring a modern Cyan Blue minimalist UI, dynamic Light/Dark theme toggle, Single-Choice Dataset Import Selector (Local Drop-Zone, Hugging Face, Kaggle), automated Apple Silicon MPS Hardware Tuning, and direct Google Colab & Kaggle Cloud Launchpad integration.
- ๐ Cyan Blue Minimalist UI & Vector SVGs โ Ultra-sleek Linear/Vercel-inspired desktop design system with custom vector SVG icons and sharp typography (
Inter,Outfit,JetBrains Mono). - ๐ Light & Dark Mode Theme Switcher โ Instant theme switching with persistent user preferences stored in local storage (
localStorage). - ๐ฏ Single-Choice Dataset Import Selector โ Segmented method picker allowing users to easily choose between Local Audio Upload, Hugging Face Import, or Kaggle Dataset Import.
- ๐ Apple Silicon MPS Hardware Tuning โ Deep profiling for Apple M1, M2, M3, M4 (Base, Pro, Max, Ultra) using PyTorch Metal Performance Shaders (MPS) and unified memory allocation.
- โ๏ธ Cloud Training Launchpad โ Direct integration of
Project-Beatrice-V2/Beatrice-colabwith one-click Google Colab (.ipynb) and Kaggle launch buttons and local notebook downloads. - ๐ Real-Time Monitoring & Metrics โ Live loss plotting on HTML Canvas, stdout logging console, and unified RAM/MPS memory usage gauges.
Dashboard Overview โ Live hardware monitor, memory allocation gauges, and system diagnostics
Dataset Manager โ Single-choice import selector (Local Audio Drag & Drop, Hugging Face, Kaggle)
Training Control โ Hardware auto-tuning, custom training steps, and live console logger
Cloud Training Launchpad โ One-click Google Colab and Kaggle launch cards with local .ipynb downloads
- Operating System: macOS 12 (Monterey) or newer (macOS 13+ recommended for optimal Metal MPS support).
- Hardware: Apple Silicon (M1/M2/M3/M4 Base/Pro/Max/Ultra) or Intel Mac.
- Interpreter: Python 3.10 or newer (
python3 --version).
Open Terminal and execute start.sh:
chmod +x start.sh
./start.sh- Creates a local Python virtual environment (
venv/). - Installs macOS PyTorch with Apple MPS (Metal) backend support.
- Installs backend dependencies (
fastapi,uvicorn,python-multipart,aiofiles,huggingface_hub,psutil). - Downloads the core Beatrice Trainer repository from Hugging Face (
fierce-cats/beatrice-trainer). - Launches the FastAPI backend server and automatically opens your browser at
http://localhost:8000.
When selecting a speaker dataset in the Training tab, the system profiles Apple Silicon unified memory to compute optimal parameters:
| Apple Silicon / RAM | Unified Memory Budget | Batch Size | Grad Accum | Effective Batch | Workers | Backend |
|---|---|---|---|---|---|---|
| Max / Ultra (36GB+ RAM) | ~32 GB | 16 | 1 | 16 | 0 | MPS (Metal) |
| Pro / Max (16GB - 32GB RAM) | ~12 - 24 GB | 8 | 2 | 16 | 0 | MPS (Metal) |
| Base Chip (8GB - 16GB RAM) | ~4 - 12 GB | 4 | 4 | 16 | 0 | MPS (Metal) |
| Intel / CPU Fallback | System RAM | 2 | 4 | 8 | 2 | CPU |
โโโ assets/ # App branding and logo assets
โ โโโ logo.jpg # Official Project Beatrice V2 Logo
โโโ colab_repo/ # Cloned Beatrice-Colab repository
โ โโโ BeatriceV2_Trainer_Notebook_Colab.ipynb
โ โโโ BeatriceV2_Trainer_Notebook_Kaggle.ipynb
โโโ app.js # Client-side JavaScript application & UI handlers
โโโ index.html # Modern HTML layout & component views
โโโ index.css # Cyan Blue Design System & Light/Dark themes
โโโ server.py # FastAPI Mac-optimized backend server
โโโ start.sh # Automated macOS shell startup script
โโโ requirements.txt # Backend Python dependencies
โโโ README.md # Product documentation manual
โโโ beatrice-trainer/ # Downloaded Hugging Face trainer files
| Endpoint | Method | Description |
|---|---|---|
/api/status |
GET |
System health check & backend availability |
/api/system/memory |
GET |
Live RAM, MPS GPU, and CPU usage metrics |
/api/dataset/list |
GET |
List available speaker datasets and file counts |
/api/dataset/upload |
POST |
Upload WAV or ZIP audio files |
/api/dataset/import/hf |
POST |
Download dataset directly from Hugging Face |
/api/dataset/import/kaggle |
POST |
Import dataset from Kaggle |
/api/train/auto-tune |
POST |
Compute optimal training hyperparameters |
/api/train/start |
POST |
Launch local model training process |
/api/train/stop |
POST |
Terminate active model training process |
/api/models/list |
GET |
List trained VST3 paraphernalia voice models |
This project is licensed under the MIT License.
