Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
c03f0e3c
"...git@developer.sourcefind.cn:OpenDAS/torchaudio.git" did not exist on "9dcc7a15b1b1d1cf9cb7fd5fa6154e6a56a01045"
Unverified
Commit
c03f0e3c
authored
Apr 09, 2024
by
Michael Yang
Committed by
GitHub
Apr 09, 2024
Browse files
Merge pull request #3565 from ollama/mxyng/rope
fix: rope
parents
1524f323
01114b45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
api/types.go
api/types.go
+5
-0
No files found.
api/types.go
View file @
c03f0e3c
...
@@ -122,6 +122,11 @@ type Runner struct {
...
@@ -122,6 +122,11 @@ type Runner struct {
UseMMap
bool
`json:"use_mmap,omitempty"`
UseMMap
bool
`json:"use_mmap,omitempty"`
UseMLock
bool
`json:"use_mlock,omitempty"`
UseMLock
bool
`json:"use_mlock,omitempty"`
NumThread
int
`json:"num_thread,omitempty"`
NumThread
int
`json:"num_thread,omitempty"`
// Unused: RopeFrequencyBase is ignored. Instead the value in the model will be used
RopeFrequencyBase
float32
`json:"rope_frequency_base,omitempty"`
// Unused: RopeFrequencyScale is ignored. Instead the value in the model will be used
RopeFrequencyScale
float32
`json:"rope_frequency_scale,omitempty"`
}
}
type
EmbeddingRequest
struct
{
type
EmbeddingRequest
struct
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment