Skip to content

Commit

Permalink
Merge pull request #380 from dfurrer/master
Browse files Browse the repository at this point in the history
Remove duplicate word in comment. EOM
  • Loading branch information
karpathy authored Sep 5, 2023
2 parents 358fe99 + a69ee26 commit 3b0a6d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.c
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ void generate(Transformer *transformer, Tokenizer *tokenizer, Sampler *sampler,
// forward the transformer to get logits for the next token
float* logits = forward(transformer, token, pos);

// advance the state state machine
// advance the state machine
if (pos < num_prompt_tokens - 1) {
// if we are still processing the input prompt, force the next prompt token
next = prompt_tokens[pos + 1];
Expand Down

0 comments on commit 3b0a6d3

Please sign in to comment.