mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-12 09:59:41 +00:00
token count includes ids
This commit is contained in:
parent
0ca814e544
commit
6570a2005b
5 changed files with 26 additions and 9 deletions
5
expose.h
5
expose.h
|
@ -83,6 +83,11 @@ struct generation_outputs
|
|||
int status = -1;
|
||||
char text[32768]; //32kb should be enough for any response
|
||||
};
|
||||
struct token_count_outputs
|
||||
{
|
||||
int count = 0;
|
||||
int * ids; //we'll just use shared memory for this one, bit of a hack
|
||||
};
|
||||
|
||||
extern std::string executable_path;
|
||||
extern std::string lora_filename;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue