SNLI dataset contains labels with value -1
{'login': 'aarnetalman', 'id': 11405654, 'node_id': 'MDQ6VXNlcjExNDA1NjU0', 'avatar_url': 'https://avatars.githubusercontent.com/u/11405654?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/aarnetalman', 'html_url': 'https://github.com/aarnetalman', 'followers_url': 'https://api.github.com/users/aarnetalman/followers', 'following_url': 'https://api.github.com/users/aarnetalman/following{/other_user}', 'gists_url': 'https://api.github.com/users/aarnetalman/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/aarnetalman/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/aarnetalman/subscriptions', 'organizations_url': 'https://api.github.com/users/aarnetalman/orgs', 'repos_url': 'https://api.github.com/users/aarnetalman/repos', 'events_url': 'https://api.github.com/users/aarnetalman/events{/privacy}', 'received_events_url': 'https://api.github.com/users/aarnetalman/received_events', 'type': 'User', 'site_admin': False}
[]
[]
I believe the `-1` label is used for missing/NULL data as per HuggingFace Dataset conventions. If I recall correctly SNLI has some entries with no (gold) labels in the dataset. Ah, you're right. The dataset has some pairs with missing labels. Thanks for reminding me.
```
import datasets
nli_data = datasets.load_dataset("snli")
train_data = nli_data['train']
train_labels = train_data['label']
label_set = set(train_labels)
print(label_set)
```

**Output:**
`{0, 1, 2, -1}`
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/1452/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}