|
|
|
@ -60,7 +60,7 @@
|
|
|
|
|
"source": [
|
|
|
|
|
"examples = [\n",
|
|
|
|
|
" {\"input\": \"hi\", \"output\": \"ciao\"},\n",
|
|
|
|
|
" {\"input\": \"bye\", \"output\": \"arrivaderci\"},\n",
|
|
|
|
|
" {\"input\": \"bye\", \"output\": \"arrivederci\"},\n",
|
|
|
|
|
" {\"input\": \"soccer\", \"output\": \"calcio\"},\n",
|
|
|
|
|
"]"
|
|
|
|
|
]
|
|
|
|
@ -133,7 +133,7 @@
|
|
|
|
|
{
|
|
|
|
|
"data": {
|
|
|
|
|
"text/plain": [
|
|
|
|
|
"[{'input': 'bye', 'output': 'arrivaderci'}]"
|
|
|
|
|
"[{'input': 'bye', 'output': 'arrivederci'}]"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"execution_count": 39,
|
|
|
|
@ -209,7 +209,7 @@
|
|
|
|
|
"name": "stdout",
|
|
|
|
|
"output_type": "stream",
|
|
|
|
|
"text": [
|
|
|
|
|
"Translate the following words from English to Italain:\n",
|
|
|
|
|
"Translate the following words from English to Italian:\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"Input: hand -> Output: mano\n",
|
|
|
|
|
"\n",
|
|
|
|
@ -222,7 +222,7 @@
|
|
|
|
|
" example_selector=example_selector,\n",
|
|
|
|
|
" example_prompt=example_prompt,\n",
|
|
|
|
|
" suffix=\"Input: {input} -> Output:\",\n",
|
|
|
|
|
" prefix=\"Translate the following words from English to Italain:\",\n",
|
|
|
|
|
" prefix=\"Translate the following words from English to Italian:\",\n",
|
|
|
|
|
" input_variables=[\"input\"],\n",
|
|
|
|
|
")\n",
|
|
|
|
|
"\n",
|
|
|
|
|