Add description to converted GGUF files
This commit is contained in:
parent
8083e20d19
commit
ff25134390
1 changed files with 1 additions and 0 deletions
|
@ -164,6 +164,7 @@ class GGMLToGGUF:
|
||||||
hp = self.model.hyperparameters
|
hp = self.model.hyperparameters
|
||||||
cfg = self.cfg
|
cfg = self.cfg
|
||||||
print('* Adding model parameters and KV items')
|
print('* Adding model parameters and KV items')
|
||||||
|
gguf_writer.add_description('converted from legacy GGJTv3 format')
|
||||||
gguf_writer.add_context_length(cfg.context_length)
|
gguf_writer.add_context_length(cfg.context_length)
|
||||||
gguf_writer.add_embedding_length(hp.n_embd)
|
gguf_writer.add_embedding_length(hp.n_embd)
|
||||||
gguf_writer.add_block_count(hp.n_layer)
|
gguf_writer.add_block_count(hp.n_layer)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue