
The instructor brings twenty years in product and quality engineering, leads large teams, and shares lessons from over 100 projects, staying hands-on and up-to-date with the industry.
Debunk the myth of a universal ai model; emphasize task-specific models, proper benchmarking, and fine-tuning with relevant data to avoid garbage in, garbage out.
Explore how natural language processing enables computers to understand and generate human language across text, voice, and video, covering natural language understanding and generation with foundation models.
Explore the four core machine learning types—supervised, unsupervised, reinforced learning, and deep learning—through neural networks, unstructured data, and the role of large language models.
Learn how supervised learning uses labeled data to train a model, test with unlabeled data, and refine through retraining to improve dog or not dog predictions.
Reinforcement learning enables an artificial intelligence to learn from feedback by observing environment state, taking actions, and earning rewards or penalties through trial and error, as in a self-driving car.
Explain what token is in large language models as a unit of text that can be characters, words, or spaces, and show how tokenization affects prompt length and token counts.
Understand the difference between Narrow Task AI vs General Purpose AI vs Artificial General Intelligence (AGI)
https://code.visualstudio.com/download
Install python on Windows via the Microsoft Store to automatically resolve dependencies, then verify the installation in the terminal and confirm python is in PATH for benchmarking tasks.
Install Python dependencies with pip by downloading get-pip.py and running it to install pip. Then use pip install to add packages like open AI for the hands on demo.
Link to repository: danteachqe/LLMs: a comprehensive code repo for testing LLMs
Explore the Hugging Face Transformers library, install PyTorch and Transformers, and use pipelines to benchmark and compare pre-trained models for sentiment analysis.
Recall measures the proportion of true positives among actual positives, highlighting false negatives; illustrated by cancer screening and fraud detection, with a case showing 80% recall on 100 positives.
Learn to calculate perplexity for a text using PyTorch and Transformers with a GPT-2 model and its tokenizer from Hugging Face, including setup and benchmarking.
Repo ->https://github.com/danteachqe/LLMs/tree/main/LLM/Data_Splitting
Repo -> https://github.com/danteachqe/LLMs/tree/main/LLM/Data_Splitting
https://gluebenchmark.com
Dateset : https://huggingface.co/datasets/nyu-mll/glue
Tasks: https://gluebenchmark.com/tasks
Learn to run a Glue benchmark by preparing an open model with a tokenizer, loading libraries, tokenizing data, fine-tuning on the training set, and submitting predictions to the Glue leaderboard.
Benchmark ChatGPT against the SST-2 sentiment task using the OpenAI API, then evaluate accuracy, precision, recall, and F1 on the first 50 items to compare models.
Explore retrieval augmented generation, known as rag, and how external databases, vector embeddings, and memory extension reduce drift and hallucinations, with retriever, documentation, and generation steps.
The Rag framework evaluation emphasizes fluency, relevance, coherence, and concision, using an LLM as a judge within a deep eval framework to benchmark Rag pipelines.
Analyze how training time drives cost and performance by examining data size, neural network and training hyperparameters, including epochs, learning rate, and loss functions.
This comprehensive course delves into the essential practices, tools, and datasets for AI model benchmarking. Designed for AI practitioners, researchers, and developers, this course provides hands-on experience and practical insights into evaluating and comparing model performance across tasks like Natural Language Processing (NLP) and Computer Vision.
What You’ll Learn:
Fundamentals of Benchmarking:
Understanding AI benchmarking and its significance.
Differences between NLP and CV benchmarks.
Key metrics for effective evaluation.
Setting Up Your Environment:
Installing tools and frameworks like Hugging Face, Python, and CIFAR-10 datasets.
Building reusable benchmarking pipelines.
Working with Datasets:
Utilizing popular datasets like CIFAR-10 for Computer Vision.
Preprocessing and preparing data for NLP tasks.
Model Performance Evaluation:
Comparing performance of various AI models.
Fine-tuning and evaluating results across benchmarks.
Interpreting scores for actionable insights.
Tooling for Benchmarking:
Leveraging Hugging Face and OpenAI GPT tools.
Python-based approaches to automate benchmarking tasks.
Utilizing real-world platforms to track performance.
Advanced Benchmarking Techniques:
Multi-modal benchmarks for NLP and CV tasks.
Hands-on tutorials for improving model generalization and accuracy.
Optimization and Deployment:
Translating benchmarking results into practical AI solutions.
Ensuring robustness, scalability, and fairness in AI models.
Benchmark RAG implementations
RAGAS
Coherence
Confident AI - Deepeval
Hands-On Modules:
Implementing end-to-end benchmarking pipelines.
Exploring CIFAR-10 for image recognition tasks.
Comparing supervised, unsupervised, and fine-tuned model performance.
Leveraging industry tools for state-of-the-art benchmarking