Browse Source

fix parameter count

drifkin/chat-truncation-fix
Michael Yang 1 year ago
committed by Michael Yang
parent
commit
ced7d0e53d
  1. 2
      fs/ggml/ggml.go

2
fs/ggml/ggml.go

@ -33,7 +33,7 @@ func (kv KV) Kind() string {
}
func (kv KV) ParameterCount() uint64 {
return keyValue[uint64](kv, "general.parameter_count")
return keyValue(kv, "general.parameter_count", uint64(0))
}
func (kv KV) FileType() fileType {

Loading…
Cancel
Save