Context
The dataset card template in narrative/dataset_card.py uses task-specific prose:
A lead is considered converted if a closed_won event is recorded within {N} days...
If primary_task is set to something other than a conversion task (e.g. churned_within_60_days), the prose becomes misleading — it still says "converted" and "closed_won".
What to do
Refactor the primary task section of the dataset card to support task-specific label descriptions. Options:
- Accept a
TaskManifest or label description string alongside the config
- Add a
label_description field to GenerationConfig or TaskManifest
- Template the prose based on task type
This is blocked on / related to full task configurability (#37 or whichever number is assigned).
References
Context
The dataset card template in
narrative/dataset_card.pyuses task-specific prose:If
primary_taskis set to something other than a conversion task (e.g.churned_within_60_days), the prose becomes misleading — it still says "converted" and "closed_won".What to do
Refactor the primary task section of the dataset card to support task-specific label descriptions. Options:
TaskManifestor label description string alongside the configlabel_descriptionfield toGenerationConfigorTaskManifestThis is blocked on / related to full task configurability (#37 or whichever number is assigned).
References