Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -25,23 +25,32 @@ def zero_shot(doc, candidates):
|
|
25 |
|
26 |
examples_text = [
|
27 |
[
|
28 |
-
|
29 |
-
|
30 |
],
|
31 |
[
|
32 |
-
|
33 |
-
|
34 |
-
]
|
|
|
|
|
|
|
|
|
35 |
]
|
36 |
examples_ner = [
|
37 |
[
|
38 |
-
"
|
39 |
-
"
|
40 |
0.3
|
41 |
],
|
42 |
[
|
43 |
-
"
|
44 |
-
"
|
|
|
|
|
|
|
|
|
|
|
45 |
0.3
|
46 |
],
|
47 |
]
|
|
|
25 |
|
26 |
examples_text = [
|
27 |
[
|
28 |
+
"Pasar saham ngalaman panurunan nu signifikan akibat kateupastian global.",
|
29 |
+
"ékonomi, pulitik, bisnis, kauangan, téknologi"
|
30 |
],
|
31 |
[
|
32 |
+
"I am very happy today but suddenly sad because of the recent news.",
|
33 |
+
"positive, negative, neutral"
|
34 |
+
],
|
35 |
+
[
|
36 |
+
"I just received the best news ever! I got the job I always wanted!",
|
37 |
+
"joy, sadness, anger, surprise, fear, disgust"
|
38 |
+
],
|
39 |
]
|
40 |
examples_ner = [
|
41 |
[
|
42 |
+
"Pada tahun 1945, Indonesia memproklamasikan kemerdekaannya dari penjajahan Belanda. Proklamasi tersebut dibacakan oleh Soekarno dan Mohammad Hatta di Jakarta.",
|
43 |
+
"tahun, negara, tokoh, lokasi",
|
44 |
0.3
|
45 |
],
|
46 |
[
|
47 |
+
"Mount Everest is the highest mountain above sea level, located in the Himalayas. It stands at 8,848 meters (29,029 ft) and attracts many climbers.",
|
48 |
+
"location, measurement, person",
|
49 |
+
0.3
|
50 |
+
],
|
51 |
+
[
|
52 |
+
"Perusahaan teknologi raksasa, Google, mbukak kantor cabang anyar ing Jakarta ing wulan Januari 2020 kanggo nggedhekake operasine ing Asia Tenggara",
|
53 |
+
"perusahaan, lokasi, wulan, taun",
|
54 |
0.3
|
55 |
],
|
56 |
]
|