Add try_original_type to DatasetDict.map
NONE
The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7544). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
2025-04-29T09:50:05Z
https://github.com/huggingface/datasets/pull/7544#issuecomment-2838155700
https://api.github.com/repos/huggingface/datasets/issues/7544
IC_kwDODunzps6pKtG0
https://api.github.com/repos/huggingface/datasets/issues/comments/2838155700/reactions
2025-04-29T09:50:05Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2838155700
https://avatars.githubusercontent.com/u/99929124?v=4
https://api.github.com/users/HuggingFaceDocBuilderDev/events{/privacy}
https://api.github.com/users/HuggingFaceDocBuilderDev/followers
https://api.github.com/users/HuggingFaceDocBuilderDev/following{/other_user}
https://api.github.com/users/HuggingFaceDocBuilderDev/gists{/gist_id}
https://github.com/HuggingFaceDocBuilderDev
HuggingFaceDocBuilderDev
U_kgDOBfTMJA
https://api.github.com/users/HuggingFaceDocBuilderDev/orgs
https://api.github.com/users/HuggingFaceDocBuilderDev/received_events
https://api.github.com/users/HuggingFaceDocBuilderDev/repos
https://api.github.com/users/HuggingFaceDocBuilderDev/starred{/owner}{/repo}
https://api.github.com/users/HuggingFaceDocBuilderDev/subscriptions
User
https://api.github.com/users/HuggingFaceDocBuilderDev
public
CONTRIBUTOR
Sure! I just committed the changes
2025-04-29T15:41:50Z
https://github.com/huggingface/datasets/pull/7544#issuecomment-2839387497
https://api.github.com/repos/huggingface/datasets/issues/7544
IC_kwDODunzps6pPZ1p
https://api.github.com/repos/huggingface/datasets/issues/comments/2839387497/reactions
2025-04-29T15:41:50Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2839387497
https://avatars.githubusercontent.com/u/11156001?v=4
https://api.github.com/users/yoshitomo-matsubara/events{/privacy}
https://api.github.com/users/yoshitomo-matsubara/followers
https://api.github.com/users/yoshitomo-matsubara/following{/other_user}
https://api.github.com/users/yoshitomo-matsubara/gists{/gist_id}
https://github.com/yoshitomo-matsubara
yoshitomo-matsubara
MDQ6VXNlcjExMTU2MDAx
https://api.github.com/users/yoshitomo-matsubara/orgs
https://api.github.com/users/yoshitomo-matsubara/received_events
https://api.github.com/users/yoshitomo-matsubara/repos
https://api.github.com/users/yoshitomo-matsubara/starred{/owner}{/repo}
https://api.github.com/users/yoshitomo-matsubara/subscriptions
User
https://api.github.com/users/yoshitomo-matsubara
public
CONTRIBUTOR
@lhoestq 
Let me know if there are other things to do before merge or other places to add `try_original_type` argument 
2025-05-05T05:35:10Z
https://github.com/huggingface/datasets/pull/7544#issuecomment-2849956547
https://api.github.com/repos/huggingface/datasets/issues/7544
IC_kwDODunzps6p3uLD
https://api.github.com/repos/huggingface/datasets/issues/comments/2849956547/reactions
2025-05-05T05:35:10Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2849956547
https://avatars.githubusercontent.com/u/11156001?v=4
https://api.github.com/users/yoshitomo-matsubara/events{/privacy}
https://api.github.com/users/yoshitomo-matsubara/followers
https://api.github.com/users/yoshitomo-matsubara/following{/other_user}
https://api.github.com/users/yoshitomo-matsubara/gists{/gist_id}
https://github.com/yoshitomo-matsubara
yoshitomo-matsubara
MDQ6VXNlcjExMTU2MDAx
https://api.github.com/users/yoshitomo-matsubara/orgs
https://api.github.com/users/yoshitomo-matsubara/received_events
https://api.github.com/users/yoshitomo-matsubara/repos
https://api.github.com/users/yoshitomo-matsubara/starred{/owner}{/repo}
https://api.github.com/users/yoshitomo-matsubara/subscriptions
User
https://api.github.com/users/yoshitomo-matsubara
public
This PR resolves #7472 for DatasetDict 

The previously merged PR #7483 added `try_original_type` to ArrowDataset, but DatasetDict misses `try_original_type`

Cc: @lhoestq 