Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
json
Sub-tasks:
topic-classification
Languages:
Ukrainian
Size:
1K - 10K
License:
language: | |
- uk | |
license: | |
- other | |
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': kriminalnie_pravo | |
'1': pidpriemnicka_dialnist | |
'2': spadkove_pravo | |
'3': mizhnarodni_pravovidnosini | |
'4': zhitlovi_pravovidnosini | |
'5': korporativnie_pravo | |
'6': immighratsiia_iemighratsiia | |
'7': prava_spozhivachiv | |
'8': medicina | |
'9': pratsevlashtuvvannya | |
'10': bankivska_diialnist | |
'11': mytne_pravo | |
'12': doghovirni_vidnosini | |
'13': dovircha_vlastnist | |
'14': reklama | |
'15': viiskovie_pravo | |
'16': gospodarskie_pravo | |
'17': notarialni_pytanniia | |
'18': tsivilne_pravo | |
'19': litsienzuvannia | |
'20': ziemielnie_pravo | |
'21': nierukhomist | |
'22': opodatkuvannia | |
'23': sudova_praktika | |
'24': inshe | |
'25': piensiiata_sotsialni_viplati | |
'26': reyestraciya_likvidaciya_bankrutstvo | |
'27': ekologiya | |
'28': administrativnie_pravo | |
'29': gromadianski_pravovidnosini | |
'30': strakhuvannya | |
'31': vighotovliennia_produktsiyi_ta_nadannia_poslugh | |
'32': intieliektualna_vlasnist | |
'33': simejne_pravo | |
'34': dierzhavni_zakupivli | |
'35': prava_vnutrishno_pieriemishchienikh_osib | |
'36': sotsialnyj_zakhist | |
'37': investitsii | |
'38': avtovlasnykam | |
splits: | |
- name: train | |
num_bytes: 2092033 | |
num_examples: 3021 | |
- name: test | |
num_bytes: 122281 | |
num_examples: 159 | |
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` | |
## Install | |
```shell | |
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 | |
``` | |