会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
marsggbo
互道晚安,王者峡谷见
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
46
下一页
2023年12月2日
LLM 学习笔记-transformers库的 PreTrainedModel 和 ModelOutput 到底是什么?
摘要: 闲言碎语 我在刚开始接触 huggingface (后简称 hf) 的 transformers 库时候感觉很冗杂,比如就模型而言,有 PretrainedModel, AutoModel,还有各种 ModelForClassification, ModelForCausalLM, AutoMode
阅读全文
posted @ 2023-12-02 12:52 marsggbo
阅读(3735)
评论(0)
推荐(0)
2023年12月1日
LLM 入门笔记-Tokenizer
摘要: 以下笔记参考huggingface 官方 tutorial: https://huggingface.co/learn/nlp-course/chapter6 下图展示了完整的 tokenization 流程,接下来会对每个步骤做进一步的介绍。 1. Normalization normalize
阅读全文
posted @ 2023-12-01 17:00 marsggbo
阅读(1288)
评论(0)
推荐(0)
2023年11月26日
在Megatron-Deepspeed项目中如何下载和预处理Wikipedia数据集
摘要: 更详细的查看 https://github.com/marsggbo/Megatron-DeepSpeed/blob/main/tutorials/gpt2_wikipedia.md 下载Wikipedia压缩数据集(enwiki-latest-pages-articles.xml.bz2) 再使用
阅读全文
posted @ 2023-11-26 21:29 marsggbo
阅读(732)
评论(0)
推荐(0)
大模型训练过程中用到的 gpt_merge.txt和gpt_vocab.json是干什么用的?
摘要: 下面这边文章讲的非常清晰,原文链接:https://blog.csdn.net/ljp1919/article/details/113616226
阅读全文
posted @ 2023-11-26 19:18 marsggbo
阅读(355)
评论(0)
推荐(0)
2023年10月8日
transformer模型训练、推理过程分析
摘要: 复杂度分析 推理过程图示 Double QLORA示意图
阅读全文
posted @ 2023-10-08 11:52 marsggbo
阅读(265)
评论(0)
推荐(0)
2023年8月26日
【转载】CMake从头开始学习-上
摘要: 这篇文章写的太好了非常适合新手入门,原文链接是 https://subingwen.cn/cmake/CMake-primer/index.html 
评论(0)
推荐(0)
2023年8月22日
【转载】Macbook M1/M2如何调试c++代码?使用lldb即可
摘要: > 转载自:https://www.zybuluo.com/qidiandasheng/note/349994#:~:text=GDB%3A,C%2B%2B%E6%88%96%E8%80%85Python%E6%8F%92%E4%BB%B6%E3%80%82 Macbook M1/M2无法安装gdb
阅读全文
posted @ 2023-08-22 14:37 marsggbo
阅读(444)
评论(0)
推荐(0)
2023年8月14日
【转载】阮一峰:Make 命令教程
摘要:  https://www.ruanyifeng.com/blog/2015/02/make.html
阅读全文
posted @ 2023-08-14 17:21 marsggbo
阅读(53)
评论(0)
推荐(0)
2023年8月9日
c++中template的用法是什么?
摘要: > 下文由ChatGPT生成 在C++中,`template`是一种通用编程工具,用于创建通用的函数或类。通过使用模板,可以编写可以应用于不同数据类型的函数或类,从而实现代码的重用性和灵活性。`template`的使用方法如下: ### 1. 函数模板(Function Templates) 函数模
阅读全文
posted @ 2023-08-09 11:03 marsggbo
阅读(1239)
评论(0)
推荐(0)
2023年8月1日
pip install指定gcc g++版本的方法
摘要: 有时候安装某个包可能会遇到gcc版本过低的问题,但是系统上可能安装了好几个版本的gcc。那么一种很简单的解决办法如下: - 1. 切换到gcc对应的路径,例如`cd /usr/local/bin/gcc` 假如这个路径下有这么几个版本的gcc,g++: ```bash ls >>> gcc gcc-
阅读全文
posted @ 2023-08-01 12:04 marsggbo
阅读(2140)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
46
下一页
公告