Skip to content

Commit

Permalink
Update responsibleaidashboard-text-classification-blbooksgenre.ipynb (#…
Browse files Browse the repository at this point in the history
…3280)

* Update responsibleaidashboard-text-classification-blbooksgenre.ipynb

* Update responsibleaidashboard-text-classification-blbooksgenre.ipynb

* Update responsibleaidashboard-text-classification-blbooksgenre.ipynb

* Update responsibleaidashboard-text-classification-blbooksgenre.ipynb

* Update responsibleaidashboard-text-classification-blbooksgenre.ipynb
  • Loading branch information
tongyu-microsoft authored Aug 5, 2024
1 parent 4e6e7f6 commit 6e32c21
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"metadata": {},
"outputs": [],
"source": [
"rai_example_version_string = \"32\""
"rai_example_version_string = \"34\""
]
},
{
Expand Down Expand Up @@ -128,7 +128,9 @@
"source": [
"def load_dataset(split):\n",
" config_kwargs = {\"name\": \"title_genre_classifiction\"}\n",
" dataset = datasets.load_dataset(\"blbooksgenre\", split=split, **config_kwargs)\n",
" dataset = datasets.load_dataset(\n",
" \"blbooksgenre\", split=split, trust_remote_code=True, **config_kwargs\n",
" )\n",
" return pd.DataFrame({\"text\": dataset[\"title\"], \"label\": dataset[\"label\"]})\n",
"\n",
"\n",
Expand Down

0 comments on commit 6e32c21

Please sign in to comment.