Practical Fine Tuning Strategies for Language Models and Large Language Models

Abstract: 

Language Models (LM) and Large Language Models (LLM) have attracted significant attention in both public and businesses due to their proficiency in natural language understanding (NLU) and generation (NLG). These models have shown capabilities in recent applications such as humn natural interfaces. Despite their capabilities, applications in business verticals require a more precise control and higher accuracy to meet both business cases as well as specific organizational requirements.

This presentation explains the fine-tuning mechanism of LMs and LLMs, by looking into the fundamental mechanisms behind it as well as the various trade off in real world. At start, we introduce some general machine learning concepts, such as Representation Learning and Transfer Learning, allowing us to refine the concept of fine tuning of Language Models. We continue with an overview of actual fine-tuning methods for standard LM and their different use cases. Then, we detail some implementations of Task Heads for the fine tuning process. The impact of Task Heads is also explained along with some concrete examples in real world.

In a second part, we introduce the concept of Adapters, specific to Large Language Models, as well as we describe their resource efficiency The differences between Adapters and traditional Task Heads are discussed. At the end, we focus on the integration of Fine Tuning with various retrieval mechanisms (RAG) and the interplay between those 2 methods with concrete examples.

This short presentation provides some overview of fine-tuning methods for LMs and LLMs, in practical production and business setting, It highlights some fundamentals and concrete use cases in production in order to be customized for specific applications. Those insights would help the audience to deepen the understanding of current and future technical progress in LM and LLM applications.

Bio: 

Kevin Noel is currently Lead AI/ML at Uzabase Japan/US, developing LM / LLM based solutions for Speeda Edge business intelligence. He has more than 12 years experience in Japan in various industries. Previously, he has worked on Ads/Recommendation field with real time personalized Ads solution on Yahoo Japan application.

He also held a principal ML role at the largest Big Data, E-commerce in Japan and has worked with large scale multi-modal data (Tabular, Time series, Japanese NLP, image) through numerous machine learning projects. He has also provided various training on Deep Learning and external talk on applied ML (New York, 2019, ... )... Prior to this, Kevin, with a background in applied stochastic modeling and data mining from Ecole Centrale, held various quantitative roles a BNP Paribas, Bank of America, and ING in Asia/Japan.

Open Data Science

 

 

 

Open Data Science
One Broadway
Cambridge, MA 02142
info@odsc.com

Privacy Settings
We use cookies to enhance your experience while using our website. If you are using our Services via a browser you can restrict, block or remove cookies through your web browser settings. We also use content and scripts from third parties that may use tracking technologies. You can selectively provide your consent below to allow such third party embeds. For complete information about the cookies we use, data we collect and how we process them, please check our Privacy Policy
Youtube
Consent to display content from - Youtube
Vimeo
Consent to display content from - Vimeo
Google Maps
Consent to display content from - Google