인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

pplm_candidate_reranking

pplm_candidate_reranking

Use when generated candidates must be ranked by attribute likelihood with Dist-n diversity filtering as in PPLM BCR.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: pplm_candidate_reranking description: Use when generated candidates must be ranked by attribute likelihood with Dist-n diversity filtering as in PPLM BCR.

PPLM Candidate Reranking

Use this skill for PPLM BR/BCR-style candidate selection.

Inputs

  • Candidate token sequences.
  • Attribute scores where larger is better.
  • Minimum Dist-n diversity threshold.

Outputs

  • Dist-1/2/3 metrics.
  • Filtered ranked list.
  • Selected candidate and reason.

Workflow

  1. Compute Dist-n as unique n-grams divided by total n-grams.
  2. Filter candidates below the requested Dist threshold.
  3. Select the highest attribute score among surviving candidates.
  4. If all candidates fail diversity, select the highest score and record fallback.

Validation

Run python tests/test_candidate_reranking.py.

Limitations

Reduced proxy implementations must declare that they are not full GPT-2 345M reproduction.

저장한 Skills