Orensomekh commited on
Commit
379ea31
·
verified ·
1 Parent(s): cd7c7a0

Update Operational_Instructions/create-submission-result.ipynb

Browse files
Operational_Instructions/create-submission-result.ipynb CHANGED
@@ -9,7 +9,7 @@
9
  "source": [
10
  "import pandas as pd\n",
11
 
12
- "\n# Code that generates the output\n",
13
  "answers = pd.DataFrame({\n",
14
  " \"id\": [1, 2],\n",
15
  " \"question\": [\"What is the capital of France?\", \"What is the capital of Germany?\"],\n",
@@ -30,7 +30,7 @@
30
  " \"Using the following - Berlin is the capital of Germany - answer the question: What is the capital of Germany?\"\n",
31
  " ],\n",
32
  " \"answer\": [\"Paris\", \"Berlin\"]\n",
33
- "})\n",
34
  "# Convert to JSON format\n",
35
  "answers_json = answers.to_json(orient='records', lines=True, force_ascii=False)\n",
36
  "\n",
 
9
  "source": [
10
  "import pandas as pd\n",
11
 
12
+ "\n# Code that generates the output\n\n",
13
  "answers = pd.DataFrame({\n",
14
  " \"id\": [1, 2],\n",
15
  " \"question\": [\"What is the capital of France?\", \"What is the capital of Germany?\"],\n",
 
30
  " \"Using the following - Berlin is the capital of Germany - answer the question: What is the capital of Germany?\"\n",
31
  " ],\n",
32
  " \"answer\": [\"Paris\", \"Berlin\"]\n",
33
+ "})\n\n",
34
  "# Convert to JSON format\n",
35
  "answers_json = answers.to_json(orient='records', lines=True, force_ascii=False)\n",
36
  "\n",