From 626fba338673d4e874b502fa80635860b69e3ede Mon Sep 17 00:00:00 2001 From: RubyZ10 Date: Fri, 14 Jun 2024 09:40:32 -0700 Subject: [PATCH] fix blbooksgenre --- ...esponsibleaidashboard-text-classification-blbooksgenre.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/python/responsible-ai/text/responsibleaidashboard-text-classification-blbooksgenre.ipynb b/sdk/python/responsible-ai/text/responsibleaidashboard-text-classification-blbooksgenre.ipynb index 209b92954..e6ad9d877 100644 --- a/sdk/python/responsible-ai/text/responsibleaidashboard-text-classification-blbooksgenre.ipynb +++ b/sdk/python/responsible-ai/text/responsibleaidashboard-text-classification-blbooksgenre.ipynb @@ -128,7 +128,7 @@ "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(\"blbooksgenre\", split=split, **config_kwargs, trust_remote_code=True)\n", " return pd.DataFrame({\"text\": dataset[\"title\"], \"label\": dataset[\"label\"]})\n", "\n", "\n",