kexinhuang12345 commited on
Commit
215c2d8
1 Parent(s): 3caf072

remove #params

Browse files
Files changed (3) hide show
  1. app.py +4 -4
  2. src/display/utils.py +3 -3
  3. src/submission/submit.py +3 -3
app.py CHANGED
@@ -386,7 +386,7 @@ with demo:
386
  )
387
  paper_url_textbox = gr.Textbox(label="Paper URL Link")
388
  github_url_textbox = gr.Textbox(label="GitHub URL Link")
389
- parameters_textbox = gr.Textbox(label="Number of parameters")
390
  task_track = gr.Dropdown(
391
  choices=['Node Classification', 'Node Regression', 'Link Prediction'],
392
  label="Choose the task track",
@@ -404,8 +404,8 @@ with demo:
404
 
405
 
406
  with gr.Column():
407
- test_performance = gr.Textbox(lines = 17, label="Test set performance, use {task: [mean,std]} format e.g. {'rel-amazon/user-churn': [0.352,0.023], 'rel-amazon/user-ltv': [0.304,0.022], ...}")
408
- valid_performance = gr.Textbox(lines = 17, label="Validation set performance, use {task: [mean,std]} format e.g. {'rel-amazon/user-churn': [0.352,0.023], 'rel-amazon/user-ltv': [0.304,0.022], ...}")
409
 
410
 
411
  submit_button = gr.Button("Submit Eval")
@@ -422,7 +422,7 @@ with demo:
422
  valid_performance,
423
  paper_url_textbox,
424
  github_url_textbox,
425
- parameters_textbox,
426
  honor_code,
427
  task_track
428
  ],
 
386
  )
387
  paper_url_textbox = gr.Textbox(label="Paper URL Link")
388
  github_url_textbox = gr.Textbox(label="GitHub URL Link")
389
+ #parameters_textbox = gr.Textbox(label="Number of parameters")
390
  task_track = gr.Dropdown(
391
  choices=['Node Classification', 'Node Regression', 'Link Prediction'],
392
  label="Choose the task track",
 
404
 
405
 
406
  with gr.Column():
407
+ test_performance = gr.Textbox(lines = 16, label="Test set performance, use {task: [mean,std]} format e.g. {'rel-amazon/user-churn': [0.352,0.023], 'rel-amazon/user-ltv': [0.304,0.022], ...}")
408
+ valid_performance = gr.Textbox(lines = 16, label="Validation set performance, use {task: [mean,std]} format e.g. {'rel-amazon/user-churn': [0.352,0.023], 'rel-amazon/user-ltv': [0.304,0.022], ...}")
409
 
410
 
411
  submit_button = gr.Button("Submit Eval")
 
422
  valid_performance,
423
  paper_url_textbox,
424
  github_url_textbox,
425
+ #parameters_textbox,
426
  honor_code,
427
  task_track
428
  ],
