how to get all the options of a property in datasets 
{'login': 'rabeehk', 'id': 6278280, 'node_id': 'MDQ6VXNlcjYyNzgyODA=', 'avatar_url': 'https://avatars.githubusercontent.com/u/6278280?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/rabeehk', 'html_url': 'https://github.com/rabeehk', 'followers_url': 'https://api.github.com/users/rabeehk/followers', 'following_url': 'https://api.github.com/users/rabeehk/following{/other_user}', 'gists_url': 'https://api.github.com/users/rabeehk/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/rabeehk/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/rabeehk/subscriptions', 'organizations_url': 'https://api.github.com/users/rabeehk/orgs', 'repos_url': 'https://api.github.com/users/rabeehk/repos', 'events_url': 'https://api.github.com/users/rabeehk/events{/privacy}', 'received_events_url': 'https://api.github.com/users/rabeehk/received_events', 'type': 'User', 'site_admin': False}
[{'id': 1935892912, 'node_id': 'MDU6TGFiZWwxOTM1ODkyOTEy', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/question', 'name': 'question', 'color': 'd876e3', 'default': True, 'description': 'Further information is requested'}]
[]
In a dataset, labels correspond to the `ClassLabel` feature that has the `names` property that returns string represenation of the integer classes (or `num_classes` to get the number of different classes). I think the `features` attribute of the dataset object is what you are looking for:
```
>>> dataset.features
{'sentence1': Value(dtype='string', id=None),
 'sentence2': Value(dtype='string', id=None),
 'label': ClassLabel(num_classes=2, names=['not_equivalent', 'equivalent'], names_file=None, id=None),
 'idx': Value(dtype='int32', id=None)
}
>>> dataset.features["label"].names
['not_equivalent', 'equivalent']
```

For reference: https://huggingface.co/docs/datasets/exploring.html
Hi
could you tell me how I can get all unique options of a property of dataset?
for instance in case of boolq, if the user wants to know which unique labels it has, is there a way to access unique labels without getting all training data lables and then forming a set i mean? thanks
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/1514/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}