Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
json
Sub-tasks:
topic-classification
Languages:
Ukrainian
Size:
1K - 10K
License:
metadata
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
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