mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-07 11:45:21 +00:00
linter
This commit is contained in:
parent
d073220b65
commit
c41bbb45bd
@ -16,10 +16,10 @@ type commandr struct {
|
|||||||
NumKeyValueHeads uint32 `json:"num_key_value_heads"`
|
NumKeyValueHeads uint32 `json:"num_key_value_heads"`
|
||||||
LayerNormEPS float32 `json:"layer_norm_eps"`
|
LayerNormEPS float32 `json:"layer_norm_eps"`
|
||||||
RopeTheta float32 `json:"rope_theta"`
|
RopeTheta float32 `json:"rope_theta"`
|
||||||
UseQKNorm bool `json:"use_qk_norm"`
|
UseQKNorm bool `json:"use_qk_norm"`
|
||||||
MaxLength uint32 `json:"model_max_length"`
|
MaxLength uint32 `json:"model_max_length"`
|
||||||
LogitScale float32 `json:"logit_scale"`
|
LogitScale float32 `json:"logit_scale"`
|
||||||
NCtx uint32 `json:"n_ctx"`
|
NCtx uint32 `json:"n_ctx"`
|
||||||
}
|
}
|
||||||
|
|
||||||
var _ ModelConverter = (*commandr)(nil)
|
var _ ModelConverter = (*commandr)(nil)
|
||||||
@ -77,4 +77,4 @@ func (p *commandr) Replacements() []string {
|
|||||||
"model.norm", "output_norm",
|
"model.norm", "output_norm",
|
||||||
"model.embed_tokens", "token_embd",
|
"model.embed_tokens", "token_embd",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user