mirror of
https://github.com/ollama/ollama.git
synced 2025-06-28 08:41:12 +02:00
fix parameter count
This commit is contained in:
parent
a0dba0f8ae
commit
ced7d0e53d
@ -33,7 +33,7 @@ func (kv KV) Kind() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (kv KV) ParameterCount() uint64 {
|
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 {
|
func (kv KV) FileType() fileType {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user