src/display/utils.py CHANGED
@@ -54,7 +54,7 @@ auto_eval_column_dict_nc.append(["email", ColumnContent, ColumnContent("Email",
54
  auto_eval_column_dict_nc.append(["Paper_URL", ColumnContent, ColumnContent("Paper URL", "markdown", True, never_hidden=False)])
55
  auto_eval_column_dict_nc.append(["Github_URL", ColumnContent, ColumnContent("Github URL", "markdown", True, never_hidden=False)])
56
  auto_eval_column_dict_nc.append(["Time", ColumnContent, ColumnContent("Time", "markdown", True, never_hidden=False)])
57
- auto_eval_column_dict_nc.append(["num_of_Params", ColumnContent, ColumnContent("# of Params", "markdown", True, never_hidden=False)])
58
 
59
  AutoEvalColumn_NodeClassification = make_dataclass("AutoEvalColumn_NodeClassification", auto_eval_column_dict_nc, frozen=True)
60
 
@@ -69,7 +69,7 @@ auto_eval_column_dict_nr.append(["email", ColumnContent, ColumnContent("Email",
69
  auto_eval_column_dict_nr.append(["Paper_URL", ColumnContent, ColumnContent("Paper URL", "markdown", True, never_hidden=False)])
70
  auto_eval_column_dict_nr.append(["Github_URL", ColumnContent, ColumnContent("Github URL", "markdown", True, never_hidden=False)])
71
  auto_eval_column_dict_nr.append(["Time", ColumnContent, ColumnContent("Time", "markdown", True, never_hidden=False)])
72
- auto_eval_column_dict_nr.append(["num_of_Params", ColumnContent, ColumnContent("# of Params", "markdown", True, never_hidden=False)])
73
 
74
  AutoEvalColumn_NodeRegression = make_dataclass("AutoEvalColumn_NodeRegression", auto_eval_column_dict_nr, frozen=True)
75
 
@@ -84,7 +84,7 @@ auto_eval_column_dict_lp.append(["email", ColumnContent, ColumnContent("Email",
84
  auto_eval_column_dict_lp.append(["Paper_URL", ColumnContent, ColumnContent("Paper URL", "markdown", True, never_hidden=False)])
85
  auto_eval_column_dict_lp.append(["Github_URL", ColumnContent, ColumnContent("Github URL", "markdown", True, never_hidden=False)])
86
  auto_eval_column_dict_lp.append(["Time", ColumnContent, ColumnContent("Time", "markdown", True, never_hidden=False)])
87
- auto_eval_column_dict_lp.append(["num_of_Params", ColumnContent, ColumnContent("# of Params", "markdown", True, never_hidden=False)])
88
 
89
  AutoEvalColumn_LinkPrediction = make_dataclass("AutoEvalColumn_LinkPrediction", auto_eval_column_dict_lp, frozen=True)
90
 
 
54
  auto_eval_column_dict_nc.append(["Paper_URL", ColumnContent, ColumnContent("Paper URL", "markdown", True, never_hidden=False)])
55
  auto_eval_column_dict_nc.append(["Github_URL", ColumnContent, ColumnContent("Github URL", "markdown", True, never_hidden=False)])
56
  auto_eval_column_dict_nc.append(["Time", ColumnContent, ColumnContent("Time", "markdown", True, never_hidden=False)])
57
+ #auto_eval_column_dict_nc.append(["num_of_Params", ColumnContent, ColumnContent("# of Params", "markdown", True, never_hidden=False)])
58
 
59
  AutoEvalColumn_NodeClassification = make_dataclass("AutoEvalColumn_NodeClassification", auto_eval_column_dict_nc, frozen=True)
60
 
 
69
  auto_eval_column_dict_nr.append(["Paper_URL", ColumnContent, ColumnContent("Paper URL", "markdown", True, never_hidden=False)])
70
  auto_eval_column_dict_nr.append(["Github_URL", ColumnContent, ColumnContent("Github URL", "markdown", True, never_hidden=False)])
71
  auto_eval_column_dict_nr.append(["Time", ColumnContent, ColumnContent("Time", "markdown", True, never_hidden=False)])
72
+ #auto_eval_column_dict_nr.append(["num_of_Params", ColumnContent, ColumnContent("# of Params", "markdown", True, never_hidden=False)])
73
 
74
  AutoEvalColumn_NodeRegression = make_dataclass("AutoEvalColumn_NodeRegression", auto_eval_column_dict_nr, frozen=True)
75
 
 
84
  auto_eval_column_dict_lp.append(["Paper_URL", ColumnContent, ColumnContent("Paper URL", "markdown", True, never_hidden=False)])
85
  auto_eval_column_dict_lp.append(["Github_URL", ColumnContent, ColumnContent("Github URL", "markdown", True, never_hidden=False)])
86
  auto_eval_column_dict_lp.append(["Time", ColumnContent, ColumnContent("Time", "markdown", True, never_hidden=False)])
87
+ #auto_eval_column_dict_lp.append(["num_of_Params", ColumnContent, ColumnContent("# of Params", "markdown", True, never_hidden=False)])
88
 
89
  AutoEvalColumn_LinkPrediction = make_dataclass("AutoEvalColumn_LinkPrediction", auto_eval_column_dict_lp, frozen=True)
90
 
src/submission/submit.py CHANGED
@@ -35,7 +35,7 @@ def add_new_eval(
35
  valid_performance,
36
  paper_url,
37
  github_url,
38
- parameters,
39
  honor_code,
40
  task_track
41
  ):
@@ -56,7 +56,7 @@ def add_new_eval(
56
  #precision = precision.split(" ")[0]
57
  current_time = datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ")
58
 
59
- model_size = parameters
60
 
61
  # Seems good, creating the eval
62
  print("Adding new eval")
@@ -74,7 +74,7 @@ def add_new_eval(
74
  "honor_code": honor_code,
75
  "status": "PENDING",
76
  "submitted_time": current_time,
77
- "params": model_size,
78
  "task": task_track,
79
  "private": False,
80
  }
 
35
  valid_performance,
36
  paper_url,
37
  github_url,
38
+ #parameters,
39
  honor_code,
40
  task_track
41
  ):
 
56
  #precision = precision.split(" ")[0]
57
  current_time = datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ")
58
 
59
+ #model_size = parameters
60
 
61
  # Seems good, creating the eval
62
  print("Adding new eval")
 
74
  "honor_code": honor_code,
75
  "status": "PENDING",
76
  "submitted_time": current_time,
77
+ #"params": model_size,
78
  "task": task_track,
79
  "private": False,
80
  }