Spaces:
Running on Zero
Running on Zero
File size: 2,593 Bytes
e2b291a 68c1777 0418f40 e2b291a 0418f40 e2b291a 0418f40 e2b291a 68c1777 0418f40 68c1777 0418f40 68c1777 0418f40 68c1777 0418f40 68c1777 0418f40 68c1777 0418f40 68c1777 0418f40 68c1777 a749a3f 68c1777 0418f40 68c1777 0418f40 68c1777 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | ---
title: MLOL — MultiDomain LLM Optimisation Lab
emoji: 🧪
colorFrom: green
colorTo: gray
sdk: gradio
sdk_version: 5.34.2
app_file: app.py
pinned: false
license: apache-2.0
---
# 🧪 MLOL — MultiDomain LLM Optimisation Lab
A complete LLM fine-tuning and optimisation laboratory on a Hugging Face Space:
```
Choose Base Model → Upload Dataset → Validation & Cleaning → Configure →
Hardware Recommendation → Baseline Eval → Fine-Tune → Post-Eval →
Comparison → Optimisation Analysis → Performance Certificate → Report → Deploy
```
**Design:** the Space is the *control plane*. Training runs on the right
backend per the routing engine — ZeroGPU for bounded demos (≤1.5B), pinned
Colab export packages (free), or HF Jobs (managed). All experiment state
persists to a private Hub dataset repo; the Space is stateless and
restart-safe. Full blueprint: [docs/MASTER_SPEC.md](docs/MASTER_SPEC.md) ·
usage: [docs/USER_GUIDE.md](docs/USER_GUIDE.md).
## Modules
Home · **Tier 1 — General Fine-Tuning Lab** · **Tier 2 — Domain Foundry**
(premium; 11 domains) · Evaluation Lab (seeded samples, CIs, paired
significance tests) · Reports (9-section Model Performance Certificate,
PDF/CSV/JSON) · Adapter Library · Hardware Advisor · Documentation ·
**AI Research Assistant** (bottom-right; General/Experiment/Hardware/Report
modes, config-driven providers).
Model and provider catalogues are **pure configuration** (`configs/*.yaml`) —
add newly released models with zero code changes.
## Space setup
- **Hardware:** ZeroGPU (PRO) recommended; works on CPU with reduced function.
- **Secrets:** `HF_TOKEN` (gated models + Hub persistence),
`PREMIUM_ACCESS_CODES` (Tier 2 gate; unset = open dev mode).
- Premium / custom domains: **finpy07@gmail.com**.
## Repo layout
```
app.py # UI (control plane only)
configs/ # models, providers, domains, hardware, limits
src/schemas.py # Pydantic configs + experiment manifest/state machine
src/config_loader.py # startup schema validation
src/services/ # persistence, dataset_prep, routing, training
# backends (mock/zerogpu/colab/jobs), evaluation,
# reporting, assistant
src/inference/engine.py # base+adapter inference
src/data/, src/training/ # legacy FinLLM pipeline (reused as training payload)
docs/MASTER_SPEC.md # the binding blueprint (v1.1)
```
> Research platform — outputs are not investment, legal, medical, or other
> professional advice.
|