File size: 3,165 Bytes
450a449
 
 
 
9cba22f
450a449
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8b69a2a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
450a449
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0988f91
 
450a449
 
064f6e5
450a449
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
---
language:
- uk
license:
- cc-by-nc-sa-4.0
size_categories:
- 1K<n<100K
source_datasets:
- original
task_categories:
- text-classification
task_ids:
- topic-classification
pretty_name: UA-L Topics Corpus
dataset_info:
  features:
  - name: text
    dtype: string
  - name: label
    dtype:
      class_label:
        names:
            '0': inshe
            '1': ekologiya
            '2': ziemielnie_pravo
            '3': reklama
            '4': bankivska_diialnist
            '5': prava_spozhivachiv
            '6': medicina
            '7': spadkove_pravo
            '8': immighratsiia_iemighratsiia
            '9': intieliektualna_vlasnist
            '10': gospodarskie_pravo
            '11': pidpriemnicka_dialnist
            '12': opodatkuvannia
            '13': piensiiata_sotsialni_viplati
            '14': viiskovie_pravo
            '15': sudova_praktika
            '16': kriminalnie_pravo
            '17': gromadianski_pravovidnosini
            '18': strakhuvannya
            '19': pratsevlashtuvvannya
            '20': sotsialnyj_zakhist
            '21': vighotovliennia_produktsiyi_ta_nadannia_poslugh
            '22': litsienzuvannia
            '23': reyestraciya_likvidaciya_bankrutstvo
            '24': doghovirni_vidnosini
            '25': administrativnie_pravo
            '26': nierukhomist
            '27': prava_vnutrishno_pieriemishchienikh_osib
            '28': investitsii
            '29': notarialni_pytanniia
            '30': avtovlasnykam
            '31': zhitlovi_pravovidnosini
            '32': dovircha_vlastnist
            '33': dierzhavni_zakupivli
            '34': simejne_pravo
            '35': mytne_pravo
            '36': mizhnarodni_pravovidnosini
            '37': korporativnie_pravo
            '38': tsivilne_pravo
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train.jsonl
  - split: test
    path: data/test.jsonl
train-eval-index:
- config: default
  task: text-classification
  task_id: multi_class_classification
  splits:
    train_split: train
    eval_split: test
  col_mapping:
    text: text
    label: target
  metrics:
  - type: accuracy
    name: Accuracy
  - type: f1
    name: F1 macro
    args:
      average: macro
  - type: f1
    name: F1 micro
    args:
      average: micro
  - type: f1
    name: F1 weighted
    args:
      average: weighted
  - type: precision
    name: Precision macro
    args:
      average: macro
  - type: precision
    name: Precision micro
    args:
      average: micro
  - type: precision
    name: Precision weighted
    args:
      average: weighted
  - type: recall
    name: Recall macro
    args:
      average: macro
  - type: recall
    name: Recall micro
    args:
      average: micro
  - type: recall
    name: Recall weighted
    args:
      average: weighted
---

# `ual-topics`

This dataset contains texts from https://ua-lawyer.com project. The texts contains questions and their labels (a category of law) in Ukrainian.

## Install

```text
uv venv --python 3.12

source .venv/bin/activate

uv pip install -r requirements.txt

# in development mode
uv pip install -r requirements-dev.txt
```