1. LLaMA 源码解读 LLaMA 作为一个开源社区中广受欢迎的模型,其源码实现值得深入研究。本文将以 Huggingface 中的实现为例...

1. LoRA 论文解读 这里先不解读了,直接看 Microsoft 的代码 2. LoRA 代码解析 lora 代码最初由微软GitHub提供...

1. pytorch 获取网络结构 在写深度学习程序时,我们通常要将网络打印出来查看网络结构,一个最简单的方法就是直接 print(model)...

1. Monkey 论文阅读 Monkey: Image Resolution and Text Label Are Important Thi...

1. MiniGPT-v2 论文解析 MiniGPT-v2: large language model as a unified interfa...

1. MiniGPT-4 论文解析 MiniGPT-4: Enhancing Vision-Language Understanding wit...

1. Hexo 基本命令 初始化 hexo 文件:在本地任意创建一个文件夹(这里创建名字为 hexo-blog 的文件夹),用下面命令将其初始...

Dec 14, 2023

1. BLIP-2 代码解析 BLIP-2: Bootstrapping Language-Image Pre-training with Fr...

1. snapshot_download 用于从 HuggingFace下载整个 repository 的快照。可以使用这个函数下载一个 rep...

1. peft 库安装 本文参考huggingface 微调,peft 库是一个高效微调 LLM 的库,与 Transformers 和 Acc...

1. deepspeed 的基本用法 1.1 deepspeed 安装 安装:pip install deepspeed 1.2 deepspe...

1. .bashrc 文件的使用 在 linux 中,.bashrc 文件是一个脚本文件,它在用户登录时执行。.bashrc 文件包含一些用户惯...