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
- Robespierre Pita (ORCID: https://orcid.org/0000-0002-0616-620X)
- Daniela Barreiro Claro (ORCID: https://orcid.org/0000-0001-8586-1042)
- Marlo Souza (ORCID: https://orcid.org/0000-0002-5373-7271)
- Babacar Mané (ORCID: https://orcid.org/0000-0002-9519-2847)
- Aline Athaydes
- Lucas Krug Bulcao
- Caio Sacramento
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
- Coordenação de Aperfeiçoamento de Pessoal de Nível Superior
- Fundação de Amparo à Pesquisa do Estado da Bahia