Anthropic has quickly become one of the leaders in generative AI foundation models. Anthropic’s Claude family of models (Haiku, Sonnet, and Opus) have proven to be able to process various visual formats, a high degree of accuracy, generate high-quality code all while keeping hallucinations under control.
In this course, we will introduce the main concepts behind this class of models and how their functionality is made accessible through the Anthropic API. We will build example applications to illustrate the use of each of these tools and how they can be composed and highlight when to use each model to obtain high-quality outputs at the lowest cost.
- Neural Networks and Deep Learning
- What is ChatGPT doing...
- Introduction to Natural Language Processing
- AI and Machine Learning for Coders
- Generative Deep Learning
- Developing Apps with GPT-4 and ChatGPT
- Transformers for Natural Language Processing
This tutorial is divided into five parts:
Introduction to generative AI concepts.
- Basic Principles
- Transformers
- Large Language Models
- Temperature
- Hallucinations
- Image Models
- API Structure
Notebook: 1. Generative AI.ipynb
Getting started with the Claude API.
- Basic Usage
- Input Formatting
- Multi-Step Prompts
- Document Summarization
Notebook: 2. Claude Models.ipynb
Working with text embeddings using Voyage AI
- Understanding Embeddings
- Questing Answering
- Recommendations
- Long Texts
Notebook: 3. Embeddings.ipynb
Implementing function calling with Claude.
- Tool Overview
- Structured Outputs
- Choosing the Right Tool
- Workflow
Notebook: 4. Tools.ipynb
Best practices for prompting Claude to write and analyze code.
- Generating Code from a Prompt
- Explaining Existing Code
- Generating Comments
Notebook: 5. Code Generation.ipynb
This project manages dependencies using uv (recommended) or standard pip.
- Python 3.13 or higher (as specified in
pyproject.toml)
This repository includes a uv.lock file for reproducible environments.
- Install uv: Follow instructions at docs.astral.sh/uv.
- Sync dependencies:
uv sync
- Run Jupyter:
uv run jupyter notebook
You can install the dependencies directly from the pyproject.toml file.
pip install .
|
Web: www.data4sci.com |
