arranged files, updated kobold lite, modified makefile for extra link args on linux, started RWKV implementation

This commit is contained in:
Concedo 2023-04-17 17:31:45 +08:00
parent 9581171a9f
commit 763ad172c0
21 changed files with 13597 additions and 46 deletions

View file

@ -132,6 +132,12 @@ void print_tok_vec(std::vector<float> &embd)
else if(magic == 0x67676d66) //v2 format ggmf
{
fileformat = FileFormat::GGHF;
uint32_t temp;
fin.read((char *)&temp, sizeof(temp)); //file version
if(temp==100)
{
fileformat = FileFormat::RWKV_1;
}
}
else if(magic == 0x67676a74) //v3 format ggjt
{