Advanced Natural-based interaction for the ITAlian language: LLaMAntino-3-ANITA
cs.CL, cs.AI
Submitted: 2024-05-11
Updated: 2024-05-11
Journal ref: Sci Rep 16, 5375 (2026)
DOI: 10.1038/s41598-025-31319-0
Code: https://github.com/marcopoli/LLaMAntino-3-ANITA
License: http://creativecommons.org/licenses/by/4.0/
The gist: 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:
Terminology
Abstract
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
Sources
- LLaMAntino: LLaMA 2 Models for Effective Text Generation in Italian Language
- Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge
- Recommender Systems in the Era of Large Language Models (LLMs)
- BERTopic: Neural topic modeling with a class-based TF-IDF procedure
- ORPO: Monolithic Preference Optimization without Reference Model
- LoRA: Low-Rank Adaptation of Large Language Models
- Mistral 7B
- TruthfulQA: Measuring How Models Mimic Human Falsehoods
- Orca: Progressive Learning from Complex Explanation Traces of GPT-4
- Fine-Tuning or Retrieval? Comparing Knowledge Injection in LLMs
- Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Model
- LLaMA: Open and Efficient Foundation Language Models
- Llama 2: Open Foundation and Fine-Tuned Chat Models
- HellaSwag: Can a Machine Really Finish Your Sentence?
- A Survey of Large Language Models
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering