Skip to content

How to merge multiple DatasetDict #5940

Closed Answered by mariosasko
MSZHabibie asked this question in Q&A
Discussion options

You must be logged in to vote

You can merge them as follows:

DatasetDict({"train": datasets.concatenate_datasets([dd1["train"], dd2["train"]])})

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@The-Rains
Comment options

Answer selected by MSZHabibie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants