Darrenchensformer Eval Keyphrase

Compute DarrenChensformer/eval_keyphrase via the HuggingFace `evaluate` library. Use when the user has predictions + references and wants the canonical implementation of DarrenChensformer/eval_keyphrase.

qhjqhj00 a8e32e5 934 B Updated 3 repo stars

File contents

darrenchensformer-eval-keyphrase

Metric DarrenChensformer/eval_keyphrase from the HuggingFace evaluate library.

When to invoke

User asks to compute DarrenChensformer/eval_keyphrase or wants HF evaluate's canonical version.

Recipe

import evaluate
metric = evaluate.load("DarrenChensformer/eval_keyphrase")
result = metric.compute(predictions=preds, references=refs)
print(result)

Don'ts

  • Don't assume your in-house DarrenChensformer/eval_keyphrase matches HF — version conventions vary.
  • Many evaluate metrics have task-specific arguments (average=, lang=, model_type=); read the metric card before reporting numbers.

qhjqhj00/research-skills-pool/tree/main/skill-factory/output/darrenchensformer-eval-keyphrase commit a8e32e52a0

Frequently asked questions

npx skillmds add qhjqhj00/darrenchensformer-eval-keyphrase