-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathshow_config.html
117 lines (107 loc) · 5.18 KB
/
show_config.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<html>
<head>
<title>An Integrated Data Processing Framework for Pretraining Foundation Models</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
</head>
<body>
<div class="container" >
<div class="page-header">
<div class="row">
<div class="col-md-1">
<a href="/retriever"><img src="{{ url_for('static', filename='imgs/rocket.png') }}" style="height: 60px; margin: 0px;"></a>
</div>
<div class="col-md-10">
<h1>An Integrated Data Processing Framework for Pretraining Foundation Models</h1>
</div>
</div>
</div>
<div class="wrapper">
<div class="sidebar">
<ul>
<li>Config type</li>
<li class="with-indent">Select a config</li>
<li class="with-indent">Customize a config</li>
<li class="active">Analyzing results</li>
<li>Processing</li>
<li>Retriever</li>
<!-- <li class="with-indent">Retriever results</li> -->
</ul>
</div>
<div class="container">
{% if ret_args %}
{% if ret_args['warning'] %}
<div class="row">
<div class="col-md-12">
<h2 style="text-align: left; padding-left: 0px; margin-bottom: 40px;"> {{ ret_args['warning']}}</h2>
</div>
</div>
{% else %}
<div class="row custom-row">
<!-- submit task -->
<div class="col-md-6" style="margin-bottom: 10px;">
<form action="/processing" method="post">
<button type="submit" class="my-button" id="submit_task" name="submit_task" value="submit_task">submit the task</button>
</form>
</div>
<!-- retriever task -->
<div class="col-md-6" style="margin-bottom: 10px;">
<form method="POST" action="/retriever">
<button type="submit" class="my-button" id="retrieve_task" name="retrieve_task" value="retrieve_task">retrieve</button>
</form>
</div>
</div>
{% endif %}
<br>
{% if ret_args['if_debug'] %}
<details>
<summary class="details-summary">details of debug file</summary>
<div class="content">
<pre>{{ret_args['debug_file']}}</pre>
</div>
</details>
<br>
<br>
<details>
<summary class="details-summary">dirstribution of data</summary>
{% if ret_args['figs_list']|length > 0 %}
<div class="image-container">
{% for fig_path in ret_args['figs_list'] %}
<div class="image-item">
<img src="{{ fig_path }}">
</div>
{% endfor %}
</div>
{% endif %}
</details>
<br>
<br>
{% endif %}
{% endif %}
<details>
<summary class="details-summary">details of config file</summary>
<div class="content">
{% if config|safe %}
<pre>{{config|safe}}</pre>
{% endif %}
</div>
</details>
<br>
<br>
<div class="row">
<!-- return to index page -->
<div class="col-md-6" style="margin-bottom: 10px;">
<form method="POST" action="/">
<button type="submit" class="my-button" id="myButton">return to the home page</button>
</form>
</div>
</div>
</div>
</div>
</div>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>