Skip to content

Commit a8a2801

Browse files
committed
remove duplicated text
1 parent 1dd9c0a commit a8a2801

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

ch06/01_main-chapter-code/ch06.ipynb

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@
3939
"name": "stdout",
4040
"output_type": "stream",
4141
"text": [
42-
"matplotlib version: 3.8.2\n",
43-
"numpy version: 1.26.0\n",
42+
"matplotlib version: 3.7.2\n",
43+
"numpy version: 1.25.2\n",
4444
"tiktoken version: 0.5.1\n",
4545
"torch version: 2.2.2\n",
4646
"tensorflow version: 2.15.0\n",
47-
"pandas version: 2.2.1\n"
47+
"pandas version: 2.0.3\n"
4848
]
4949
}
5050
],
@@ -964,7 +964,9 @@
964964
"name": "stdout",
965965
"output_type": "stream",
966966
"text": [
967-
"Is the following text 'spam'? Answer with 'yes' or 'no': 'You are a winner you have been specially selected to receive $1000 cash or a $2000 award.' Answer with 'yes' or 'no'. Answer with 'yes' or 'no'. Answer with 'yes' or 'no'. Answer with 'yes'\n"
967+
"Is the following text 'spam'? Answer with 'yes' or 'no': 'You are a winner you have been specially selected to receive $1000 cash or a $2000 award.'\n",
968+
"\n",
969+
"The following text 'spam'? Answer with 'yes' or 'no': 'You are a winner\n"
968970
]
969971
}
970972
],
@@ -973,7 +975,6 @@
973975
" \"Is the following text 'spam'? Answer with 'yes' or 'no':\"\n",
974976
" \" 'You are a winner you have been specially\"\n",
975977
" \" selected to receive $1000 cash or a $2000 award.'\"\n",
976-
" \" Answer with 'yes' or 'no'.\"\n",
977978
")\n",
978979
"\n",
979980
"token_ids = generate_text_simple(\n",
@@ -2355,7 +2356,7 @@
23552356
"name": "python",
23562357
"nbconvert_exporter": "python",
23572358
"pygments_lexer": "ipython3",
2358-
"version": "3.10.6"
2359+
"version": "3.11.4"
23592360
}
23602361
},
23612362
"nbformat": 4,

0 commit comments

Comments
 (0)