Sitemap

A list of all the posts and pages found on the site. For you robots out there is an XML version available for digesting as well.

Pages

Edit-Attn Code Reproduction

The Code Reproduction of the paper: Transcribing Natural Languages for the Deaf via Neural Editing Programs.

Recommended citation: Cai Jianfeng. (2024). " Don't need the reference format, just use it. Support Open Source 🤗 !" Open.

Internships

Research and engineering internships spanning LLM post-training, agents, RAG, and 3D vision.

Posts

The Basic Knowledge of RLHF Training Pipeline

Updated 33 minute read

这篇博客主要讲解 RLHF 具体训练的框架 (DeepSpeedChat,OpenRLHF,verl) 的具体细节,包括每个框架的整体架构,架构内的各部分细节 (包括逻辑细节和代码细节)。(建议先阅读我之前关于 RLHF 的博客 The Basic Knowledge of RLHF (Reinforce Learning with Human Feedback))

Toolformer

Updated 1 minute read

Sampling API Calls: Prompt P(x), sample i from 1 ~ n, filter p_i = p_M(|P(x),x_{1:i-1}) > t_s (up to k) -> I. m API calls, for i in I, using prefix [P(x), x_{1:i-1}, ] until generate -> c_i^1 ~ c_i^m Executing API Calls: for eac...

The Basic Knowledge of Torch Train Pipeline

Updated 13 minute read

这篇博客主要讲解 PyTorch 训练模型的整个流程的具体细节,包括如何在前向过程中构建计算图;后向传播过程中如何计算并保存梯度;优化器如何根据梯度更新模型参数。(建议先阅读我之前关于 torch.autograd 的博客 The Basic Knowledge of PyTorch Autograd)

The Basic Knowledge of MoE

27 minute read

这篇博客主要讲解了使用 Mixture of Experts (MoE) 将多个模型进行组合的原理。

The Basic Knowledge of TorchScript

9 minute read

这篇博客主要讲解了使用 TorchScript 将 Python 模型代码转化为其他语言代码(如 C++)的原理和具体实现。

The Basic Knowledge of Gradient Penalty

6 minute read

这篇博客主要讲解了使用梯度惩罚(gradient penalty)作为正则化项来促进模型学习的数学原理和具体实现。

The Basic Knowledge of PyTorch Distributed

Updated 20 minute read

这篇博客主要介绍了 LLM 分布式并行的训练方式,并着重讲解了 PyTorch 代码的实现 DDP 的方式。

PyTorch 随笔

4 minute read

torch.backends.cudnn.deterministic: 固定 cuda 的随机种子,使得每次返回的卷积算法都是确定的,即默认算法

The Basic Knowledge of Computer Hardware

12 minute read

这篇博客主要介绍了电脑硬件中的基础知识(ps;强烈安利 B 站硬件茶谈的硬件科普视频,讲的太好了🙂。虽然他现在恰饭有点多😥)

The Basic Knowledge of LLM

3 minute read

这篇博客主要介绍了 Large Language Model 的基础知识,包括常见的 LLM,微调方式等。

Animate Anyone

6 minute read

论文题目:Animate Anyone: Consistent and Controllable Image-to-Video Synthesis for Character Animation

PixelDance

2 minute read

论文题目:Make Pixels Dance: High-Dynamic Video Generation

The Basic Knowledge of NLP

11 minute read

这篇博客主要介绍了 NLP 任务中的基础知识,包括性能评价指标(metrics),分词算法(tokenization)等。

The Advanced Knowledge of Diffusion Model (DM)

6 minute read

这篇博客参考了What are Diffusion Models?,继续详细讲述了最近大火的 DM 模型的改进的数学原理/推导及编程(ps:DM 的基础知识详见 The Basic Knowledge of Diffusion Model (DM))。

Prompt-to-Prompt

8 minute read

论文题目:Prompt-to-Prompt Image Editing with Cross-Attention Control

Emu series (Emu & Emu Edit & Emu Video)

16 minute read

