Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hf_load_dataset issues #39

Open
jpcompartir opened this issue Nov 12, 2022 · 0 comments
Open

hf_load_dataset issues #39

jpcompartir opened this issue Nov 12, 2022 · 0 comments

Comments

@jpcompartir
Copy link
Collaborator

jpcompartir commented Nov 12, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant