Skip to content
Back to skills

Model Checkpoint Evaluator

ASecurity

When the user needs to evaluate multiple model checkpoints across various benchmarks to identify the best performing model based on evaluation metrics like accuracy, F1-score, or custom scoring functions. This skill scans directories containing model checkpoints, runs benchmark evaluations using predefined scoring algorithms, calculates overall performance scores, and identifies the checkpoint with the highest evaluation metric. It handles complex evaluation workflows involving multiple bench...

  • 30 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 12, 2026
ai-agentsgoperformancedocumentation

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill model-checkpoint-evaluator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Model Checkpoint Evaluator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Model Checkpoint Evaluator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-model-checkpoint-evaluator-claude-skill-registry-data/badge)](https://www.skillsdirectory.com/skills/majiayu000-model-checkpoint-evaluator-claude-skill-registry-data)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: model-checkpoint-evaluator
description: When the user needs to evaluate multiple model checkpoints across various benchmarks to identify the best performing model based on evaluation metrics like accuracy, F1-score, or custom scoring functions. This skill scans directories containing model checkpoints, runs benchmark evaluations using predefined scoring algorithms, calculates overall performance scores, and identifies the checkpoint with the highest evaluation metric. It handles complex evaluation workflows involving multiple benchmark categories and mathematical scoring formulas.
---
# Instructions

## Overview
This skill evaluates model checkpoints across multiple benchmark categories using predefined scoring algorithms, identifies the best-performing checkpoint based on overall evaluation accuracy, and prepares it for deployment (e.g., uploading to Hugging Face Hub with updated documentation).

## Workflow

### 1. Scan Workspace and Identify Checkpoints
- List directories in the workspace to locate checkpoint folders.
- Checkpoint folders are typically named with step numbers (e.g., `step_100`, `step_200`).
- Extract step numbers from folder names for evaluation.

### 2. Run Benchmark Evaluations
- Use the bundled `benchmark_calculator.py` script to compute scores for each checkpoint.
- The script implements 15 benchmark scoring functions derived from the original Cython module:
  - **Core Reasoning Tasks**: Math Reasoning, Logical Reasoning, Common Sense
  - **Language Understanding**: Reading Comprehension, Question Answering, Text Classification, Sentiment Analysis
  - **Generation Tasks**: Code Generation, Creative Writing, Dialogue Generation, Summarization
  - **Specialized Capabilities**: Translation, Knowledge Retrieval, Instruction Following, Safety Evaluation
- Each scoring function uses mathematical formulas (sigmoid, rational, exponential) based on step value.

### 3. Calculate Overall Performance
- For each checkpoint, compute the average of all benchmark scores as the `eval_accuracy`.
- Identify the checkpoint with the highest `eval_accuracy`.

### 4. Prepare Best Model for Deployment
- Update the model's `README.md` with benchmark scores (keep three decimal places).
- Ensure all necessary files are present: `config.json`, `pytorch_model.bin`, figures.
- If required, push the model to Hugging Face Hub:
  - Use the Hugging Face token from `hf_token.txt`.
  - Create/update repository with the model name specified by the user.
  - Upload the entire checkpoint folder.

## Key Decisions
- **Benchmark Scoring**: Use the formulas in `benchmark_calculator.py`; do not modify them.
- **README Update**: Only replace `{RESULT}` placeholders with scores; preserve all other content.
- **File Handling**: Copy necessary assets (e.g., figures) to the checkpoint folder before upload.
- **Error Handling**: If a checkpoint folder is missing required files, skip it and log a warning.

## Notes
- The skill assumes checkpoints are in a structured directory (e.g., `workspace/checkpoints/`).
- For Hugging Face upload, ensure `huggingface_hub` is installed and the token is valid.
- All benchmark scores are rounded to three decimal places in the final README.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.