chapter2/03_tokenization #47
Replies: 4 comments 2 replies
|
浮点数下溢是指一个非零的浮点数,其绝对值小于当前浮点数格式所能表示的最小正规格化数时,发生的一种现象。 简单来说,就是数字太小,计算机无法用正常的精度格式来存储它。 |
0 replies
|
一个句子可以有很多种拆成词的方法,每一种拆法就是一条“分词路径” |
0 replies
|
从贝叶斯定理的角度,我们实际上是在求解: arg max_{text{分词}} P(text{分词}|text{句子}) 即在给定句子的条件下,找到概率最大的分词方案。 根据贝叶斯定理: P(text{分词}|text{句子}) propto P(text{句子}|text{分词}) times P(text{分词}) 其中 P(text{分词}) 就是分词序列本身的概率,这正是公式(2.1)计算的内容 |
2 replies
|
oov problem is out-of-vocabulary problem. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
chapter2/03_tokenization
一个从传统自然语言处理(NLP)到大语言模型(LLM)的全栈式学习教程,内容涵盖NLP基础、词向量、Transformer、BERT/GPT、大模型微调(LoRA/RLHF)、手写 Llama2、模型量化与部署、多模态大模型等核心概念与代码实践
https://datawhalechina.github.io/base-llm/
All reactions