hugging-face-trackio
Monitor ML training metrics and visualize results via Hugging Face Spaces.
Install
mkdir -p .claude/skills/hugging-face-trackio && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4480" && unzip -o skill.zip -d .claude/skills/hugging-face-trackio && rm skill.zipInstalls to .claude/skills/hugging-face-trackio
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Track and visualize ML training experiments with Trackio. Use when logging metrics during training (Python API) or retrieving/analyzing logged metrics (CLI). Supports real-time dashboard visualization, HF Space syncing, and JSON output for automation.Key capabilities
- →Logging real-time training metrics
- →Synchronizing logs to HF Spaces
- →Retrieving historical run metrics
- →Generating JSON outputs for automation
How it works
Hooks into Python training loops to emit metrics to a central tracking server and dashboard via an API layer.
Inputs & outputs
When to use hugging-face-trackio
- →Log ML training metrics in Python scripts
- →Visualize training progress via a dashboard
- →Retrieve experiment results via command line
- →Sync training logs to Hugging Face Spaces
About this skill
Trackio - Experiment Tracking for ML Training
Trackio is an experiment tracking library for logging and visualizing ML training metrics. It syncs to Hugging Face Spaces for real-time monitoring dashboards.
Two Interfaces
| Task | Interface | Reference |
|---|---|---|
| Logging metrics during training | Python API | references/logging_metrics.md |
| Retrieving metrics after/during training | CLI | references/retrieving_metrics.md |
When to Use Each
Python API → Logging
Use import trackio in your training scripts to log metrics:
- Initialize tracking with
trackio.init() - Log metrics with
trackio.log()or use TRL'sreport_to="trackio" - Finalize with
trackio.finish()
Key concept: For remote/cloud training, pass space_id — metrics sync to a Space dashboard so they persist after the instance terminates.
→ See references/logging_metrics.md for setup, TRL integration, and configuration options.
CLI → Retrieving
Use the trackio command to query logged metrics:
trackio list projects/runs/metrics— discover what's availabletrackio get project/run/metric— retrieve summaries and valuestrackio show— launch the dashboardtrackio sync— sync to HF Space
Key concept: Add --json for programmatic output suitable for automation and LLM agents.
→ See references/retrieving_metrics.md for all commands, workflows, and JSON output formats.
Minimal Logging Setup
import trackio
trackio.init(project="my-project", space_id="username/trackio")
trackio.log({"loss": 0.1, "accuracy": 0.9})
trackio.log({"loss": 0.09, "accuracy": 0.91})
trackio.finish()
Minimal Retrieval
trackio list projects --json
trackio get metric --project my-project --run my-run --metric loss --json
When not to use it
- →Locally hosted training without external dashboarding
- →Non-ML projects
Prerequisites
Limitations
- →Adds slight latency to training loops
- →Depends on HF Spaces availability
How it compares
It provides a unified bridge between local model training and persistent cloud visualization without manual file management.
Compared to similar skills
hugging-face-trackio side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| hugging-face-trackio (this skill) | 1 | 6mo | Review | Intermediate |
| umap-learn | 6 | 2mo | Review | Intermediate |
| setting-up-experiment-tracking | 2 | 24d | Review | Beginner |
| weights-and-biases | 3 | 7mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by patchy631
View all by patchy631 →You might also like
umap-learn
K-Dense-AI
UMAP dimensionality reduction. Fast nonlinear manifold learning for 2D/3D visualization, clustering preprocessing (HDBSCAN), supervised/parametric UMAP, for high-dimensional data.
setting-up-experiment-tracking
jeremylongshore
Implement machine learning experiment tracking using MLflow or Weights & Biases. Configures environment and provides code for logging parameters, metrics, and artifacts. Use when asked to "setup experiment tracking" or "initialize MLflow". Trigger with relevant phrases based on skill purpose.
weights-and-biases
davila7
Track ML experiments with automatic logging, visualize training in real-time, optimize hyperparameters with sweeps, and manage model registry with W&B - collaborative MLOps platform
omicverse-visualization-for-bulk-color-systems-and-single-cell-d
Starlitnightly
Guide users through OmicVerse plotting utilities showcased in the bulk, color system, and single-cell visualization tutorials, including venn/volcano charts, palette selection, and advanced embedding layouts.
tensorboard
davila7
Visualize training metrics, debug models with histograms, compare experiments, visualize model graphs, and profile performance with TensorBoard - Google's ML visualization toolkit
rebuild-leaderboard
surus-lat
Re-run all models on the LatamBoard leaderboard from scratch after data loss. Identifies which model configs exist, runs each one with the full latam_board task suite on the cluster, and publishes results to HuggingFace after each model so progress is never lost.