Skip to content
Back to skills

Inference And Evaluation

ASecurity

"Helps with LMFlow generation, evaluation, benchmark, and optional

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
toolsbackend

Works with

  • cli

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill inference-and-evaluation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Inference And Evaluation?

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

Security grade badge for Inference And Evaluation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-inference-and-evaluation-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-inference-and-evaluation-arex-skill)

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: inference-and-evaluation
description: "Helps with LMFlow generation, evaluation, benchmark, and optional
  vLLM or SGLang inference workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Inference and Evaluation

Use this sub-skill when the task is about generating text with LMFlow, running evaluator/benchmark flows, handling inference results, or choosing between the Hugging Face, vLLM, and SGLang routes.

## Typical Triggers

- `inference`, `generate`, `chat`, `tool inference`, `speculative inference`
- `evaluator`, `benchmarking`, `metric`, `answer extraction`
- `vllm`, `sglang`, `save_inference_results`, `results_path`
- `reward model inference`, `text_regression`, `DataProto`

## What This Sub-Skill Owns

- Batch generation and evaluation commands built from the installed LMFlow package.
- Engine selection for Hugging Face, vLLM, and SGLang.
- Result-format guidance, save/load paths, and DataProto usage.
- Safe command rendering for non-training inference and evaluation.

## Read These First

- `references/workflows.md` for the supported inference and evaluation paths.
- `references/cli-reference.md` for the important generation/evaluation dataclass fields.
- `references/results-and-dataproto.md` for result objects and output files.
- `references/troubleshooting.md` for deepspeed, engine, and result-path issues.
- `scripts/build_inference_command.py` to render a copyable command.

## Cross-Links

- Dataset preparation lives in `../data-and-templates/SKILL.md`.
- Fine-tuning lives in `../training-and-optimization/SKILL.md`.
- Reward-modeling and DPO workflows live in `../post-training-alignment/SKILL.md`.

## Workflow

1. Decide whether the user wants plain generation, evaluation, or a backend engine.
2. Confirm the dataset path and model path.
3. Decide whether outputs should be printed, saved, or both.
4. Check whether the task needs `vllm` or `sglang` and whether those extras are installed in a separate environment.
5. Render the command before running anything expensive.

## Common Decisions

- Use Hugging Face inference for the simplest path and base-install compatibility.
- Use vLLM only when the user explicitly wants vLLM and has that extra installed.
- Use SGLang only when the user explicitly wants SGLang, deterministic inference, or return-logprob behavior.
- Use the evaluator path when the user asks for metrics rather than raw generations.

## What Not To Do

- Do not mix vLLM and SGLang dependency assumptions.
- Do not hide `save_inference_results` output paths.
- Do not promise `return_logprob` unless the route is SGLang.
- Do not route training tasks here.

Files in this skill

  • SKILL.md2.6 KB
  • references/cli-reference.md1.3 KB
  • references/results-and-dataproto.md856 B
  • references/troubleshooting.md1.6 KB
  • references/workflows.md1.7 KB
  • scripts/build_inference_command.py7.9 KB

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.

Comments

Loading comments…

Newsletter

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