Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

πŸ‡§πŸ‡· Brazilian Legislative Bills – Keyword Dataset

This dataset contains keywords of legislative bills proposed in the Brazilian Chamber of Deputies (BCoD) from 1991 to 2022.
It is intended for multi-label classification, where each bill may be associated with one or more subject categories (temas).

πŸ”€ This is the keywords version of the dataset.
If you are looking for the summaries version, see:
πŸ‘‰ ronunes/LegiSubject-Br-Keywords


πŸ“ Dataset Structure

The dataset is organized into 10 stratified cross-validation folds (fold0 to fold9).
Each fold contains 3 standard splits:

  • train
  • validation
  • test

Each split contains the following fields:

Column Description
id_API Unique identifier for the bill in the BCoD API
keyword The keywords of the bill
subject List of subject labels associated with the bill

The task is to predict the subject(s) of a bill given its keywords.

-

Usage

You can load each fold easily with the Hugging Face datasets library:

from datasets import load_dataset
ds = load_dataset("ronunes/LegiSubject-Br-Summaries", name="fold0", split="train")
Downloads last month
271