mirror of
https://github.com/likelovewant/ollama-for-amd.git
synced 2025-12-21 14:26:30 +00:00
model: add rnj-1 inference support (#13354)
This commit is contained in:
@@ -58,6 +58,18 @@ func WithAttentionFactor(attentionFactor float32) func(*Options) {
|
||||
}
|
||||
}
|
||||
|
||||
func WithBetaFast(betaFast float32) func(*Options) {
|
||||
return func(opts *Options) {
|
||||
opts.YaRN.BetaFast = betaFast
|
||||
}
|
||||
}
|
||||
|
||||
func WithBetaSlow(betaSlow float32) func(*Options) {
|
||||
return func(opts *Options) {
|
||||
opts.YaRN.BetaSlow = betaSlow
|
||||
}
|
||||
}
|
||||
|
||||
func WithMRoPE(sections []int) func(*Options) {
|
||||
return func(opts *Options) {
|
||||
opts.Type |= 1 << 3
|
||||
|
||||
Reference in New Issue
Block a user