March 5/6, from 9:00 AM to 5:00 PM, in person at BI-REX, Via Paolo Nanni Costa, 20, 40133 Bologna BO
A Large Language Model (LLM) is a generative artificial intelligence model capable of understanding and generating text and/or other content in a manner similar to a human. It can be used for a wide range of business applications, such as data analysis, customer service automation, and the creation of personalized content.
The course aims to explore the world of LLMs, offering a comprehensive overview for companies that wish to leverage this cutting-edge technology.
Starting from the basics, the course introduces the main concepts related to language models and their applications in a business context.
Next, it delves into how to integrate external knowledge sources to improve model performance using the Retrieval-Augmented Generation (RAG) technique.
Finally, the course focuses on parallel fine-tuning on High-Performance Computing (HPC) infrastructures, providing practical skills to optimize models at scale. Through a combination of theory and practical applications, participants will acquire the necessary skills to implement and leverage LLMs in their organizations, opening up new opportunities for innovation and operational efficiency.
Topics
- Structure and Characteristics of LLMs
- Basic Concepts of HPC
- Parameter Efficient Fine Tuning (PEFT)
- Parallelization of LLMs
- RAG
- Inference of LLMs
Course Recipients
People with a technical-scientific background, basic skills in Python and AI, familiarity with the Linux operating system, and an interest in understanding the functioning of LLMs using HPC.
Teachers
She obtained a Master’s Degree in Mathematics in Stochastics and Data Science. Currently, she works in the HPC department on projects that leverage Machine Learning and Deep Learning methodologies within the HPC infrastructure
She obtained a PhD in Mathematics with a thesis on tensor and matrix decompositions for image classification. Currently, she works in the HPC Department at CINECA, focusing on the use of HPC technologies in artificial intelligence projects.
She obtained a Master’s Degree in Mathematics from the University of Bologna in 2023 with a thesis developed during an internship at CINECA on data compression techniques applied to the field of Digital Twins. Currently, she works as an HPC Technology Specialist in the HPC Department at CINECA, focusing on the use of HPC technologies in artificial intelligence projects.
After obtaining a degree in Computer Science for Management, he continued his education with a Master’s degree in Computer Science and a Master’s in Data Science and Business Analytics. During his studies, he completed several projects in the field of Data Analytics, focusing, for example, on market analysis using clustering algorithms. Currently, he works as a data scientist in the HPC department at CINECA.
He obtained a Master’s in High Performance Computing from SISSA in Trieste and worked as an HPC researcher at OGS in the field of oceanography. Subsequently, he started working at CINECA, where he currently serves as a consultant for industrial applications and technical project manager for technology transfer projects to industries, particularly SMEs.
He is a Senior Data Scientist and Machine Learning Engineer at CINECA, where he focuses on adapting and fine-tuning large language models and developing retrieval-augmented generation (RAG) systems for applications in the legal, healthcare, and environmental sectors. He earned a PhD in Computational Chemistry from the Scuola Normale Superiore di Pisa and previously worked as a researcher in nanosciences at the University of Bologna and KTH in Stockholm, before moving to Ericsson, where he worked on global demand forecast models.
He obtained a Master’s Degree in Physics from the University of Bologna in 2020. Subsequently, he earned a PhD in Biomedical Engineering from the University of Bologna, focusing on artificial intelligence applied to medicine.
Afterward, he worked as a research fellow at the University of Verona, where he dedicated himself to the study and development of distributed learning techniques (swarm learning). He has now started working at Cineca as an HPC Data Engineer in the PoC Solutions unit.
Program
Wednesday, March 5th, 2025 - 9:00 AM >5:00 PM
In the first part of the course, the fundamental concepts of High Performance Computing (HPC) and its importance for training large language models will be introduced. Through a practical session, participants will learn how to interact with a supercomputer (login, data upload, code execution), showcasing the potential of HPC for businesses. In the second part, the functioning of language models will be explained (tokenization, embedding, attention mechanism, etc.), and a demonstration will show how to use a pre-trained model for inference.
Content
- Introduction to HPC
- Introduction to LLM
Thursday, March 6th, 2025 - 9:00 AM >5:00 PM
In the first part of the course, the fundamental concepts of Retrieval Augmented Generation (RAG) will be introduced, covering its general functioning and main applications. The second part will focus on advanced RAG methodologies, including techniques such as query refinement to improve retrieval quality, integrating large language models with active retrieval systems, and implementing strategies for response personalization. The final part will cover the main techniques and tools for parallelizing language models (e.g., Accelerate, DeepSpeed, Megatron). In a practical session, the scalability of fine-tuning on Leonardo will be tested.
Content
- Retrieval Augmented Generation (RAG)
- Data parallelism and model parallelism for training and fine-tuning LLM
