Datasets:
|
Download README.md from CEIA-COREJUR/processos: direct link, hf CLI and curl.
- Browser
- Download file 2.93 kB
-
https://huggingface.co/datasets/CEIA-COREJUR/processos/resolve/main/README.md
- Command line
-
hf download hf://datasets/CEIA-COREJUR/processos/README.md
-
curl -L -o README.md https://huggingface.co/datasets/CEIA-COREJUR/processos/resolve/main/README.md
2.93 kB
| language: | |
| - pt | |
| dataset_info: | |
| features: | |
| - name: type | |
| dtype: string | |
| - name: tribunal | |
| dtype: string | |
| - name: filename | |
| dtype: string | |
| - name: numero_processo | |
| dtype: string | |
| - name: relator | |
| dtype: string | |
| - name: orgao_julgador | |
| dtype: string | |
| - name: data_publicacao | |
| dtype: string | |
| - name: data_julgamento | |
| dtype: string | |
| - name: classe_judicial | |
| dtype: string | |
| - name: ementa | |
| dtype: string | |
| - name: text | |
| dtype: string | |
| splits: | |
| - name: jurisprudencia | |
| num_bytes: 23992108096 | |
| num_examples: 1253266 | |
| - name: jurisprudencia_trabalhista | |
| num_bytes: 2969799589 | |
| num_examples: 286850 | |
| - name: peticao | |
| num_bytes: 2332409850 | |
| num_examples: 250721 | |
| download_size: 14913785734 | |
| dataset_size: 29294317535 | |
| configs: | |
| - config_name: default | |
| data_files: | |
| - split: jurisprudencia | |
| path: data/jurisprudencia-* | |
| - split: jurisprudencia_trabalhista | |
| path: data/jurisprudencia_trabalhista-* | |
| - split: peticao | |
| path: data/peticao-* | |
| # Dataset Card for Processos | |
| **Version:** 2.1.0 | |
| ## Dataset Structure | |
| <!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. --> | |
| O repositório está organizado da seguinte forma: | |
| ```bash | |
| jurisprudencia | |
| ├── tjdft | |
| ├── tjrs | |
| └── tjsc | |
| jurisprudencia_trabalhista | |
| ├── trt1_acordaos | |
| └── trt1_sentencas | |
| peticao | |
| ├── tjes | |
| ├── tjma | |
| ├── tjmg | |
| ├── tjpa | |
| ├── tjpb | |
| └── tjrj | |
| ``` | |
| O formato dos dados é o apresentado a seguir: | |
| ```python | |
| @dataclass | |
| class Registro: | |
| type: Type = None | |
| tribunal: str = None | |
| filename: str = None | |
| numero_processo: str = None | |
| relator: str = None | |
| orgao_julgador: str = None | |
| data_publicacao: MyDatetime = None | |
| data_julgamento: MyDatetime = None | |
| classe_judicial: str = None | |
| ementa: str = None | |
| text: str = None | |
| class Type(Enum): | |
| PETICOES = 'peticao' | |
| JURISPRUDENCIA = 'jurisprudencia' | |
| JURISPRUDENCIA_TRABALHISTA = 'jurisprudencia_trabalhista' | |
| ``` | |
| ## Uses | |
| <!-- Address questions around how the dataset is intended to be used. --> | |
| Para carregar o dataset completo utilize o comando abaixo: | |
| ```python | |
| from datasets import load_dataset, concatenate_datasets | |
| dataset = concatenate_datasets(load_dataset("corejur/processos", revision="2.1.0").values()) | |
| ``` | |
| Para carregar um tipo específico de processo, utilize o comando abaixo: (de acordo com os `Type`) | |
| ```python | |
| from datasets import load_dataset | |
| load_dataset("corejur/processos", split='jurisprudencia_trabalhista', revision="2.1.0") | |
| ``` | |
| Para carregar o dataset como streaming, utilizar: | |
| ```python | |
| from datasets import load_dataset | |
| load_dataset("corejur/processos", split='jurisprudencia_trabalhista', revision="2.1.0", streaming=True) | |
| ``` |