summaryrefslogtreecommitdiff
path: root/examples/speculative
diff options
context:
space:
mode:
authorRichard Kiss <him@richardkiss.com>2023-12-12 01:53:36 -0800
committerGitHub <noreply@github.com>2023-12-12 11:53:36 +0200
commit9494d7c4774ab745490b5a19570ff7747a194143 (patch)
treeec70be73a544a7cf30a17a0430b87d89a269d188 /examples/speculative
parent6138963fb232cbae70c9d181db0ba125708f473d (diff)
english : use `typos` to fix comments and logs (#4354)
Diffstat (limited to 'examples/speculative')
-rw-r--r--examples/speculative/README.md2
-rw-r--r--examples/speculative/speculative.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/speculative/README.md b/examples/speculative/README.md
index d88fd379..814efa59 100644
--- a/examples/speculative/README.md
+++ b/examples/speculative/README.md
@@ -1,6 +1,6 @@
# llama.cpp/examples/speculative
-Demonstartion of speculative decoding and tree-based speculative decoding techniques
+Demonstration of speculative decoding and tree-based speculative decoding techniques
More info:
diff --git a/examples/speculative/speculative.cpp b/examples/speculative/speculative.cpp
index dca3f84a..20f1fb5b 100644
--- a/examples/speculative/speculative.cpp
+++ b/examples/speculative/speculative.cpp
@@ -428,7 +428,7 @@ int main(int argc, char ** argv) {
++n_past_tgt;
}
- // the first token is always proposed by the traget model before the speculation loop so we erase it here
+ // the first token is always proposed by the target model before the speculation loop so we erase it here
for (int s = 0; s < n_seq_dft; ++s) {
if (!drafts[s].active) {
continue;