Get in Touch

Course Outline

Introduction to Open-Source LLMs

  • The significance of open-weight models and their role in the industry
  • Review of LLaMA, Mistral, Qwen, and other notable community-driven models
  • Applicable scenarios for private, on-premise, or highly secure deployments

Environment Setup and Tooling

  • Installation and configuration of Transformers, Datasets, and PEFT libraries
  • Selecting suitable hardware for efficient fine-tuning
  • Retrieving pre-trained models from Hugging Face or alternative repositories

Data Preparation and Preprocessing

  • Dataset structures including instruction tuning, conversational data, and plain text
  • Managing tokenization and sequence length
  • Developing custom datasets and corresponding data loaders

Fine-Tuning Techniques

  • Comparing standard full fine-tuning against parameter-efficient approaches
  • Utilizing LoRA and QLoRA for resource-efficient adaptation
  • Leveraging the Trainer API for rapid experimentation

Model Evaluation and Optimization

  • Measuring performance of fine-tuned models using generation quality and accuracy metrics
  • Addressing overfitting, ensuring generalization, and managing validation sets
  • Strategies for performance tuning and systematic logging

Deployment and Private Usage

  • Processes for saving and loading models for inference tasks
  • Implementing fine-tuned models within secure enterprise infrastructures
  • Evaluating on-premise versus cloud-based deployment strategies

Case Studies and Practical Applications

  • Real-world examples of enterprise adoption of LLaMA, Mistral, and Qwen
  • Strategies for handling multilingual and domain-specific adaptation
  • Discussion on the trade-offs between open-source and closed-source models

Summary and Future Directions

Requirements

  • A solid grasp of large language models (LLMs) and their underlying architecture
  • Proficiency in Python and PyTorch
  • Familiarity with the Hugging Face ecosystem

Intended Audience

  • ML practitioners
  • AI developers
 14 Hours

Number of participants


Price per participant

Upcoming Courses

Related Categories