本文主要对近期 Meta 发表的三篇关于视觉处理的文章(Emu 系列)进行论文解读(按照它们的发布顺序):首先是 SOTA 的 text-to-image 生成模型 Emu;接着以它为 baseline,进行 image edit 的研究改进,提出了一个大一统的图像编辑模型 Emu Edit,这基本上就把图像领域主流的任务都刷了个遍。最后又提出了 Emu Video 模型,利用 Emu 完成了对 text-to-video 生成模型的改进,也获得了 SOTA。(ps:我...

The Basic Knowledge of Score-based Generative Models

20 minute read

这篇博客参考了Generative Modeling by Estimating Gradients of the Data Distribution,详细讲述了最近大火的 Diffusion Model 的另一个理解/推理角度: Score-based Generative Model 的数学原理及编程。(ps:建议先看完上述的 Generative Modeling by Estimating Gradients of the Data Distribution 博...

TIN-SLT

5 minute read

论文题目:Explore More Guidance: A Task-aware Instruction Network for Sign Language Translation Enhanced with Data Augmentation

SLT-BT

5 minute read

论文题目:Improving Sign Language Translation with Monolingual Data by Sign Back-Translation

The Basic Knowledge of Diffusion Model (DM)

8 minute read

这篇博客参考了DDPM讲解,详细讲述了最近大火的 DM 模型的数学原理/推导及编程(ps:强烈安利 Lil 的博客,写的太好了🙂)。

Multi-modality with Context

3 minute read

论文题目:Is Context all you Need? Scaling Neural Sign Language Translation to Large Domains of Discourse

XmDA

4 minute read

论文题目:Cross-modality Data Augmentation for End-to-End Sign Language Translation

SLTUnet

4 minute read

论文题目:SLTUNET: A Simple Unified Model for Sign Language Translation

PGen

4 minute read

论文题目:Scaling Back-Translation with Domain Text Generation for Sign Language Gloss Translation

Transformer

8 minute read

论文题目:Attention is All you Need

MDM

8 minute read

论文题目:Matryoshka Diffusion Models

The Basic Knowledge of LaTeX 2

6 minute read

这篇博客延续 The Basic Knowledge Of Latex,继续扩展关于 latex 的基本用法。

MQ-Det

4 minute read

论文题目:Multi-modal Queried Object Detection in the Wild

GLIP

6 minute read

论文题目:Grounded Language-Image Pre-training

latex 问题合集

3 minute read

这篇博客主要记录我在使用 latex 的过程中所遇到的问题和解决的方法(注:有些问题可能我自己也不知道原理,但是所有的解决方法都是亲测有效)。

The Basic Knowledge of LaTeX

9 minute read

这篇博客主要记录了 latex 的基本知识和用法,适用于第一次听到 latex 这个写作排版工具的小白。

ShearedLLaMA

8 minute read

论文题目:Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning

iTransformer

4 minute read

论文题目:iTransformer: Inverted Transformers Are Effective for Time Series Forecasting

RetNet

7 minute read

论文题目:Retentive Network: A Successor to Transformer for Large Language Models

HumanMAC

6 minute read

论文题目:HumanMAC: Masked Motion Completion for Human Motion Prediction

Stable Diffusion

4 minute read

论文题目:High-Resolution Image Synthesis With Latent Diffusion Models

ControlNet

4 minute read

论文题目:Adding Conditional Control to Text-to-Image Diffusion Models

PaCMAP

7 minute read

论文题目:Multipattern Mining Using Pattern-Level Contrastive Learning and Multipattern Activation Map

publications

Kimi K3: Open Frontier Intelligence

Technical Report arXiv

This technical report introduces Kimi K3, an open-weight, native multimodal Mixture-of-Experts model with 2.8 trillion total parameters, 104 billion activated parameters, and a one-million-token context window for long-horizon coding, ag...

teaching

Bachelor’s Studies at Xidian University

B.Eng. in Artificial Intelligence (Turing Class) School of Artificial Intelligence, Xidian University  – 

Completed undergraduate studies in the Artificial Intelligence Turing Class at Xidian University.

Master’s Studies at USTC

Master's in Information and Communication Engineering School of Information Science and Technology, University of Science and Technology of China  – Present

Pursuing graduate study with a research focus on large language models.