LocalLaws/LOCUS-v1
Dataset com 1 – 10 milhões de exemplos — 2.4 mil downloads no Hugging Face. LOCUS v1.0 This repository contains the dataset presented in the paper Freeing the Law with LOCUS: A Local Ordinance Corpus for the United States. Dat…
O dataset LocalLaws/LOCUS-v1 está entre os destaques do Hugging Face — dados que alimentam o treinamento e a avaliação dos modelos do momento.
Ficha do dataset
- Tamanho: 1 – 10 milhões de exemplos
- Tarefas: classificação de texto
- Idiomas: inglês
- Licença: CC BY-NC 4.0 (não comercial)
- Downloads: 2.4 mil · Curtidas: 88
Sobre o dataset
LOCUS v1.0 This repository contains the dataset presented in the paper Freeing the Law with LOCUS: A Local Ordinance Corpus for the United States. Dataset Summary LOCUS v1.0 is a chunk-level dataset of U.S. municipal and county law text labeled by legal function. Each eligible chunk is assigned a function, a binary is_substantive label, and all substantive provisions are assigned a topic. The dataset is intended for legal text research, local-law structure… See the full description on the dataset page: https://huggingface.co/datasets/LocalLaws/LOCUS-v1.
Como carregar
Use a biblioteca datasets do Hugging Face:
pip install -U datasets
Como é um dataset grande, vale carregar em modo streaming (sem baixar tudo):
from datasets import load_dataset
ds = load_dataset("LocalLaws/LOCUS-v1", split="train", streaming=True)
for exemplo in ds.take(3):
print(exemplo)Tags
text-classification law legal-nlp local-government municipal-law ordinances classification