Skip to content

Commit a5ff4e3

Browse files
committed
patch langcahin docs example
1 parent 0943f85 commit a5ff4e3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

generation/langchain/handbook/05-langchain-retrieval-augmentation.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
"source": [
3737
"!pip install -qU \\\n",
3838
" datasets==2.12.0 \\\n",
39-
" apache_beam \\\n",
4039
" mwparserfromhell"
4140
]
4241
},
@@ -76,7 +75,7 @@
7675
"source": [
7776
"from datasets import load_dataset\n",
7877
"\n",
79-
"data = load_dataset(\"wikipedia\", \"20220301.simple\", split='train[:10000]')\n",
78+
"data = load_dataset(\"wikipedia\", \"20220301.simple\", split='train')[:10000]\n",
8079
"data"
8180
]
8281
},

0 commit comments

Comments
 (0)