RamAnanth1 commited on
Commit
cb31cda
1 Parent(s): afe376b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -5,7 +5,8 @@ from scipy.io import arff
5
 
6
  rtf_model = REaLTabFormer(
7
  model_type="tabular",
8
- gradient_accumulation_steps=1)
 
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
- # gr.HTML('''
107
- # <p style="margin-bottom: 10px; font-size: 94%">
108
- # Whisper is a general-purpose speech recognition model released by OpenAI that can perform multilingual speech recognition as well as speech translation and language identification. Combined with an emotion detection model,this allows for detecting emotion directly from speech in multiple languages and can potentially be used to analyze sentiment from customer calls. It could also be used to transcribe and detect different emotions to enable a data-driven analysis for psychotherapy.
109
- # </p>
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 """)