When prompted, enter your token to login: | |
from huggingface_hub import notebook_login | |
notebook_login() | |
Load SWAG dataset | |
Start by loading the regular configuration of the SWAG dataset from the 🤗 Datasets library: | |
from datasets import load_dataset | |
swag = load_dataset("swag", "regular") | |
Then take a look at an example: | |
swag["train"][0] | |
{'ending0': 'passes by walking down the street playing their instruments. |