Spaces:
Runtime error
Runtime error
Upload 15 files
Browse files- .gitattributes +2 -0
- code/static/assets/index-4fd3c0a4.css +0 -0
- code/static/assets/index-f3b64e16.js +0 -0
- code/static/assets/materialdesignicons-webfont-6d5e4be4.woff +0 -0
- code/static/assets/materialdesignicons-webfont-739dc70d.woff2 +0 -0
- code/static/assets/materialdesignicons-webfont-c02d41ce.ttf +3 -0
- code/static/assets/materialdesignicons-webfont-f5966bae.eot +3 -0
- code/static/data/TFC_predict.json +0 -0
- code/static/data/TFC_predict.pkl +3 -0
- code/static/data/TFC_test_set_ECA_format.json +0 -0
- code/static/data/TFC_test_set_ECA_format.pkl +3 -0
- code/static/data/TFC_val_set_ECA_format.json +0 -0
- code/static/data/TFC_val_set_ECA_format.pkl +3 -0
- code/static/data/to_json.py +15 -0
- code/static/index.html +15 -0
- code/static/vite.svg +1 -0
.gitattributes
CHANGED
@@ -34,3 +34,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
code/static/materialdesignicons-webfont-c02d41ce.ttf filter=lfs diff=lfs merge=lfs -text
|
36 |
code/static/materialdesignicons-webfont-f5966bae.eot filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
code/static/materialdesignicons-webfont-c02d41ce.ttf filter=lfs diff=lfs merge=lfs -text
|
36 |
code/static/materialdesignicons-webfont-f5966bae.eot filter=lfs diff=lfs merge=lfs -text
|
37 |
+
code/static/assets/materialdesignicons-webfont-c02d41ce.ttf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
code/static/assets/materialdesignicons-webfont-f5966bae.eot filter=lfs diff=lfs merge=lfs -text
|
code/static/assets/index-4fd3c0a4.css
ADDED
The diff for this file is too large to render.
See raw diff
|
|
code/static/assets/index-f3b64e16.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
code/static/assets/materialdesignicons-webfont-6d5e4be4.woff
ADDED
Binary file (569 kB). View file
|
|
code/static/assets/materialdesignicons-webfont-739dc70d.woff2
ADDED
Binary file (392 kB). View file
|
|
code/static/assets/materialdesignicons-webfont-c02d41ce.ttf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c02d41cec7e8ff616761b6e52bb27f507e3f7c075579a9f82d351c314f05da2b
|
3 |
+
size 1261792
|
code/static/assets/materialdesignicons-webfont-f5966bae.eot
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f5966bae58ff543f0b8af1900d55090dcf08839215b94df08073b106c33075c1
|
3 |
+
size 1262012
|
code/static/data/TFC_predict.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
code/static/data/TFC_predict.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:603da44bf1a9c3a23045ce362a2de42a84555ee92bda91db9f1a0bf992b47611
|
3 |
+
size 804511
|
code/static/data/TFC_test_set_ECA_format.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
code/static/data/TFC_test_set_ECA_format.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fe6982e20e33e03458dcf6369f129a3a823d4cda3ee03153d7a317ed8d0468e0
|
3 |
+
size 749316
|
code/static/data/TFC_val_set_ECA_format.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
code/static/data/TFC_val_set_ECA_format.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fb05adea6dffc329ef52dc104e7848a5f44f27255c1a258711f811f21fdb7aa6
|
3 |
+
size 703515
|
code/static/data/to_json.py
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import pickle, json, sys
|
2 |
+
|
3 |
+
# Usage: python to_json.py input.pkl output.json
|
4 |
+
|
5 |
+
with open(sys.argv[1], "rb") as f:
|
6 |
+
data = pickle.load(f)
|
7 |
+
|
8 |
+
ks = ["test_span_table", "predict_span_table", "predict_sentence_table"]
|
9 |
+
for d in data:
|
10 |
+
for k in ks:
|
11 |
+
if k in d:
|
12 |
+
d[k] = d[k].tolist()
|
13 |
+
|
14 |
+
with open(sys.argv[2], "w") as f:
|
15 |
+
json.dump(data, f, ensure_ascii=False)
|
code/static/index.html
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8" />
|
5 |
+
<!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->
|
6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
7 |
+
<title>Error Analysis</title>
|
8 |
+
<script type="module" crossorigin src="/assets/index-f3b64e16.js"></script>
|
9 |
+
<link rel="stylesheet" href="/assets/index-4fd3c0a4.css">
|
10 |
+
</head>
|
11 |
+
<body>
|
12 |
+
<div id="app"></div>
|
13 |
+
|
14 |
+
</body>
|
15 |
+
</html>
|
code/static/vite.svg
ADDED