quick-start-guide-to-llms

sinanuozdemir长期未更新

《大型语言模型快速入门指南》配套代码仓库,用 Jupyter Notebook 演示 LLM 使用、提示工程、智能体、模型蒸馏等实操,适合上手大模型开发。

The Official Repo for "Quick Start Guide to Large Language Models"

暂无版本399star212fork同步于 2026-11-07 07:30 UTC

怎么上手

由 README 提炼,执行前请确认
git clone https://github.com/yourusername/quick-start-llms.git
cd quick-start-llms
pip install -r requirements.txt
硬件要求按 README 说明

README 未说明

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

《大语言模型快速入门》第二版配套代码库,提供各章可运行的 Jupyter notebook 示例

《大型语言模型快速入门指南》配套代码仓库,用 Jupyter Notebook 演示 LLM 使用、提示工程、智能体、模型蒸馏等实操,适合上手大模型开发。

核心能力

  • 按书中章节组织 notebook,覆盖语义搜索到生产部署
  • 包含 RAG 检索管线与 AI Agent 构建示例
  • 提供 BERT 与 OpenAI 模型微调、奖励模型与 RLHF 流程
  • 含知识蒸馏、Llama 量化与 LLM 评估校准实践
  • 附带数据集与图表资源,可直接在 notebook 中调用

容易踩的坑

克隆命令中的 yourusername 是占位符,需替换为实际仓库地址;部分 notebook 依赖 data 目录中的特定数据集;部分示例需调用 OpenAI 或开源模型,需自备 API 密钥或模型权重

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Quick Start Guide to Large Language Models - Second Edition

    Welcome to the GitHub repository for the "Quick Start Guide to Large Language Models - Second Edition". This repository contains the code snippets and notebooks used in the book, demonstrating various applications and advanced techniques in working with Transformer models and large language models (LLMs). View the code for the First Edition here

    Repository Structure

    Directories

    • notebooks: Contains Jupyter notebooks for each chapter in the book.
    • data: Contains the datasets used in the notebooks.
    • images: Contains images and graphs used in the notebooks.

    Notebooks

    Below is a list of the notebooks included in the notebooks directory, organized by the chapters in the book.

    Part I - Introduction to Large Language Models
    • Chapter 2: Semantic Search with LLMs

    • Chapter 3: First Steps with Prompt Engineering

    • Chapter 4: The AI Ecosystem: Putting the Pieces Together

    Part II - Getting the Most Out of LLMs
    Part III - Advanced LLM Usage

    How to Use

    To use this repository:

    1. Clone the repository to your local machine:
    git clone https://github.com/yourusername/quick-start-llms.git
    
    1. Navigate to the notebooks directory and open the Jupyter notebook of your choice:
    cd quick-start-llms
    
    1. Install the necessary libraries:
    pip install -r requirements.txt
    

    Note: Some notebooks may require specific datasets, which can be found in the data directory.

    Contributing

    Contributions are welcome! If you have any additions, corrections, or enhancements, feel free to submit a pull request.

    Disclaimer

    This repository is for educational purposes and is meant to accompany the "Quick Start Guide to Large Language Models - Second Edition" book. Please refer to the book for in-depth explanations and discussions of the topics covered in the notebooks.

    More From Sinan

    1. Check out Sinan's Newsletter AI Office Hours for more AI/LLM content!
    2. Sinan has a podcast called Practically Intelligent where he chats about the latest and greatest in AI!
    3. Follow the Getting Started with Data, LLMs and ChatGPT Playlist on O'Reilly for a curated list of Sinan's work!