Skip to content

hf_load_dataset issuesΒ #39

@jpcompartir

Description

@jpcompartir

Function + arguments break too easily for datasets other than emotions e.g.

x <- hf_load_dataset("go_emotions", as_tibble = TRUE, label_name = "int2str")

Doesn't deal with go_emotions' labels being lists. Do we need to take care of this? User can in this example with:

x <- x %>%
  tidyr::unnest(labels)

But this same feature also prevents label_name working as intended which seems a bigger problem. Currently user would have to go and fetch the int2str lookup table.

Playing around with IMDB and there are similar related issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions