Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

Fix entity extraction tutorial dataset (#9889)

Tashid85f945cd739
diff --git a/docs/docs/tutorials/entity_extraction/index.ipynb b/docs/docs/tutorials/entity_extraction/index.ipynb
index df74ee0be..6a8f5c7a2 100644
--- a/docs/docs/tutorials/entity_extraction/index.ipynb
+++ b/docs/docs/tutorials/entity_extraction/index.ipynb
@@ -109,7 +109,7 @@
" # Use a temporary Hugging Face cache directory for compatibility with certain hosted notebook\n",
" # environments that don't support the default Hugging Face cache directory\n",
" os.environ[\"HF_DATASETS_CACHE\"] = temp_dir\n",
- " return load_dataset(\"conll2003\", trust_remote_code=True)\n",
+ " return load_dataset(\"lhoestq/conll2003\")\n",
"\n",
"def extract_people_entities(data_row: dict[str, Any]) -> list[str]:\n",
" \"\"\"\n",