Преглед изворни кода

Fix: just a little change on subscript

Horoaw пре 5 месеци
родитељ
комит
1e8401a969

+ 1 - 1
docs/chapter3/Chapter3-Fundamentals-of-Large-Language-Models.md

@@ -37,7 +37,7 @@ $$P(w_i∣w_{i−1})=\frac{Count(w_{i−1},w_i)}{Count(w_{i−1})}$$
 
 
 Here, the `Count()` function represents "counting":
 Here, the `Count()` function represents "counting":
 
 
-- $Count(w_i−1,w_i)$: represents the total number of times the word pair $(w_{i−1},w_i)$ appears consecutively in the corpus.
+- $Count(w_{i−1},w_i)$: represents the total number of times the word pair $(w_{i−1},w_i)$ appears consecutively in the corpus.
 - $Count(w_{i−1})$: represents the total number of times the single word $w_{i−1}$ appears in the corpus.
 - $Count(w_{i−1})$: represents the total number of times the single word $w_{i−1}$ appears in the corpus.
 
 
 The formula's meaning is: we use "the number of times word pair $Count(w_i−1,w_i)$ appears" divided by "the total number of times word $Count(w_{i−1})$ appears" as an approximate estimate of $P(w_i∣w_{i−1})$.
 The formula's meaning is: we use "the number of times word pair $Count(w_i−1,w_i)$ appears" divided by "the total number of times word $Count(w_{i−1})$ appears" as an approximate estimate of $P(w_i∣w_{i−1})$.

+ 1 - 1
docs/chapter3/第三章 大语言模型基础.md

@@ -37,7 +37,7 @@ $$P(w_i∣w_{i−1})=\frac{Count(w_{i−1},w_i)}{Count(w_{i−1})}$$
 
 
 这里的 `Count()` 函数就代表“计数”:
 这里的 `Count()` 函数就代表“计数”:
 
 
-- $Count(w_i−1,w_i)$:表示词对 $(w_{i−1},w_i)$ 在语料库中连续出现的总次数。
+- $Count(w_{i−1},w_i)$:表示词对 $(w_{i−1},w_i)$ 在语料库中连续出现的总次数。
 - $Count(w_{i−1})$:表示单个词 $w_{i−1}$ 在语料库中出现的总次数。
 - $Count(w_{i−1})$:表示单个词 $w_{i−1}$ 在语料库中出现的总次数。
 
 
 公式的含义就是:我们用“词对 $Count(w_i−1,w_i)$ 出现的次数”除以“词 $Count(w_{i−1})$ 出现的总次数”,来作为 $P(w_i∣w_{i−1})$ 的一个近似估计。
 公式的含义就是:我们用“词对 $Count(w_i−1,w_i)$ 出现的次数”除以“词 $Count(w_{i−1})$ 出现的总次数”,来作为 $P(w_i∣w_{i−1})$ 的一个近似估计。