Skip to content
Back to skills

Evaluation

ASecurity

"Guides ChatGLM2-6B C-Eval dataset preparation, benchmark command

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
toolspythongo

Security analysis

A100/100

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

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Evaluation?

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

Security grade badge for Evaluation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-evaluation-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-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: evaluation
description: "Guides ChatGLM2-6B C-Eval dataset preparation, benchmark command
  planning, schema validation, score interpretation, and safe handling of
  expensive CUDA evaluation."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# ChatGLM2-6B Evaluation

Use this route for the repository's C-Eval benchmark script, validation/test
JSONL layout, answer extraction, accuracy aggregation, or benchmark
troubleshooting. Use [`ptuning`](../ptuning/SKILL.md) for evaluation of tuned
checkpoints and [`chat-and-demos`](../chat-and-demos/SKILL.md) for ordinary
local generation.

## Before a benchmark run

1. Acquire the C-Eval data through an approved source and place it under a
   model-specific `evaluation/CEval/` directory. Do not bundle or download it
   from the skill helper.
2. Run the bundled validator before allocating a GPU:
   `python sub-skills/evaluation/scripts/validate_ceval_layout.py --root evaluation/CEval`.
3. Ensure a compatible model/tokenizer is cached, CUDA is available, and the
   model uses the same tokenizer/model revision. The source script loads
   `THUDM/chatglm2-6b` in BF16 and calls `.cuda()`.
4. Treat the benchmark as expensive: the script iterates every subject JSONL,
   batches by eight, generates up to 512 new tokens, then performs a second
   forward pass over answer-extraction prompts.

Read [`ceval-workflow.md`](references/ceval-workflow.md) for the scoring
algorithm and val/test adaptation. Read [`troubleshooting.md`](references/troubleshooting.md)
when a layout, label, tokenizer, or CUDA error occurs. The validator is a
schema/layout check only; it never loads model weights or claims benchmark
accuracy.

Files in this skill

  • SKILL.md1.7 KB
  • references/ceval-workflow.md2.1 KB
  • references/troubleshooting.md1.5 KB
  • scripts/validate_ceval_layout.py3.8 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.