Skip to content

Commit bd960a9

Browse files
committed
removed unnecessary function
1 parent 779a41f commit bd960a9

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

include/llama.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -942,8 +942,6 @@ extern "C" {
942942
LLAMA_API llama_token llama_vocab_nl (const struct llama_vocab * vocab); // next-line
943943
LLAMA_API llama_token llama_vocab_pad(const struct llama_vocab * vocab); // padding
944944

945-
LLAMA_API std::set<int> llama_vocab_get_eogs(const struct llama_vocab * vocab);
946-
947945
LLAMA_API bool llama_vocab_get_add_bos(const struct llama_vocab * vocab);
948946
LLAMA_API bool llama_vocab_get_add_eos(const struct llama_vocab * vocab);
949947

src/llama-vocab.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3440,11 +3440,6 @@ llama_token llama_vocab_eot(const struct llama_vocab * vocab) {
34403440
return vocab->token_eot();
34413441
}
34423442

3443-
std::set<int> llama_vocab_get_eogs(const struct llama_vocab * vocab)
3444-
{
3445-
return vocab->get_eogs();
3446-
}
3447-
34483443
// deprecated
34493444
llama_token llama_vocab_cls(const struct llama_vocab * vocab) {
34503445
return vocab->token_bos();

0 commit comments

Comments
 (0)