Spaces:
Runtime error
Runtime error
added resource files
Browse files
notebooks/generate-synthetic-label-feedback-ndis-demo.ipynb
CHANGED
@@ -1,12 +1,5 @@
|
|
1 |
{
|
2 |
"cells": [
|
3 |
-
{
|
4 |
-
"cell_type": "markdown",
|
5 |
-
"metadata": {},
|
6 |
-
"source": [
|
7 |
-
"# 🎡 Generate synthetic data with topics for Machine Learning model training\n"
|
8 |
-
]
|
9 |
-
},
|
10 |
{
|
11 |
"cell_type": "code",
|
12 |
"execution_count": null,
|
@@ -60,16 +53,6 @@
|
|
60 |
")"
|
61 |
]
|
62 |
},
|
63 |
-
{
|
64 |
-
"cell_type": "markdown",
|
65 |
-
"metadata": {},
|
66 |
-
"source": [
|
67 |
-
"### <font color='red'>Synthetic Data Specifications</font>\n",
|
68 |
-
"#### Type the BSP <font color='blue'>question</font> to generate synthetic data for.\n",
|
69 |
-
"#### Type the <font color='blue'>topics</font> to be covered by the generated data.\n",
|
70 |
-
"#### Select the <font color='blue'>number</font> of data records to generate."
|
71 |
-
]
|
72 |
-
},
|
73 |
{
|
74 |
"cell_type": "code",
|
75 |
"execution_count": null,
|
@@ -354,7 +337,16 @@
|
|
354 |
" display(HTML(f'<left><h3>Please click on the link below to download the CSV file:</h3></left><a href=\"./{filename}\" download>{filename}</a>'))\n",
|
355 |
" else:\n",
|
356 |
" display(Markdown(\"<h2 style='color:red; text-align:center;'>Please generate new data first!</h2>\"))\n",
|
357 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
358 |
"bhvr_nlp_btn.on_click(on_bhvr_button_next)\n",
|
359 |
"bhvr_agr_btn.on_click(on_agr_button_next)\n",
|
360 |
"bhvr_sve_btn.on_click(on_sve_button_next)\n",
|
|
|
1 |
{
|
2 |
"cells": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
{
|
4 |
"cell_type": "code",
|
5 |
"execution_count": null,
|
|
|
53 |
")"
|
54 |
]
|
55 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
{
|
57 |
"cell_type": "code",
|
58 |
"execution_count": null,
|
|
|
337 |
" display(HTML(f'<left><h3>Please click on the link below to download the CSV file:</h3></left><a href=\"./{filename}\" download>{filename}</a>'))\n",
|
338 |
" else:\n",
|
339 |
" display(Markdown(\"<h2 style='color:red; text-align:center;'>Please generate new data first!</h2>\"))\n",
|
340 |
+
"\n",
|
341 |
+
"html = \"\"\"\n",
|
342 |
+
"<h1 style=\"text-align:center\"><font color='black'>🎡 Generate synthetic data with topics for Machine Learning model training</font></h1>\n",
|
343 |
+
"<h3 style=\"text-align:left\"><font color='red'>Synthetic Data Specifications</font></h3>\n",
|
344 |
+
"<h4 style=\"text-align:left\">Type the BSP <span style=\"color: blue\">question</span> to generate synthetic data for.</h4>\n",
|
345 |
+
"<h4 style=\"text-align:left\">Type the <span style=\"color: blue\">topics</span> to be covered by the generated data.</h4>\n",
|
346 |
+
"<h4 style=\"text-align:left\">Select the <span style=\"color: blue\">number</span> of data records to generate.</h4>\n",
|
347 |
+
"\"\"\"\n",
|
348 |
+
"display(HTML(html))\n",
|
349 |
+
"\n",
|
350 |
"bhvr_nlp_btn.on_click(on_bhvr_button_next)\n",
|
351 |
"bhvr_agr_btn.on_click(on_agr_button_next)\n",
|
352 |
"bhvr_sve_btn.on_click(on_sve_button_next)\n",
|