Skip to content

Add features parameter to IterableDatasetDict.map#8043

Open
HaukurPall wants to merge 1 commit intohuggingface:mainfrom
HaukurPall:add-features-to-iterable-dataset-dict-map
Open

Add features parameter to IterableDatasetDict.map#8043
HaukurPall wants to merge 1 commit intohuggingface:mainfrom
HaukurPall:add-features-to-iterable-dataset-dict-map

Conversation

@HaukurPall
Copy link

IterableDataset.map accepts a features parameter to declare the output schema, but IterableDatasetDict.map did not expose it. This meant users of IterableDatasetDict had no way to preserve feature metadata through map operations.

IterableDataset.map accepts a features parameter to declare the
output schema, but IterableDatasetDict.map did not expose it.
This meant users of IterableDatasetDict had no way to preserve
feature metadata through map operations.
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

Successfully merging this pull request may close these issues.

1 participant