LLM Training Dashboard - (AI-Augmented Software Engineering)
LLM Training Dashboard - (AI-Augmented Software Engineering)
Manage Training Workflow, 3D Visualizations, Ollama Integration and Model Artifact Clean Up Architecture, Design and Development by Franz Ayestaran / Enhanced Pair Programming with GitHub Copilot (GPT-5.3-Codex), Claude Code, and OpenAI models
Loading workflow documentation...
📊 LLM Training Pipeline Presentation
Download the complete PowerPoint presentation covering the LLM creation and Ollama deployment pipeline
Upload a .txt, .json, or .jsonl training file. JSON datasets can use records like {"instruction": "...", "output": "..."}.
File:
Size: | lines
Format:
📝 Edit Training Data
1\n
Tip: Each line is a training example. Make sure your data is clean and relevant to what you want the model to learn.
📊 Training Data Analysis
📄 File Statistics
Size:
Lines:
Words:
🔤 Tokenization
Total tokens:
Unique tokens:
Vocab coverage:
🧠 Model Utilization
Model params:
Embedding use:
Training seqs:
⏱️ Estimated Training Time
1 epoch
3 epochs
5 epochs
10 epochs
💡 Recommendations
✓Ready to Train
Training will use:
⚙️ Training Configuration
e.g. 0.00001 for 1e-5
LoRA Configuration
QLoRA uses bitsandbytes on NVIDIA CUDA and switches to an Apple-native MLX-LM path on Apple Silicon for real quantized adapter training.
Recommended defaults: 5 epochs, batch size 4, QLoRA, native profile.
Native keeps each backend's preferred defaults. Comparable aligns sequence length, dataset packing, and adapter scope more closely so Apple and CUDA runs are easier to compare.
Keep this enabled for easiest inference and export. Disable it to save only the LoRA adapter and reduce disk usage.
Used for PyTorch/Transformers GGUF export names. The dashboard auto-sanitizes unsupported characters.
Used for MLX fused-model post-process GGUF exports. Leave blank to keep timestamp/run-based naming.
🧬 Continue Fine-tuning an Existing Model (Optional)
Pick an already fine-tuned model below to further train its existing weights instead of starting from the base pretrained model. This still creates a new training run, and that run becomes the new current model for its backend -- the previous version is kept in Training Run History.
🔄 Resume from Checkpoint (Optional)
Continue training from a saved checkpoint instead of starting from scratch.
Epoch:-
Step:-
Loss:-
Size:-
Created:-
ℹ️ No checkpoints available yet. Checkpoints will appear here during training.
Recommended resets the form to the dashboard baseline. Export saves the current dashboard settings as a versioned JSON config. Load applies a previously saved config back into the form and restores the referenced training file when available.
⚠️ Please upload a training data file first
📊 Training Progress
Progress0%
Initializing...
⏱️ 0s
⏳ ETA: --
📉Current Loss
--
📊Epoch Avg Loss
--
🧪 Epoch Quality Check
Epoch -
Prompt
--
Model Output
--
Reference
--
📏 Validation Metrics
Backend: --
Waiting for the first validation metrics output from the current training run.
Latest Epoch
--
Exact Match
--
Token Overlap F1
--
Samples
--
Per-Epoch History
Epoch
Exact Match
Token Overlap F1
Samples
🧭 Training Time Drift
Inspect how train-time tensors evolve through weight drift, head specialization, circuit emergence, and redundancy warnings.
🖥️ Training Terminal Output
Starting training...
🧬 Molecular Dataset Schema
Molecular dataset records should contain image and/or graph, a valid SMILES string, optional sequence, and at least one target property.
Click image to enlarge
Macromolecule Editor
Build peptide sequences with residue chips. Use the sequence field as the source of truth.
Atom Palette
Bond Types
Ring Templates
Functional Groups
Loading 2D sketch canvas... If the sketcher does not load, refresh the page and ensure external script access is enabled.
Sketch a molecule, generate SMILES, then validate and render in 3D.
Debug: ready (build 2026-07-20-r3).
Sequence-first mode active. Render 3D shows a backbone preview; High-Accuracy Fold requests a full-atom prediction when available.
1.0xMulti-axis orbit (X, Y, Z)
Enter a SMILES string and click Render 3D.
Controls: left-drag rotate, scroll zoom, right-drag pan, click an atom to highlight its local bond neighborhood.
⚙️ Molecular Training Configuration
⚠️ Upload a molecular dataset first.
📊 Molecular Training Logs and Metrics
Progress0%
Initializing molecular training...
No metrics yet.
Waiting for logs...
🔬 Molecular Inference
Enter a valid SMILES string or use the placeholder example (aspirin)
No prediction yet.
🚀 Distill to LLM
Convert your trained molecular model predictions into LLM training data, then fine-tune your selected base model for chemistry-aware language generation.
Progress0%
Waiting to start...
Pipeline output will appear here...
🧬 Gene Sequencing Training
A practical sequencing workspace for read QC, assembly, variants, embeddings, model jobs, RAG, and simulation.
🧬 Example Genes Library
Search public genomic databases for example genes.
🧬 Gene Sequencing Builder
Codons and translation appear here.
🧬 Gene Sequencing 3D Model Builder
LowModerateHighCritical
Render a sequence map to begin.
📥 Sequence Data Intake
Awaiting reads...
🧩 Assembly & Alignment
N50 and coverage appear here.
🧫 Variant Detection
SNP/INDEL summary appears here.
📐 Embeddings & Features
Similarity matrix appears here.
🎯 Fine-tune Sequencing LLM
Output: model_output/gene-sequencing-e2e
🪶 Distill & Export
Quantization: q4_k_m, q8_0, f16
📚 Sequencing RAG
Ensembl, UniProt, ClinVar, HGNC, and variant databases.
Annotation and interpretation context.
RAG workflow status.
🧪 Assembly & Variant Simulator
Propagation map appears here.
⚙️ Sequencing Training Configuration
0%
Preparing...
Waiting for logs...
🚀 Distill to LLM
Waiting for pipeline output...
🧪 Scientific Graph Dataset Schema
Supports molecules, materials, proteins, circuits, and 3D meshes via a unified graph + multimodal schema.
⚙️ Scientific Graph Training Configuration
⚠️ Upload a scientific graph dataset first.
📊 Scientific Graph Training Logs and Metrics
Progress0%
Initializing scientific graph training...
No metrics yet.
Waiting for logs...
🔬 Scientific Graph Inference
No prediction yet.
🚀 Scientific Graph Distill to LLM
Convert your trained scientific graph model predictions into LLM training data, then optionally fine-tune the selected base model on the distilled dataset.
Progress0%
Waiting to start...
Pipeline output will appear here...
💻 System Status
⚙️
CPU
0 cores
Usage0%
0 MHz
🧠
Memory (RAM)
0 GB total
Used0%
0 GB / 0 GB available
🎮
GPU
Checking...
GPU Utilization0%
VRAM: 0 GB / 0 GB
No GPU detected or PyTorch not installed
🖥️
Device Information
Platform:-
Architecture:-
Processor:-
Python:-
🟩
NVIDIA
NVIDIA CUDA:-
📊
Utilization Details
CPU Cores
Disk I/O
📖 Read
0 MB
✏️ Write
0 MB
Network I/O
📤 Sent
0 MB
📥 Received
0 MB
Last updated:Never•Updates every 2 seconds
🧪 Phase-1 ML/DL And Classical ML Training
Train Phase-1 deep learning models, Phase-2 classical ML models, and the new Phase-3 Vision Transformer and small text transformer models from one dashboard page. The sections stay stacked in order so Phase 3 appears below the existing classical workflow.
A. Model Selector
Loading model registry...
B. Dataset Upload Panel
Choose a model to see its supported dataset format.
No ML/DL dataset uploaded yet.
Dataset Preview
Schema, sample records, and auto-detected target metadata for the selected model family.
C. Hyperparameter Panel
Training Actions
Upload a compatible dataset to enable training.
No completed ML/DL run selected yet.
D. Training Monitor
Progress0%
Idle
⏱️ 0s
⏳ --
Loss
--
Accuracy / Score
--
Throughput
--
GPU / CPU
--
VRAM / RAM
--
Loss Curve
Accuracy / Validation Curve
Training logs will stream here.
Recent Run History
No ML/DL runs recorded yet.
📈 Phase-2 Classical ML Models
Train Random Forest, SVM, and Logistic Regression models on CSV datasets with schema preview, target-column control, optional ONNX export, telemetry, and downloadable `.pkl` artifacts.
A. Classical Model Selector
Loading classical model registry...
B. CSV Dataset Upload
Choose a classical model to see its supported dataset format.
No classical ML dataset uploaded yet.
CSV Schema Preview
Preview columns, inferred feature types, row counts, and the target-column selection the trainer will use.
C. Hyperparameter Panel
Training Actions
Upload a compatible CSV dataset to enable classical ML training.
No completed classical ML run selected yet.
D. Training Monitor
Progress0%
Idle
⏱️ 0s
🧠 --
Primary Metric
--
F1 / RMSE
--
Precision / Recall
--
CPU
--
RAM
--
Fold / Validation Metric
Supporting Metric
Training logs will stream here.
Confusion Matrix / Eval Summary
No evaluation summary yet.
Recent Run History
No classical ML runs recorded yet.
🛰️ Phase-3 Vision Transformers and Small Transformers
Train Vision Transformer plus tiny causal LLaMA text models with image-folder or JSONL datasets, live telemetry, ONNX export, ONNX Runtime inference support, and GGUF/Ollama export for the Phase-3 text models.
A. Transformer Model Selector
Loading transformer registry...
B. Dataset Upload Panel
Choose a Phase-3 model to see its supported dataset format.
No Phase-3 dataset uploaded yet.
Dataset Preview
Preview the detected schema, labels, text field, sequence length hints, and image dimensions before Phase-3 training starts.
Auto-detected fields
Text: --
Label: --
C. Hyperparameter Panel
Training Actions
Upload a compatible dataset to enable training.
No completed Phase-3 run selected yet.
D. Training Monitor
Progress0%
Idle
⏱️ 0s
⏳ --
Loss
--
Accuracy
--
F1 Score
--
GPU / CPU
--
VRAM / RAM
--
Loss Curve
Accuracy / F1 Curve
Training logs will stream here.
Recent Run History
No Phase-3 runs recorded yet.
🤖 Chat with Your Model
💬 Generate Text
Use a model loaded from this workspace or switch to the remote Ollama server.
Select the exact local model directory or remote Ollama model tag the chat tab should use.
Run the same prompt against two local artifacts or two cloud model tags and inspect both responses together.
Choose the second artifact or model tag to compare against the primary selection.
Select whether images are converted to symbolic JSON for TinyLlama or sent directly to a multimodal model.
No image attached
Images are never sent to the model. Each upload is routed through the vision plugin system
(clock face detection, diagram/shape detection, or generic metadata) and only the resulting
symbolic JSON is passed to TinyLlama as context for your next message.
Exact mode returns the saved training answer verbatim for exact prompt matches. Context mode still queries the model, but includes the matched dataset entry as supporting context.
Higher values = longer responses (50-2000 tokens)
Auto scales with max length and backend. Pick a longer timeout for slower local models.
Fact0.20 • mostly factualFiction
Lower values reduce creative drift. Set this near 0 for deterministic factual answers, especially on NVIDIA.
📝 Generated Text
Response Source:--
Model Target:--
Dataset Context:--
Dataset Path:--
Supporting Dataset Prompt:--
Line-by-Line Diff
Matching lines stay muted. Changed lines are highlighted so the differences are easier to scan.
🦙 Import Model to Ollama
📦 Import GGUF Model
ℹ️ About: This will import your trained model into Ollama, allowing you to run it locally using the ollama run command.
⚠️ No GGUF file? If you don't see any GGUF files below, you need to convert your trained model first.
This will be the name you use with ollama run <name>
☁️ Cloud deploy: Use the second button to upload the selected GGUF and create the model on ollama.ayestaran.dev. This requires SSH access from the dashboard host to the server.
Cloud Deployment Progress0%
Waiting to start deployment...
📝 Import Output
☁️ Ollama Cloud Server Admin
ℹ️ About: Manage models on ollamacloud.dev. Listing uses the remote tags endpoint, and deletion uses SSH access from the dashboard host.
Loading cloud models...
☁️
No Cloud Models Found
The Ollama cloud server is reachable, but no models are currently installed.
Model
Size
Family
Quantization
Updated
📝 Admin Output
📊 Training Artifacts
Loading artifacts...
Total Items
0
Total Size
0 B
Categories
0
⚠️ Warning
Resetting will permanently delete all training artifacts including models, visualizations, logs, and GGUF files. This action cannot be undone unless you create a backup.
✨
No Training Artifacts Found
Your workspace is clean! Start training to see artifacts here.
📊 3D Model Visualizations
Interactive 3D visualizations of your model's training process, checkpoints, embeddings, layer structures, and internal LLM topology.
Checking for visualizations...
🎯 Checkpoints 3D 🔗
🏗️ Layers 3D 🔗
🌐 Embedding 3D 🔗
🎪 Checkpoints Centroids 3D 🔗
🧠 LLM Topology 3D 🔗
💡 Tip: These visualizations are interactive. Rotate, zoom, and inspect the spaces by clicking and dragging. Click any title (🔗) to open in a new tab for full-screen interaction.
Regenerating Visualizations0%
Starting...
📊
No Visualizations Available
Train your model first to generate 3D visualizations. The visualizations will appear here after training completes.
Interactive Attention Flow
🧠 3D LLM Attention Explorer
A dedicated scene for inspecting how query, key, and value paths move through a transformer block. The layout is intentionally closer to a cinematic architecture diagram than the existing topology plot, with Q/K/V weight slabs, vector stages, layer norm, attention scoring, and animated token flow.
What You Can Inspect
Separate Q, K, and V stages, token score routing, residual handoff, and downstream attention aggregation in one navigable 3D scene.
Interaction Model
Orbit, pan, and zoom the scene. Click a subsystem to pin metadata and use the scene controls to jump straight to Q, K, V, or the attention matrix.
Visual Direction
The page uses a hand-built scene rather than Plotly so the composition can read more like a technical explainer, matching the reference style more closely.
Immersive Neural Atlas
🧬 3D Neural Brain Journey
A dedicated brain-shaped scene for travelling through your trained model, now with a semantic Embedding Galaxy mode. Switch between the structural 3D brain and a token-star universe where clusters become constellations, dense regions become nebulae, and model-specific concepts form their own colored territories.
Choose which local model checkpoint powers the Brain Journey and Semantic Universe views.
How To Read It
Brain mode shows the residual spine, attention branches, and sampled learned pathways from the real checkpoint. Galaxy mode remaps sampled token embeddings into a 3D star field.
Journey Model
Use the built-in waypoints to jump from input cortex to mid-layer reasoning and then into the output crown. Click any node to pin its layer, tensor path, and sampled row metrics.
Practical Constraint
This atlas is sampled, not literal-all-edges. Rendering every trained connection in a browser is not feasible at LLM scale, so the scene uses the strongest learned pathways to stay explorable.
🛰️ Visit Logs
Recent server-side page visits captured in SQLite. Timestamps are shown in UTC.
Visits by Day of Year (1-365)
Visits by Country Code
Hover a country code bar to see its full country name. Click a bar to show only that country.
Total Visits
0
Showing
0
Selected
0
Hovered Day
--
Hover a bar to see its total
Total Visits by Period (UTC)
Year
0
Month
0
Week
0
Day
0
Hour
0
Minute
0
Loading visit logs...
No visits recorded yet
Open the dashboard or a visualization page to create the first visit record.
🛠️ Technical Stack
Overview of the Phase-1 ML/DL, Phase-2 classical ML, and Phase-3 transformer workflows that power this dashboard across NVIDIA CUDA and Apple Silicon MLX/MPS environments, plus optional FastAPI microservices for multimodal, molecular, and scientific graph workflows.
🧠
Core Deep Learning Framework
PyTorch 2.0+
Primary runtime for Phase-1 CNN/MLP/RNN training, custom transformer experiments, Phase-3 Vision Transformer pipelines, and shared optimization and export flows.
Transformers 4.30+
Hugging Face stack for tokenization, pre-trained checkpoints, compact text transformers, and PEFT-based LoRA fine-tuning workflows with Accelerate runtime support.
CUDA / MPS / MLX-LM
CUDA accelerates NVIDIA training and quantized fine-tuning workloads, including bitsandbytes-backed QLoRA.
Apple Silicon (MPS / MLX-LM): Native GPU acceleration for M-series processors via Metal Performance Shaders, with MLX-LM enabling Apple-native quantized LoRA/QLoRA training and fused export flows.
Tokenizers + SentencePiece
Fast tokenizer pipelines for text corpora, chat templates, and sequence preparation across both Transformers and MLX training paths.
🏗️
Model Coverage & Training Workflows
Model Coverage (transformer.py + backend/ml_models)
Phase 1 ML/DL Models - CNN, MLP, and RNN training flows with CSV, JSONL, and image dataset support
Export Paths - SafeTensors, GGUF, ONNX, and artifact bundles for local deployment and comparison
Telemetry & History - Training status, logs, history, and downloadable artifacts surfaced directly in the dashboard
🌐
Web Dashboard & Visualization
Flask 3.0+
Flask serves the unified Phase-1, Phase-2, and Phase-3 dashboard, training APIs, dataset upload routes, telemetry, and artifact export endpoints.
Plotly 5.20+
Interactive 3D visualizations for checkpoints, embeddings, layer structures, neural atlases, and interpretability scenes.
Marked.js + FastAPI Services
Marked.js powers in-dashboard docs, while optional FastAPI/Uvicorn services support standalone vision, molecular, and scientific graph inference APIs.
📊
Data Processing & System Monitoring
NumPy + Pandas + Pillow
Array and dataframe processing for tabular/text/image workflows, with Pillow-backed image dataset ingestion and preprocessing.
PSUtil 5.9+
Real-time system and process monitoring for CPU, memory, GPU, and disk usage tracking.
TQDM + HDBSCAN
Progress reporting for training and export pipelines, plus density-based clustering support for feature-space geometry visualizations.
🦙
Model Export & Deployment
SafeTensors 0.4+
Checkpoint and adapter serialization for transformer fine-tuning, resume bundles, and model conversion pipelines.
Ollama Integration
GGUF export path for PyTorch and Apple-native MLX outputs, with direct Ollama import for local inference.
GGUF / ONNX Runtime / ONNXScript
llama.cpp quantization supports GGUF deployment, while ONNX + ONNX Runtime + ONNXScript cover transformer export/inference and skl2onnx supports classical model export.
🔧
Experiment Tracking & Classical ML Tooling
TensorBoard 2.12+
Loss, learning-rate, and gradient tracking for deep-learning runs and checkpoint inspection.
Weights & Biases
Experiment tracking and collaboration platform for machine learning projects.
Scikit-learn 1.2+
Phase-2 classical ML stack for Random Forest, SVM, and Logistic Regression training, metrics, and optional skl2onnx export.
🔬
Transformer Interpretability Stack
LLM Training Dashboard progressively exposes the internal logic of large language models through twelve hierarchical layers, moving from high-level semantic geometry down to neuron-level concept discovery.
Embedding Galaxy - Constructs the top-level semantic space, mapping tokens into a unified representational geometry.
Brain Atlas - Defines the macro-architecture of the model, showing how major regions such as attention, MLP, and embedding blocks interconnect.
Tensor Microarchitecture - Visualizes tensor statistics and heatmaps for fine-grained inspection of weight distributions and activation patterns.
Head-Aware Q/K/V Decomposition - Separates attention heads to analyze norms, sparsity, and per-head behavior.
Activation-Path Visualization - Traces query, key, and value activations through attention weights to reveal how information flows within a layer.
Multi-Head Interaction Map - Examines horizontal structure through head-to-head similarity, clustering, redundancy, and specialization, including syntax, induction, and negation heads.
Layer-to-Layer Activation Flow - Explores vertical structure by showing how outputs propagate across layers to form emergent circuits and conceptual hierarchies.
MLP Neuron Concept Discovery - Discovers concept neurons and feature detectors in MLP layers that respond to interpretable patterns such as numbers, names, and emotions.
Feature-Space Geometry - Visualizes principal components, concept directions, neuron clusters, and subspaces for specific behaviors.
Time Drift Visualisation - Tracks how embeddings, attention patterns, and neuron behaviours shift across checkpoints to reveal when representations diverge or capabilities emerge.
Gradient Flow & Influence Maps - Reveals why a model chose its output by tracing token‑level gradients, attribution signals, and causal influence pathways.
Mechanistic Circuits & Subgraph Extraction - A multi‑level framework that reveals how transformer models represent, transform, and reason through their internal mechanisms.
🎯
System Architecture
Data Pipeline: CSV / JSONL / image-folder input → preview and validation → dataset builders → training loaders
Training Loop: Phase-1 deep learning loops / Phase-2 classical fit / Phase-3 transformer fine-tuning → telemetry → checkpoints and artifacts
Model Export: SafeTensors / .pkl / ONNX / GGUF → Ollama / ONNX Runtime / local artifact downloads
Dashboard: Flask API ↔ Phase-1/2/3 controls ↔ real-time updates ↔ 3D visualizations ↔ system monitoring
🚀 Built for Production-Ready LLM Training
Architecture, Design and Development by Franz Ayestaran / Enhanced Pair Programming with GitHub Copilot (GPT-5.3-Codex), Claude Code, and OpenAI models