[Paper Review] Advanced Natural-based interaction for the ITAlian language: LLaMAntino-3-ANITA
The paper presents LLaMAntino-3-ANITA, an Italian-adapted LLaMA-3 based LLM fine-tuned with SFT and aligned with DPO for safe, efficient Italian NLP tasks. It leverages QLoRA for parameter-efficient fine-tuning and demonstrates strong performance on Italian and English benchmarks.
In the pursuit of advancing natural language processing for the Italian language, we introduce a state-of-the-art Large Language Model (LLM) based on the novel Meta LLaMA-3 model: LLaMAntino-3-ANITA-8B-Inst-DPO-ITA. We fine-tuned the original 8B parameters instruction tuned model using the Supervised Fine-tuning (SFT) technique on the English and Italian language datasets in order to improve the original performance. Consequently, a Dynamic Preference Optimization (DPO) process has been used to align preferences, avoid dangerous and inappropriate answers, and limit biases and prejudices. Our model leverages the efficiency of QLoRA to fine-tune the model on a smaller portion of the original model weights and then adapt the model specifically for the Italian linguistic structure, achieving significant improvements in both performance and computational efficiency. Concurrently, DPO is employed to refine the model's output, ensuring that generated content aligns with quality answers. The synergy between SFT, QLoRA's parameter efficiency and DPO's user-centric optimization results in a robust LLM that excels in a variety of tasks, including but not limited to text completion, zero-shot classification, and contextual understanding. The model has been extensively evaluated over standard benchmarks for the Italian and English languages, showing outstanding results. The model is freely available over the HuggingFace hub and, examples of use can be found in our GitHub repository. https://huggingface.co/swap-uniba/LLaMAntino-3-ANITA-8B-Inst-DPO-ITA
Motivation & Objective
- Advance Italian natural language processing with a state-of-the-art LLM based on Meta LLaMA-3.
- Fine-tune an 8B parameter model using SFT on English and Italian datasets to improve performance.
- Improve safety and alignment via Dynamic Preference Optimization (DPO) to reduce dangerous responses and bias.
- Leverage QLoRA for parameter-efficient fine-tuning to enhance efficiency for Italian linguistic structure.
Proposed method
- Fine-tune the 8B-parameter LLaMA-3 model using Supervised Fine-tuning (SFT) on English and Italian datasets.
- Apply Dynamic Preference Optimization (DPO) to align outputs with quality and safety preferences.
- Use QLoRA to achieve parameter-efficient fine-tuning on a subset of the model weights.
- Adapt the model to Italian linguistic structure to improve performance on Italian tasks.
- Evaluate on standard benchmarks for Italian and English language tasks.
- Release the model publicly on HuggingFace and provide usage examples on GitHub.
Experimental results
Research questions
- RQ1Can an 8B parameter LLaMA-3 model be effectively adapted to Italian via SFT and DPO for high-quality Italian NLP tasks?
- RQ2Does parameter-efficient fine-tuning with QLoRA preserve or improve Italian linguistic performance while reducing compute needs?
- RQ3How well does the LLaMAntino-3-ANITA model align outputs to safety, bias reduction, and quality criteria in Italian and English benchmarks?
- RQ4What are the practical outcomes of combining SFT, QLoRA, and DPO for multilingual NLP evaluation tasks?
Key findings
- The proposed approach yields outstanding results on Italian and English standard benchmarks (as claimed by the authors).
- SFT improves instruction-following and Italian task performance for the 8B LLaMA-3 model.
- QLoRA enables efficient fine-tuning by updating a smaller subset of weights, reducing computational requirements.
- DPO refines outputs to align with safety and quality preferences, limiting dangerous or biased responses.
- The model is publicly available on the HuggingFace hub with usage examples on GitHub.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.