Spaces:
Runtime error
Runtime error
Commit
·
cb31cda
1
Parent(s):
afe376b
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,8 @@ from scipy.io import arff
|
|
5 |
|
6 |
rtf_model = REaLTabFormer(
|
7 |
model_type="tabular",
|
8 |
-
|
|
|
9 |
|
10 |
|
11 |
def generate_data(file, num_samples):
|
@@ -103,11 +104,11 @@ with gr.Blocks(css = css) as demo:
|
|
103 |
gr.Markdown("""
|
104 |
## REaLTabFormer: Generating Realistic Relational and Tabular Data using Transformers
|
105 |
""")
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
|
112 |
with gr.Column():
|
113 |
#gr.Markdown(""" ### Record audio """)
|
|
|
5 |
|
6 |
rtf_model = REaLTabFormer(
|
7 |
model_type="tabular",
|
8 |
+
epochs=50,
|
9 |
+
gradient_accumulation_steps=4)
|
10 |
|
11 |
|
12 |
def generate_data(file, num_samples):
|
|
|
104 |
gr.Markdown("""
|
105 |
## REaLTabFormer: Generating Realistic Relational and Tabular Data using Transformers
|
106 |
""")
|
107 |
+
gr.HTML('''
|
108 |
+
<p style="margin-bottom: 10px; font-size: 94%">
|
109 |
+
This is an unofficial demo for REaLTabFormer that can be used to generate synthetic data from single tabular data using GPT. The demo is based on the <a href='https://github.com/avsolatorio/REaLTabFormer' style='text-decoration: underline;' target='_blank'> Github </a> implementation provided by the authors.
|
110 |
+
</p>
|
111 |
+
''')
|
112 |
|
113 |
with gr.Column():
|
114 |
#gr.Markdown(""" ### Record audio """)
|