Second concatenation of datasets produces errors
NONE
@albertvillanova 
2021-08-04T16:26:07Z
https://github.com/huggingface/datasets/issues/2750#issuecomment-892798085
https://api.github.com/repos/huggingface/datasets/issues/2750
IC_kwDODunzps41NwSF
https://api.github.com/repos/huggingface/datasets/issues/comments/892798085/reactions
2021-08-04T16:26:07Z
https://api.github.com/repos/huggingface/datasets/issues/comments/892798085
https://avatars.githubusercontent.com/u/36672861?v=4
https://api.github.com/users/Aktsvigun/events{/privacy}
https://api.github.com/users/Aktsvigun/followers
https://api.github.com/users/Aktsvigun/following{/other_user}
https://api.github.com/users/Aktsvigun/gists{/gist_id}
https://github.com/Aktsvigun
Aktsvigun
MDQ6VXNlcjM2NjcyODYx
https://api.github.com/users/Aktsvigun/orgs
https://api.github.com/users/Aktsvigun/received_events
https://api.github.com/users/Aktsvigun/repos
https://api.github.com/users/Aktsvigun/starred{/owner}{/repo}
https://api.github.com/users/Aktsvigun/subscriptions
User
https://api.github.com/users/Aktsvigun
public
MEMBER
Hi @Aktsvigun, thanks for reporting.

I'm investigating this.
2021-08-04T17:05:53Z
https://github.com/huggingface/datasets/issues/2750#issuecomment-892824264
https://api.github.com/repos/huggingface/datasets/issues/2750
IC_kwDODunzps41N2rI
https://api.github.com/repos/huggingface/datasets/issues/comments/892824264/reactions
2021-08-04T17:06:07Z
https://api.github.com/repos/huggingface/datasets/issues/comments/892824264
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
NONE
Hi @albertvillanova ,
any update on this? Can I probably help in some way?
2021-08-09T15:55:53Z
https://github.com/huggingface/datasets/issues/2750#issuecomment-895340135
https://api.github.com/repos/huggingface/datasets/issues/2750
IC_kwDODunzps41Xc5n
https://api.github.com/repos/huggingface/datasets/issues/comments/895340135/reactions
2021-08-09T15:55:53Z
https://api.github.com/repos/huggingface/datasets/issues/comments/895340135
https://avatars.githubusercontent.com/u/36672861?v=4
https://api.github.com/users/Aktsvigun/events{/privacy}
https://api.github.com/users/Aktsvigun/followers
https://api.github.com/users/Aktsvigun/following{/other_user}
https://api.github.com/users/Aktsvigun/gists{/gist_id}
https://github.com/Aktsvigun
Aktsvigun
MDQ6VXNlcjM2NjcyODYx
https://api.github.com/users/Aktsvigun/orgs
https://api.github.com/users/Aktsvigun/received_events
https://api.github.com/users/Aktsvigun/repos
https://api.github.com/users/Aktsvigun/starred{/owner}{/repo}
https://api.github.com/users/Aktsvigun/subscriptions
User
https://api.github.com/users/Aktsvigun
public
MEMBER
Hi @Aktsvigun! We are planning to address this issue before our next release, in a couple of weeks at most. 😅 

In the meantime, if you would like to contribute, feel free to open a Pull Request. You are welcome. Here you can find more information: [How to contribute to Datasets?](CONTRIBUTING.md)
2021-08-10T11:41:34Z
https://github.com/huggingface/datasets/issues/2750#issuecomment-895958645
https://api.github.com/repos/huggingface/datasets/issues/2750
IC_kwDODunzps41Zz51
https://api.github.com/repos/huggingface/datasets/issues/comments/895958645/reactions
2021-08-10T11:42:07Z
https://api.github.com/repos/huggingface/datasets/issues/comments/895958645
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
COLLABORATOR
I can't reproduce the bug on master. I believe this issue was fixed by https://github.com/huggingface/datasets/pull/3551.
2022-01-19T14:23:42Z
https://github.com/huggingface/datasets/issues/2750#issuecomment-1016514857
https://api.github.com/repos/huggingface/datasets/issues/2750
IC_kwDODunzps48lskp
https://api.github.com/repos/huggingface/datasets/issues/comments/1016514857/reactions
2022-01-19T14:23:42Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1016514857
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
Hi,

I am need to concatenate my dataset with others several times, and after I concatenate it for the second time, the features of features (e.g. tags names) are collapsed. This hinders, for instance, the usage of tokenize function with `data.map`.

```
from datasets import load_dataset, concatenate_datasets

data = load_dataset('trec')['train']
concatenated = concatenate_datasets([data, data])
concatenated_2 = concatenate_datasets([concatenated, concatenated])
print('True features of features:', concatenated.features)
print('\nProduced features of features:', concatenated_2.features)
```
outputs 

```
True features of features: {'label-coarse': ClassLabel(num_classes=6, names=['DESC', 'ENTY', 'ABBR', 'HUM', 'NUM', 'LOC'], names_file=None, id=None), 'label-fine': ClassLabel(num_classes=47, names=['manner', 'cremat', 'animal', 'exp', 'ind', 'gr', 'title', 'def', 'date', 'reason', 'event', 'state', 'desc', 'count', 'other', 'letter', 'religion', 'food', 'country', 'color', 'termeq', 'city', 'body', 'dismed', 'mount', 'money', 'product', 'period', 'substance', 'sport', 'plant', 'techmeth', 'volsize', 'instru', 'abb', 'speed', 'word', 'lang', 'perc', 'code', 'dist', 'temp', 'symbol', 'ord', 'veh', 'weight', 'currency'], names_file=None, id=None), 'text': Value(dtype='string', id=None)}

Produced features of features: {'label-coarse': Value(dtype='int64', id=None), 'label-fine': Value(dtype='int64', id=None), 'text': Value(dtype='string', id=None)}
```

I am using `datasets` v.1.11.0