Skip to content

Commit

Permalink
fix wrong print (huggingface#5256)
Browse files Browse the repository at this point in the history
print `encoded_dataset.column_names` not `dataset.column_names`
  • Loading branch information
WrRan committed Nov 18, 2022
1 parent 731f3af commit 4eccb22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notebooks/Overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2204,13 +2204,13 @@
"name": "stdout",
"output_type": "stream",
"text": [
"['id', 'title', 'context', 'question', 'answers']\n"
"['id', 'title', 'context', 'question', 'answers', 'input_ids', 'token_type_ids', 'attention_mask']\n"
]
}
],
"source": [
"# we have added additional columns\n",
"pprint(dataset.column_names)"
"pprint(encoded_dataset.column_names)"
]
},
{
Expand Down

0 comments on commit 4eccb22

Please sign in to comment.