Spaces:
Running
Running
Juho Inkinen
commited on
Commit
•
34a07ad
1
Parent(s):
f06eadf
Remove other than nn ensemble projects; add KAUNO and YKL projects
Browse files- Dockerfile +1 -1
- projects.d/0-yso-projects.toml +83 -0
- projects.d/1-ykl-projects.toml +62 -0
- projects.d/2-kauno-projects.toml +27 -0
- projects.toml +0 -83
Dockerfile
CHANGED
@@ -7,7 +7,7 @@ RUN useradd -m -u 1000 user
|
|
7 |
# Switch to the "user" user
|
8 |
USER user
|
9 |
|
10 |
-
COPY --chown=user:user projects.
|
11 |
COPY --chown=user:user data/vocabs data/vocabs
|
12 |
|
13 |
CMD ["gunicorn", "annif:create_app()", "--bind", "0.0.0.0:7860"]
|
|
|
7 |
# Switch to the "user" user
|
8 |
USER user
|
9 |
|
10 |
+
COPY --chown=user:user projects.d .
|
11 |
COPY --chown=user:user data/vocabs data/vocabs
|
12 |
|
13 |
CMD ["gunicorn", "annif:create_app()", "--bind", "0.0.0.0:7860"]
|
projects.d/0-yso-projects.toml
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[yso-fi]
|
2 |
+
name = "YSO NN ensemble Finnish"
|
3 |
+
language = "fi"
|
4 |
+
backend = "http"
|
5 |
+
vocab = "yso"
|
6 |
+
endpoint = "https://ai.finto.fi/v1/projects/yso-fi/suggest"
|
7 |
+
|
8 |
+
[yso-sv]
|
9 |
+
name = "YSO NN ensemble Swedish"
|
10 |
+
language = "sv"
|
11 |
+
backend = "http"
|
12 |
+
vocab = "yso"
|
13 |
+
endpoint = "https://ai.finto.fi/v1/projects/yso-sv/suggest"
|
14 |
+
|
15 |
+
[yso-en]
|
16 |
+
name = "YSO NN ensemble English"
|
17 |
+
language = "en"
|
18 |
+
backend = "http"
|
19 |
+
vocab = "yso"
|
20 |
+
endpoint = "https://ai.finto.fi/v1/projects/yso-en/suggest"
|
21 |
+
|
22 |
+
# [yso-mllm-fi]
|
23 |
+
# name = "YSO MLLM Finnish"
|
24 |
+
# language = "fi"
|
25 |
+
# backend = "http"
|
26 |
+
# vocab = "yso"
|
27 |
+
# endpoint = "https://ai.finto.fi/v1/projects/yso-mllm-fi/suggest"
|
28 |
+
|
29 |
+
# [yso-mllm-en]
|
30 |
+
# name = "YSO MLLM English"
|
31 |
+
# language = "en"
|
32 |
+
# backend = "http"
|
33 |
+
# vocab = "yso"
|
34 |
+
# endpoint = "https://ai.finto.fi/v1/projects/yso-mllm-en/suggest"
|
35 |
+
|
36 |
+
# [yso-mllm-sv]
|
37 |
+
# name = "YSO MLLM Swedish"
|
38 |
+
# language = "sv"
|
39 |
+
# backend = "http"
|
40 |
+
# vocab = "yso"
|
41 |
+
# endpoint = "https://ai.finto.fi/v1/projects/yso-mllm-sv/suggest"
|
42 |
+
|
43 |
+
# [yso-bonsai-fi]
|
44 |
+
# name = "YSO Omikuji Bonsai Finnish"
|
45 |
+
# language = "fi"
|
46 |
+
# backend = "http"
|
47 |
+
# vocab = "yso"
|
48 |
+
# endpoint = "https://ai.finto.fi/v1/projects/yso-bonsai-fi/suggest"
|
49 |
+
|
50 |
+
# [yso-bonsai-sv]
|
51 |
+
# name = "YSO Omikuji Bonsai Swedish"
|
52 |
+
# language = "sv"
|
53 |
+
# backend = "http"
|
54 |
+
# vocab = "yso"
|
55 |
+
# endpoint = "https://ai.finto.fi/v1/projects/yso-bonsai-sv/suggest"
|
56 |
+
|
57 |
+
# [yso-bonsai-en]
|
58 |
+
# name = "YSO Omikuji Bonsai English"
|
59 |
+
# language = "en"
|
60 |
+
# backend = "http"
|
61 |
+
# vocab = "yso"
|
62 |
+
# endpoint = "https://ai.finto.fi/v1/projects/yso-bonsai-en/suggest"
|
63 |
+
|
64 |
+
# [yso-fasttext-fi]
|
65 |
+
# name = "YSO fastText Finnish"
|
66 |
+
# language = "fi"
|
67 |
+
# backend = "http"
|
68 |
+
# vocab = "yso"
|
69 |
+
# endpoint = "https://ai.finto.fi/v1/projects/yso-fasttext-fi/suggest"
|
70 |
+
|
71 |
+
# [yso-fasttext-sv]
|
72 |
+
# name = "YSO fastText Swedish"
|
73 |
+
# language = "sv"
|
74 |
+
# backend = "http"
|
75 |
+
# vocab = "yso"
|
76 |
+
# endpoint = "https://ai.finto.fi/v1/projects/yso-fasttext-sv/suggest"
|
77 |
+
|
78 |
+
# [yso-fasttext-en]
|
79 |
+
# name = "YSO fastText English"
|
80 |
+
# language = "en"
|
81 |
+
# backend = "http"
|
82 |
+
# vocab = "yso"
|
83 |
+
# endpoint = "https://ai.finto.fi/v1/projects/yso-fasttext-en/suggest"
|
projects.d/1-ykl-projects.toml
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# [ykl-omikuji-parabel-fi]
|
2 |
+
# name="YKL Omikuji Parabel Finnish"
|
3 |
+
# language="fi"
|
4 |
+
# backend = "http"
|
5 |
+
# vocab = "ykl"
|
6 |
+
# endpoint = "https://ai.finto.fi/v1/projects/ykl-omikuji-parabel-fi/suggest"
|
7 |
+
|
8 |
+
# [ykl-omikuji-bonsai-fi]
|
9 |
+
# name="YKL Omikuji Bonsai Finnish"
|
10 |
+
# language="fi"
|
11 |
+
# backend = "http"
|
12 |
+
# vocab = "ykl"
|
13 |
+
# endpoint = "https://ai.finto.fi/v1/projects/ykl-omikuji-bonsai-fi/suggest"
|
14 |
+
|
15 |
+
# [ykl-omikuji-parabel-sv]
|
16 |
+
# name="YKL Omikuji Parabel Swedish"
|
17 |
+
# language="sv"
|
18 |
+
# backend = "http"
|
19 |
+
# vocab = "ykl"
|
20 |
+
# endpoint = "https://ai.finto.fi/v1/projects/ykl-omikuji-parabel-sv/suggest"
|
21 |
+
|
22 |
+
# [ykl-omikuji-bonsai-sv]
|
23 |
+
# name="YKL Omikuji Bonsai Swedish"
|
24 |
+
# language="sv"
|
25 |
+
# backend = "http"
|
26 |
+
# vocab = "ykl"
|
27 |
+
# endpoint = "https://ai.finto.fi/v1/projects/ykl-omikuji-bonsai-sv/suggest"
|
28 |
+
|
29 |
+
# [ykl-omikuji-parabel-en]
|
30 |
+
# name="YKL Omikuji Parabel English"
|
31 |
+
# language="en"
|
32 |
+
# backend = "http"
|
33 |
+
# vocab = "ykl"
|
34 |
+
# endpoint = "https://ai.finto.fi/v1/projects/ykl-omikuji-parabel-en/suggest"
|
35 |
+
|
36 |
+
# [ykl-omikuji-bonsai-en]
|
37 |
+
# name="YKL Omikuji Bonsai English"
|
38 |
+
# language="en"
|
39 |
+
# backend = "http"
|
40 |
+
# vocab = "ykl"
|
41 |
+
# endpoint = "https://ai.finto.fi/v1/projects/ykl-omikuji-bonsai-en/suggest"
|
42 |
+
|
43 |
+
[ykl-fi]
|
44 |
+
name="YKL suomi"
|
45 |
+
language="fi"
|
46 |
+
backend = "http"
|
47 |
+
vocab = "ykl"
|
48 |
+
endpoint = "https://ai.finto.fi/v1/projects/ykl-fi/suggest"
|
49 |
+
|
50 |
+
[ykl-sv]
|
51 |
+
name="KAB svenska"
|
52 |
+
language="sv"
|
53 |
+
backend = "http"
|
54 |
+
vocab = "ykl"
|
55 |
+
endpoint = "https://ai.finto.fi/v1/projects/ykl-fi/suggest"
|
56 |
+
|
57 |
+
[ykl-en]
|
58 |
+
name="PLC English"
|
59 |
+
language="en"
|
60 |
+
backend = "http"
|
61 |
+
vocab = "ykl"
|
62 |
+
endpoint = "https://ai.finto.fi/v1/projects/ykl-fi/suggest"
|
projects.d/2-kauno-projects.toml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# [kauno-mllm-fi]
|
2 |
+
# name="KAUNO MLLM Finnish"
|
3 |
+
# language="fi"
|
4 |
+
# backend = "http"
|
5 |
+
# vocab = "kauno"
|
6 |
+
# endpoint = "https://ai.finto.fi/v1/projects/kauno-mllm-fi/suggest"
|
7 |
+
|
8 |
+
# [kauno-ks-bonsai-fi]
|
9 |
+
# name="KAUNO KS Omikuji Bonsai Finnish"
|
10 |
+
# language="fi"
|
11 |
+
# backend = "http"
|
12 |
+
# vocab = "kauno"
|
13 |
+
# endpoint = "https://ai.finto.fi/v1/projects/kauno-ks-bonsai-fi/suggest"
|
14 |
+
|
15 |
+
# [kauno-finna-bonsai-fi]
|
16 |
+
# name="KAUNO Finna Omikuji Bonsai Finnish"
|
17 |
+
# language="fi"
|
18 |
+
# backend = "http"
|
19 |
+
# vocab = "kauno"
|
20 |
+
# endpoint = "https://ai.finto.fi/v1/projects/kauno-finna-bonsai-fi/suggest"
|
21 |
+
|
22 |
+
[kauno-fi]
|
23 |
+
name="KAUNO suomi"
|
24 |
+
language="fi"
|
25 |
+
backend = "http"
|
26 |
+
vocab = "kauno"
|
27 |
+
endpoint = "https://ai.finto.fi/v1/projects/kauno-fi/suggest"
|
projects.toml
DELETED
@@ -1,83 +0,0 @@
|
|
1 |
-
[yso-fi]
|
2 |
-
name = "YSO NN ensemble Finnish"
|
3 |
-
language = "fi"
|
4 |
-
backend = "http"
|
5 |
-
vocab = "yso"
|
6 |
-
endpoint = "https://api.annif.org/v1/projects/yso-fi/suggest"
|
7 |
-
|
8 |
-
[yso-sv]
|
9 |
-
name = "YSO NN ensemble Swedish"
|
10 |
-
language = "sv"
|
11 |
-
backend = "http"
|
12 |
-
vocab = "yso"
|
13 |
-
endpoint = "https://api.annif.org/v1/projects/yso-sv/suggest"
|
14 |
-
|
15 |
-
[yso-en]
|
16 |
-
name = "YSO NN ensemble English"
|
17 |
-
language = "en"
|
18 |
-
backend = "http"
|
19 |
-
vocab = "yso"
|
20 |
-
endpoint = "https://api.annif.org/v1/projects/yso-en/suggest"
|
21 |
-
|
22 |
-
[yso-mllm-fi]
|
23 |
-
name = "YSO MLLM Finnish"
|
24 |
-
language = "fi"
|
25 |
-
backend = "http"
|
26 |
-
vocab = "yso"
|
27 |
-
endpoint = "https://api.annif.org/v1/projects/yso-mllm-fi/suggest"
|
28 |
-
|
29 |
-
[yso-mllm-en]
|
30 |
-
name = "YSO MLLM English"
|
31 |
-
language = "en"
|
32 |
-
backend = "http"
|
33 |
-
vocab = "yso"
|
34 |
-
endpoint = "https://api.annif.org/v1/projects/yso-mllm-en/suggest"
|
35 |
-
|
36 |
-
[yso-mllm-sv]
|
37 |
-
name = "YSO MLLM Swedish"
|
38 |
-
language = "sv"
|
39 |
-
backend = "http"
|
40 |
-
vocab = "yso"
|
41 |
-
endpoint = "https://api.annif.org/v1/projects/yso-mllm-sv/suggest"
|
42 |
-
|
43 |
-
[yso-bonsai-fi]
|
44 |
-
name = "YSO Omikuji Bonsai Finnish"
|
45 |
-
language = "fi"
|
46 |
-
backend = "http"
|
47 |
-
vocab = "yso"
|
48 |
-
endpoint = "https://api.annif.org/v1/projects/yso-bonsai-fi/suggest"
|
49 |
-
|
50 |
-
[yso-bonsai-sv]
|
51 |
-
name = "YSO Omikuji Bonsai Swedish"
|
52 |
-
language = "sv"
|
53 |
-
backend = "http"
|
54 |
-
vocab = "yso"
|
55 |
-
endpoint = "https://api.annif.org/v1/projects/yso-bonsai-sv/suggest"
|
56 |
-
|
57 |
-
[yso-bonsai-en]
|
58 |
-
name = "YSO Omikuji Bonsai English"
|
59 |
-
language = "en"
|
60 |
-
backend = "http"
|
61 |
-
vocab = "yso"
|
62 |
-
endpoint = "https://api.annif.org/v1/projects/yso-bonsai-en/suggest"
|
63 |
-
|
64 |
-
[yso-fasttext-fi]
|
65 |
-
name = "YSO fastText Finnish"
|
66 |
-
language = "fi"
|
67 |
-
backend = "http"
|
68 |
-
vocab = "yso"
|
69 |
-
endpoint = "https://api.annif.org/v1/projects/yso-fasttext-fi/suggest"
|
70 |
-
|
71 |
-
[yso-fasttext-sv]
|
72 |
-
name = "YSO fastText Swedish"
|
73 |
-
language = "sv"
|
74 |
-
backend = "http"
|
75 |
-
vocab = "yso"
|
76 |
-
endpoint = "https://api.annif.org/v1/projects/yso-fasttext-sv/suggest"
|
77 |
-
|
78 |
-
[yso-fasttext-en]
|
79 |
-
name = "YSO fastText English"
|
80 |
-
language = "en"
|
81 |
-
backend = "http"
|
82 |
-
vocab = "yso"
|
83 |
-
endpoint = "https://api.annif.org/v1/projects/yso-fasttext-en/suggest"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|