Skip to content

Commit 6456a4e

Browse files
authored
embedding : remove unused code (#1426)
1 parent cdd5350 commit 6456a4e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

examples/embedding/embedding.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ int main(int argc, char ** argv) {
5656
// tokenize the prompt
5757
auto embd_inp = ::llama_tokenize(ctx, params.prompt, true);
5858

59-
// determine newline token
60-
auto llama_token_newline = ::llama_tokenize(ctx, "\n", false);
61-
6259
if (params.verbose_prompt) {
6360
fprintf(stderr, "\n");
6461
fprintf(stderr, "%s: prompt: '%s'\n", __func__, params.prompt.c_str());

0 commit comments

Comments
 (0)