Downloads · 30 days
15
50% of all-time downloads
RichardErkhov/felipeoes_-_cocoruta-7b-8bits
felipeoes_-_cocoruta-7b-8bits is a machine learning model from RichardErkhov. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
15
50% of all-time downloads
All-time downloads
30
Public
Parameters
6.7B
7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors7 GB · 100%
How the weights are stored.
I86.5B · 96%
From the Hugging Face model README
Quantization made by Richard Erkhov.
cocoruta-7b - bnb 8bits
language:
Cocoruta may reproduce biases and prejudices inherent in the legal documents used for its training, which include older legislation. Users should exercise caution when interpreting the model’s outputs, especially in contexts requiring up-to-date legal perspectives or that may involve underrepresented groups. We observed that the Cocoruta model, while less proficient in handling utterances compared to larger models, would impart a legal bias to potential interactions.*
Cocoruta is a specialized large language model fine-tuned for legal document-based Question Answering (Q&A), developed to address legal queries related to the "Blue Amazon"—a term used to describe Brazil's extensive maritime territory. Cocoruta 1.0 is based on the LLaMa 2-7B model, fine-tuned with a corpus of 68,991 legal documents totaling 28.4 million tokens. Despite being trained with fewer parameters than some larger models, Cocoruta demonstrates competitive performance in domain-specific legal discourse.
Cocoruta has been evaluated using multiple automatic metrics to measure its effectiveness in generating accurate and relevant legal content. The model performed as follows:
The performance of Cocoruta in qualitative evaluation showed the utility of fine-tuning, as answers aligned with legal discourse were more frequent in Cocoruta compared to larger models. The larger models exhibited higher proficiency, delivering well-structured answers. However, for questions not directly related to the legal context, responses from the larger models did not maintain legal discourse.*
If you use Cocoruta in your research, please cite the following paper:
*@inproceedings{2024cocoruta,
author={do Espírito Santo, Felipe Oliveira and Marques Peres, Sarajane and de Sousa Gramacho, Givanildo and Alves Franco Brandão, Anarosa and Cozman, Fabio Gagliardi},
booktitle={2024 International Joint Conference on Neural Networks (IJCNN)},
title={Legal Document-Based, Domain-Driven Q&A System: LLMs in Perspective},
year={2024},
volume={},
number={},
pages={1-9},
keywords={Law;Large language models;Neural networks;Question answering (information retrieval);Complexity theory;Large language models;LLM evaluation;legal Q&A systems;legal-document corpus},
address={Yokohama, Japan},
isbn={978-8-3503-5931-2},
doi={10.1109/IJCNN60899.2024.10650895},
url={https://ieeexplore.ieee.org/abstract/document/10650895}
}