mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
initial whisper integration
This commit is contained in:
parent
4ed9ba7352
commit
f24aef8792
10 changed files with 16204 additions and 16 deletions
|
@ -221,6 +221,15 @@ extern "C"
|
|||
return sdtype_generate(inputs);
|
||||
}
|
||||
|
||||
bool whisper_load_model(const whisper_load_model_inputs inputs)
|
||||
{
|
||||
return whispertype_load_model(inputs);
|
||||
}
|
||||
whisper_generation_outputs whisper_generate(const whisper_generation_inputs inputs)
|
||||
{
|
||||
return whispertype_generate(inputs);
|
||||
}
|
||||
|
||||
const char * new_token(int idx) {
|
||||
if (generated_tokens.size() <= idx || idx < 0) return nullptr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue