Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions