界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

model-access-and-credentialed-evaluation

model-access-and-credentialed-evaluation

【开发与工程】Handle AIMET model downloads, Hugging Face tokens, GitHub Actions scorecard runs, AWS/S3 checkpoints, caches, and benchmark-result comparability.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: model-access-and-credentialed-evaluation description: "Handle AIMET model downloads, Hugging Face tokens, GitHub Actions scorecard runs, AWS/S3 checkpoints, caches, and benchmark-result comparability." metadata: disco-role: operating disable-model-invocation: true license: BSD 3-Clause

AIMET model access and credentialed evaluation

Use this sub-skill when a task involves Hugging Face model or dataset access, gated checkpoints, HF_TOKEN, gh-dispatched GenAI scorecards, S3 export downloads, AWS/SAML credentials, cached FP/recipe/model outputs, metric scoring versions, or comparing GenAILab results.

Read/run first

Core workflow

  1. Identify the credential boundary. Hugging Face tokens, GitHub CLI auth, AWS credentials, SAML app IDs, and AI Hub/QNN auth are separate concerns.
  2. Validate config without secrets. Do a dry preflight before calling remote services or launching benchmark downloads.
  3. Use explicit caches. Set FP cache, recipe cache, model cache, export dir, and results dir when the run will be repeated or compared.
  4. Preserve scoring semantics. Compare metric results only when metric names and scoring_version match.
  5. Download artifacts safely. Validate S3 URL shape, profile, and destination before copying/exporting checkpoint zips.
  6. Avoid leaking credentials. Never write tokens into config files, generated artifacts, shell history snippets, or user-visible logs.

Boundaries

Expected answer shape

For credentialed evaluation tasks, include the required credential type, how to verify it without exposing secrets, cache/result paths, whether the run is local or online, how artifacts are downloaded or merged, and the result-comparability constraints.

我的收藏