笔记笔记
  • Home
  • AI&ML
  • Example
  • Zoo
  • 关于
⌘ K
Light mode
简介
Ollama
ZeroClaw
OpenClaw
Claude Code
RAGFlow
Stable Diffusion
ComfyUI
PyTorch
Paddle
关注的模型
关注的组织
目标检测
研究
YOLO
其他
文档技巧
最后更新时间:
Copyright © 2023-2026 | Powered by dumi | GuoDapeng | 冀ICP备20004032号-2 | 冀公网安备 冀公网安备13020302001452号

TABLE OF CONTENTS

简介

人工智能(AI) 和 机器学习(ML) 相关知识带简单记录。

文献收集

  • LLM-action 让天下没有难学的大模型
  • 动手学深度学习
  • Addition is All You Need for Energy-efficient Language Models - 高效节能语言模型只需要加法 [pdf]
  • Phil Wang - 一个写了很多模型代码的人

关注的事情

关注的项目

  • Firecrawl - 一种 API 服务,它获取 URL,对其进行抓取,并将其转换为干净的 markdown 或结构化数据。 [爬虫]
  • LangChain-Chatchat [知识库]
  • QAnything [知识库]
  • AnythingLLM [知识库]
  • GraphRAG [知识库]
  • exo - 在家中使用日常设备运行您自己的AI集群 [模型部署工具]
  • LMDeploy [模型部署工具]
  • torchchat [模型部署工具]
  • deepface [人脸识别]
  • VGGFace2 数据集
  • VGGFace2 数据集
  • ResNet-Pytorch-Face-Recognition
  • ArcFace 的 PyTorch 实现
  • Arcface:人脸识别模型在Pytorch当中的实现
  • ImageNet
  • InsightFace Pytorch

关注的模型

  • Qwen2.5
  • ChatGLM2-6B
  • m3e-base
  • whisper-large-v3-turbo - 语音识别和转录翻译
  • Liquid Foundation Models: Our First Series of Generative AI Models - 液体基础模型

Mac - Apple Silicon

Git LFS

Git LFS

shell
# 安装 Git LFS;这是很久之前的记录了,建议仔细阅读官方文档。
brew install git-lfs
git lfs install
# 下载模型项目
git clone https://huggingface.co/THUDM/chatglm3-6b-base
# 如果发现模型没下载下来,可以运行下面命令尝试下载模型
git reset
git pull
git lfs pull

Xinference

Xinference - 文档

shell
# MLX-lm 用来在苹果 silicon 芯片上提供高效的 LLM 推理
pip install "xinference[mlx]" --index-url https://mirrors.aliyun.com/pypi/simple/
XINFERENCE_MODEL_SRC=modelscope XINFERENCE_HOME=./xinference xinference-local --host 0.0.0.0 --port 9997
# 这样可以启动下载好的模型
xinference launch --model-name bge-large-zh-v1.5 --model-type embedding
xinference launch --model-name bge-reranker-v2-m3 --model-type rerank
xinference launch --model-name ChatTTS --model-type audio
xinference launch --model-name SenseVoiceSmall --model-type audio

Ollama

Ollama 笔记

vLLM

Installation - vLLM

只支持 CPU。

shell
# 设置虚拟环境在项目目录
poetry config virtualenvs.in-project true
# 创建项目
poetry new pytorch_demo && cd pytorch_demo
# 创建虚拟环境
poetry env use python3
# 进入虚拟环境
source .venv/bin/activate
# 添加源
poetry source add --priority=primary mirrors https://pypi.tuna.tsinghua.edu.cn/simple/
# 安装基础环境;下面两种均可
poetry add vllm
pip3 install vllm

使用 vLLM 部署大模型,MaxKB 需要选择 公共模型-OpenAI 类型。API 域名 这样 http://host.docker.internal:8300/v1 即可。

生态

  • RAGFlow - 一款基于深度文档理解构建的开源 RAG(Retrieval-Augmented Generation)引擎
  • OmniParse - 一个能够将各种非结构化数据转化为结构化、可操作数据的平台,适用于 GenAI(LLM)应用
  • Dify - 一个开源的 LLM 应用开发平台
  • MetaGPT - 多智能体框架

工具收集

  • OCRmyPDF - 为扫描的PDF文件添加了OCR文本层,允许搜索或复制粘贴它们。
  • Marker - 快速准确地将PDF转换为 markdown。
  • MinerU - 一款一站式、开源、高质量的数据提取工具。