Gleb Vinarskis
commited on
Commit
·
d58562c
1
Parent(s):
dc2b383
upadted config
Browse files- config.json +14 -7
config.json
CHANGED
@@ -8,13 +8,20 @@
|
|
8 |
"bucket": 2000000,
|
9 |
"num_labels": 40,
|
10 |
"id2label": {
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
},
|
15 |
"label2id": {
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
}
|
20 |
-
}
|
|
|
8 |
"bucket": 2000000,
|
9 |
"num_labels": 40,
|
10 |
"id2label": {
|
11 |
+
"0": "English",
|
12 |
+
"1": "German",
|
13 |
+
"2": "French"
|
14 |
},
|
15 |
"label2id": {
|
16 |
+
"English": 0,
|
17 |
+
"German": 1,
|
18 |
+
"French": 2
|
19 |
+
},
|
20 |
+
"custom_pipelines": {
|
21 |
+
"language-detection": {
|
22 |
+
"impl": "impresso_langident_wrapper.Pipeline_One",
|
23 |
+
"pt": ["AutoModel"],
|
24 |
+
"tf": []
|
25 |
+
}
|
26 |
}
|
27 |
+
}
|