mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 01:05:09 +02:00
added support for starcoder, which is basically gpt2
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ void print_tok_vec(std::vector<float> &embd)
|
||||
fileformat = FileFormat::GPTJ_3; //quantized format cannot be legacy type
|
||||
}
|
||||
}
|
||||
else if(vocabsiz==50257)
|
||||
else if(vocabsiz==50257 || (vocabsiz>=49152&&vocabsiz<=49157)) //49152-6 is starcoder
|
||||
{
|
||||
fileformat = FileFormat::GPT2_1;
|
||||
uint32_t temp;
|
||||
|
||||
Reference in New Issue
Block a user