Skip to content

Generalize dataset card template prose for non-conversion tasks #38

@shaypal5

Description

@shaypal5

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions