Brazilian Consumer Protection Code: a methodology for a dataset to Question-Answer (QA) Models

This work introduces the methodology for building a new dataset based onthe Brazilian Consumer Protection Code (CDC), focusing on question-answer (QA) models. The dataset collected legal data, including CDC articles, legal summaries, and court rulings from the Superior Court of Justice (STJ). Automated data extraction techniques using Python were employed, and advanced language models such as Llama3-8b-8192, Gemma2-9b-it, and GPT-4o-mini were used to generate question-answer (QA) structures. This work presents our methodology for creating such a dataset to be used by language models for training in the legal domain, particularly in the CDC domain.

Authors

Publication Details

Published
2024-11-28
DOI
https://doi.org/10.5753/stil.2024.31168
Citations
2
Primary Topic
Artificial Intelligence in Law
Type
article
Field-Weighted Citation Impact
4.46

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Brazilian Consumer Protection Code: a methodology for a dataset to Question-Answer (QA) Models

Robespierre Pita, Daniela Barreiro Claro, Marlo Souza, Babacar Mané et al.
2 citations
Artificial Intelligence in Law
4.46
article

Brazilian Consumer Protection Code: a methodology for a dataset to Question-Answer (QA) Models

Robespierre Pita, Daniela Barreiro Claro, Marlo Souza, Babacar Mané, Aline Athaydes, Lucas Krug Bulcao, Caio Sacramento
article en
2 citations

Abstract

This work introduces the methodology for building a new dataset based onthe Brazilian Consumer Protection Code (CDC), focusing on question-answer (QA) models. The dataset collected legal data, including CDC articles, legal summaries, and court rulings from the Superior Court of Justice (STJ). Automated data extraction techniques using Python were employed, and advanced language models such as Llama3-8b-8192, Gemma2-9b-it, and GPT-4o-mini were used to generate question-answer (QA) structures. This work presents our methodology for creating such a dataset to be used by language models for training in the legal domain, particularly in the CDC domain.

Coordenação de Aperfeiçoamento de Pessoal de Nível Superior, Fundação de Amparo à Pesquisa do Estado da Bahia
Peace, Justice and strong institutions
Openalex Percentile: Top 5%
Artificial Intelligence in Law
4.46
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.