Skip to main content
QUICK REVIEW

[Paper Review] Camoscio: an Italian Instruction-tuned LLaMA

Andrea Santilli, Emanuele Rodolà|arXiv (Cornell University)|Jul 31, 2023
Topic ModelingComputer Science3 citations
TL;DR

Camoscio is a 7B-parameter instruction-tuned LLaMA model fine-tuned for Italian using LoRA on a dataset of 52,000 English instruction pairs translated to Italian via GPT-3.5. It achieves strong zero-shot performance on Italian NLP tasks, outperforming specialized models on benchmarks like NewsSum-IT, SQuAD-IT, and XFORMAL-IT, and all artifacts are publicly released to support Italian NLP research.

ABSTRACT

In recent years Large Language Models (LLMs) have increased the state of the art on several natural language processing tasks. However, their accessibility is often limited to paid API services, posing challenges for researchers in conducting extensive investigations. On the other hand, while some open-source models have been proposed by the community, they are typically English-centric or multilingual without a specific adaptation for the Italian language. In an effort to democratize the available and open resources for the Italian language, in this paper we introduce Camoscio: a language model specifically tuned to follow users' prompts in Italian. Specifically, we finetuned the smallest variant of LLaMA (7b) with LoRA on a corpus of instruction prompts translated to Italian via ChatGPT. Results indicate that the model's zero-shot performance on various downstream tasks in Italian competes favorably with existing models specifically finetuned for those tasks. All the artifacts (code, dataset, model) are released to the community at the following url: https://github.com/teelinsan/camoscio

Motivation & Objective

  • To address the lack of open, high-quality, Italian-specific instruction-tuned LLMs by creating a dedicated model for the Italian language.
  • To improve zero-shot performance on Italian downstream NLP tasks by fine-tuning LLaMA with instruction data tailored for Italian.
  • To democratize access to powerful language models for Italian NLP by releasing the model, dataset, and code under CC BY 4.0.
  • To demonstrate that instruction tuning on translated English instruction data can yield competitive performance in low-resource languages like Italian.
  • To provide a community resource that supports research in Italian NLP, especially in privacy-sensitive domains where API access is restricted.

Proposed method

  • Fine-tuned the smallest LLaMA variant (7B parameters) using LoRA, a parameter-efficient fine-tuning technique, to adapt the model to instruction following.
  • Constructed a new Italian instruction-tuning dataset by translating 52,000 English instruction-output pairs from the Stanford Alpaca dataset into Italian using GPT-3.5.
  • Used the translated dataset to perform instruction tuning on the LLaMA model, enabling it to follow natural language prompts in Italian.
  • Evaluated the model’s zero-shot performance on multiple Italian benchmarks without further fine-tuning.
  • Released all model weights, training code, and the full instruction dataset to the public via GitHub under CC BY 4.0.
  • Leveraged the strong zero-shot generalization of instruction-tuned LLMs to achieve competitive performance on diverse Italian NLP tasks.

Experimental results

Research questions

  • RQ1Can a fine-tuned LLaMA model achieve strong zero-shot performance on Italian NLP tasks when trained on translated instruction data?
  • RQ2How does an instruction-tuned LLaMA model for Italian compare to existing specialized or multilingual models in terms of downstream task performance?
  • RQ3To what extent can parameter-efficient fine-tuning (LoRA) enable training of a high-performing Italian LLM on standard desktop hardware?
  • RQ4Does translating English instruction data via GPT-3.5 yield a high-quality, usable instruction dataset for Italian?
  • RQ5Can open-sourcing a high-performing Italian instruction-tuned LLM support research in privacy-sensitive domains where API access is restricted?

Key findings

  • Camoscio achieves competitive zero-shot performance on the NewsSum-IT benchmark, outperforming models specifically fine-tuned for summarization.
  • On the SQuAD-IT question-answering benchmark, Camoscio generates answers with high factual accuracy, matching or exceeding performance of specialized models.
  • In the XFORMAL-IT text style transfer task, Camoscio successfully converts formal to informal and informal to formal Italian, demonstrating strong linguistic control.
  • The model’s performance on all evaluated benchmarks is comparable to or better than existing multilingual models like BLOOM and LLaMA, despite being fine-tuned on a smaller, language-specific dataset.
  • The use of LoRA enabled effective fine-tuning of the 7B-parameter model on consumer-grade hardware, demonstrating scalability and efficiency.
  • All model weights, training code, and the full Italian instruction dataset are publicly released, enabling reproducibility and further community development.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.