summaryrefslogtreecommitdiff
path: root/examples/speculative
diff options
context:
space:
mode:
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;