摘要: Recall: 最简单的回归模型是输入变量的线性组合: \[y(\mathbf{x}, \mathbf{w}) = w_0 + w_1 x_1 + \cdots + w_D x_D \]其中: \(\mathbf{x} = (x_1, \cdots, x_D)^\top\) 是输入向量; \(\ma 阅读全文
posted @ 2025-06-21 02:53 AAA建材王师傅 阅读(11) 评论(0) 推荐(0)
摘要: 视频链接:How I Understand Flow Matching My kids love Play-Doh. Last time, they made a Play-Doh version of their stuffy. It's pretty amazing that we can cr 阅读全文
posted @ 2025-06-20 18:19 AAA建材王师傅 阅读(19) 评论(0) 推荐(0)
摘要: 什么叫不确定性 不确定性可以分为两种: 认知不确定性(epistemic uncertainty),也称系统不确定性(systematic uncertainty)。 这种不确定性源自有限的数据集大小。随着观测数据的增多,例如更多良性和恶性皮肤病变图像样本,系统可以更好地预测新样本的类别。 然而,即 阅读全文
posted @ 2025-06-17 14:51 AAA建材王师傅 阅读(61) 评论(0) 推荐(0)
摘要: Note:本文是在DataWhale的活动期间撰写,推荐关注相关公众号共同学习。 通过应用引入相关概念 1.医疗诊断场景 训练集:被标注为恶性或良性的病变图像集,标注依据为对病变活检后得到的真实分类。 训练集用处:确定深度神经网络中2500万个可调参数(权重)的取值。 训练目标:训练好的神经网络可以 阅读全文
posted @ 2025-06-15 11:26 AAA建材王师傅 阅读(50) 评论(0) 推荐(0)
摘要: Step 1:构造钟形函数 我们想要构造一个: 对称; 在中心点 \(\mu\) 处最大; 越远离中心,函数值越小; 可积分为 1。 我们猜测使用如下函数形式: \[f(x) = A \cdot \exp\left(-B(x - \mu)^2\right) \]其中 \(B > 0\),控制函数宽度 阅读全文
posted @ 2025-06-11 11:21 AAA建材王师傅 阅读(30) 评论(0) 推荐(0)
摘要: Kubernetes + 容器化部署 vLLM官方docker镜像: vllm/vllm-openai 这是官方提供的 Docker 镜像,可以用来快速部署 vLLM 服务,便于容器化管理。 实战: helm chart 部署 本地集群: 使用 Helm 安装和配置 vLLM 在本地 Kuberne 阅读全文
posted @ 2025-04-12 23:20 AAA建材王师傅 阅读(521) 评论(0) 推荐(0)
摘要: https://zhuanlan.zhihu.com/p/689976933 uv是开发ruff的公司 Astral 前一段时间发布的高性能Python工具,用途是安装python包,以及解析包版本之间的依赖。它的最大特点是快,相比现有的的工具都能够快一大截。 阅读全文
posted @ 2025-04-12 17:51 AAA建材王师傅 阅读(15) 评论(0) 推荐(0)
摘要: Deepseek系列博客目录 Model 核心 Date DeepSeekLLM 探究LLM Scalling Law 2024.01 DeepSeekMath 提出GRPO 2024.04 DeepSeek-V2 DeepSeekMoE, Multi-Head Latent Attention ( 阅读全文
posted @ 2025-03-14 18:56 AAA建材王师傅 阅读(64) 评论(0) 推荐(0)
摘要: Deepseek系列博客目录 Model 核心 Date DeepSeekLLM 探究LLM Scalling Law 2024.01 DeepSeekMath 提出GRPO 2024.04 DeepSeek-V2 DeepSeekMoE, Multi-Head Latent Attention ( 阅读全文
posted @ 2025-03-14 18:54 AAA建材王师傅 阅读(33) 评论(0) 推荐(0)
摘要: 前置知识: PyTorch 基础函数操作整理 1. topk 操作 功能: torch.topk 用于返回输入张量中指定维度上的前 k 个最大元素及其对应的索引。 示例代码: import torch x = torch.tensor([[3, 1, 4], [1, 5, 9], [2, 6, 5] 阅读全文
posted @ 2025-03-03 18:57 AAA建材王师傅 阅读(311) 评论(3) 推荐(0)