one more bug fix
Browse files
.ipynb_checkpoints/smartscraper_notebook-checkpoint.ipynb
CHANGED
|
@@ -433,7 +433,7 @@
|
|
| 433 |
"\n",
|
| 434 |
"def generate_prompt(data_point):\n",
|
| 435 |
" # sorry about the formatting disaster gotta move fast\n",
|
| 436 |
-
" if data_point[\"
|
| 437 |
" return f\"\"\"\n",
|
| 438 |
"### Instruction:\n",
|
| 439 |
"{data_point[\"instruction\"]}\n",
|
|
|
|
| 433 |
"\n",
|
| 434 |
"def generate_prompt(data_point):\n",
|
| 435 |
" # sorry about the formatting disaster gotta move fast\n",
|
| 436 |
+
" if data_point[\"input\"]:\n",
|
| 437 |
" return f\"\"\"\n",
|
| 438 |
"### Instruction:\n",
|
| 439 |
"{data_point[\"instruction\"]}\n",
|
smartscraper_notebook.ipynb
CHANGED
|
@@ -433,7 +433,7 @@
|
|
| 433 |
"\n",
|
| 434 |
"def generate_prompt(data_point):\n",
|
| 435 |
" # sorry about the formatting disaster gotta move fast\n",
|
| 436 |
-
" if data_point[\"
|
| 437 |
" return f\"\"\"\n",
|
| 438 |
"### Instruction:\n",
|
| 439 |
"{data_point[\"instruction\"]}\n",
|
|
|
|
| 433 |
"\n",
|
| 434 |
"def generate_prompt(data_point):\n",
|
| 435 |
" # sorry about the formatting disaster gotta move fast\n",
|
| 436 |
+
" if data_point[\"input\"]:\n",
|
| 437 |
" return f\"\"\"\n",
|
| 438 |
"### Instruction:\n",
|
| 439 |
"{data_point[\"instruction\"]}\n",
|