Cerbero-7B: A Leap Forward in Language-Specific LLMs Through Enhanced Chat Corpus Generation and Evaluation

Federico A. Galatolo, Mario G. C. A. Cimino
11/27/2023
cs.CLcs.AI

No official code found. Best implementation: galatolofederico/cerbero-7b (35 stars, last commit 2024-05-01).

Abstract

This study introduces a novel approach for generating high-quality, language-specific chat corpora using a self-chat mechanism. We combine a generator LLM for creating new samples and an embedder LLM to ensure diversity. A new Masked Language Modelling (MLM) model-based quality assessment metric is proposed for evaluating and filtering the corpora. Utilizing the llama2-70b as the generator and a multilingual sentence transformer as embedder, we generate an Italian chat corpus and refine the Fauno corpus, which is based on translated English ChatGPT self-chat data. The refinement uses structural assertions and Natural Language Processing techniques. Both corpora undergo a comprehensive quality evaluation using the proposed MLM model-based quality metric. The Italian LLM fine-tuned with these corpora demonstrates significantly enhanced language comprehension and question-answering skills. The resultant model, cerbero-7b, establishes a new state-of-the-art for Italian LLMs. This approach marks a substantial advancement in the development of language-specific LLMs, with a special emphasis on augmenting corpora for underrepresented languages like Italian.

View on arXivView PDF

Code Implementations(1)

Cerbero-7b is the first 100% Free and Open Source Italian Large Language Model (LLM) ready to be used for research or commercial applications.

350Oct 26, 20232 years ago

Similar Papers

Cite this paper

@article{galatolo2023cerberob,
  title  = {Cerbero-7B: A Leap Forward in Language-Specific LLMs Through Enhanced Chat Corpus Generation and Evaluation},
  author = {Federico A. Galatolo and Mario G. C. A. Cimino},
  year   = {2023},
  eprint = {2311.15698},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.15698v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.15698.svg)](https://codeofpaper.com/paper/2311.15698)

Discussion