Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
json
Sub-tasks:
topic-classification
Languages:
Ukrainian
Size:
1K - 10K
License:
Yehor Smoliakov
commited on
Commit
•
8b69a2a
1
Parent(s):
ff7fdc5
Fixes
Browse files- .gitignore +2 -0
- README.md +39 -39
- data/labels.json +1 -1
- data/raw_test.jsonl +0 -0
- data/raw_train.jsonl +0 -0
- data/test.jsonl +0 -0
- data/train.jsonl +0 -0
- print_labels.py +9 -0
.gitignore
CHANGED
@@ -1,2 +1,4 @@
|
|
1 |
.venv/
|
2 |
.ruff_cache/
|
|
|
|
|
|
1 |
.venv/
|
2 |
.ruff_cache/
|
3 |
+
|
4 |
+
.DS_Store
|
README.md
CHANGED
@@ -20,45 +20,45 @@ dataset_info:
|
|
20 |
dtype:
|
21 |
class_label:
|
22 |
names:
|
23 |
-
'0':
|
24 |
-
'1':
|
25 |
-
'2':
|
26 |
-
'3':
|
27 |
-
'4':
|
28 |
-
'5':
|
29 |
-
'6':
|
30 |
-
'7':
|
31 |
-
'8':
|
32 |
-
'9':
|
33 |
-
'10':
|
34 |
-
'11':
|
35 |
-
'12':
|
36 |
-
'13':
|
37 |
-
'14':
|
38 |
-
'15':
|
39 |
-
'16':
|
40 |
-
'17':
|
41 |
-
'18':
|
42 |
-
'19':
|
43 |
-
'20':
|
44 |
-
'21':
|
45 |
-
'22':
|
46 |
-
'23':
|
47 |
-
'24':
|
48 |
-
'25':
|
49 |
-
'26':
|
50 |
-
'27':
|
51 |
-
'28':
|
52 |
-
'29':
|
53 |
-
'30':
|
54 |
-
'31':
|
55 |
-
'32':
|
56 |
-
'33':
|
57 |
-
'34':
|
58 |
-
'35':
|
59 |
-
'36':
|
60 |
-
'37':
|
61 |
-
'38':
|
62 |
splits:
|
63 |
- name: train
|
64 |
num_bytes: 749020
|
|
|
20 |
dtype:
|
21 |
class_label:
|
22 |
names:
|
23 |
+
'0': inshe
|
24 |
+
'1': ekologiya
|
25 |
+
'2': ziemielnie_pravo
|
26 |
+
'3': reklama
|
27 |
+
'4': bankivska_diialnist
|
28 |
+
'5': prava_spozhivachiv
|
29 |
+
'6': medicina
|
30 |
+
'7': spadkove_pravo
|
31 |
+
'8': immighratsiia_iemighratsiia
|
32 |
+
'9': intieliektualna_vlasnist
|
33 |
+
'10': gospodarskie_pravo
|
34 |
+
'11': pidpriemnicka_dialnist
|
35 |
+
'12': opodatkuvannia
|
36 |
+
'13': piensiiata_sotsialni_viplati
|
37 |
+
'14': viiskovie_pravo
|
38 |
+
'15': sudova_praktika
|
39 |
+
'16': kriminalnie_pravo
|
40 |
+
'17': gromadianski_pravovidnosini
|
41 |
+
'18': strakhuvannya
|
42 |
+
'19': pratsevlashtuvvannya
|
43 |
+
'20': sotsialnyj_zakhist
|
44 |
+
'21': vighotovliennia_produktsiyi_ta_nadannia_poslugh
|
45 |
+
'22': litsienzuvannia
|
46 |
+
'23': reyestraciya_likvidaciya_bankrutstvo
|
47 |
+
'24': doghovirni_vidnosini
|
48 |
+
'25': administrativnie_pravo
|
49 |
+
'26': nierukhomist
|
50 |
+
'27': prava_vnutrishno_pieriemishchienikh_osib
|
51 |
+
'28': investitsii
|
52 |
+
'29': notarialni_pytanniia
|
53 |
+
'30': avtovlasnykam
|
54 |
+
'31': zhitlovi_pravovidnosini
|
55 |
+
'32': dovircha_vlastnist
|
56 |
+
'33': dierzhavni_zakupivli
|
57 |
+
'34': simejne_pravo
|
58 |
+
'35': mytne_pravo
|
59 |
+
'36': mizhnarodni_pravovidnosini
|
60 |
+
'37': korporativnie_pravo
|
61 |
+
'38': tsivilne_pravo
|
62 |
splits:
|
63 |
- name: train
|
64 |
num_bytes: 749020
|
data/labels.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"
|
|
|
1 |
+
{"__label__inshe": 0, "__label__ekologiya": 1, "__label__ziemielnie_pravo": 2, "__label__reklama": 3, "__label__bankivska_diialnist": 4, "__label__prava_spozhivachiv": 5, "__label__medicina": 6, "__label__spadkove_pravo": 7, "__label__immighratsiia_iemighratsiia": 8, "__label__intieliektualna_vlasnist": 9, "__label__gospodarskie_pravo": 10, "__label__pidpriemnicka_dialnist": 11, "__label__opodatkuvannia": 12, "__label__piensiiata_sotsialni_viplati": 13, "__label__viiskovie_pravo": 14, "__label__sudova_praktika": 15, "__label__kriminalnie_pravo": 16, "__label__gromadianski_pravovidnosini": 17, "__label__strakhuvannya": 18, "__label__pratsevlashtuvvannya": 19, "__label__sotsialnyj_zakhist": 20, "__label__vighotovliennia_produktsiyi_ta_nadannia_poslugh": 21, "__label__litsienzuvannia": 22, "__label__reyestraciya_likvidaciya_bankrutstvo": 23, "__label__doghovirni_vidnosini": 24, "__label__administrativnie_pravo": 25, "__label__nierukhomist": 26, "__label__prava_vnutrishno_pieriemishchienikh_osib": 27, "__label__investitsii": 28, "__label__notarialni_pytanniia": 29, "__label__avtovlasnykam": 30, "__label__zhitlovi_pravovidnosini": 31, "__label__dovircha_vlastnist": 32, "__label__dierzhavni_zakupivli": 33, "__label__simejne_pravo": 34, "__label__mytne_pravo": 35, "__label__mizhnarodni_pravovidnosini": 36, "__label__korporativnie_pravo": 37, "__label__tsivilne_pravo": 38}
|
data/raw_test.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
data/raw_train.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
data/test.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
data/train.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
print_labels.py
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import json
|
2 |
+
|
3 |
+
with open("data/labels.json", "r") as f:
|
4 |
+
labels = json.load(f)
|
5 |
+
|
6 |
+
for k, v in labels.items():
|
7 |
+
k = k.replace("__label__", "")
|
8 |
+
|
9 |
+
print(f"'{v}': {k}")
|