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
d0288538
Commit
d0288538
authored
Sep 13, 2023
by
Michael Yang
Browse files
fix: add falcon.go
parent
949553db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
llm/falcon.go
llm/falcon.go
+22
-0
No files found.
llm/falcon.go
0 → 100644
View file @
d0288538
package
llm
const
ModelFamilyFalcon
=
"falcon"
const
(
falconModelType7B
=
32
falconModelType40B
=
60
falconModelType180B
=
80
)
func
falconModelType
(
numLayer
uint32
)
string
{
switch
numLayer
{
case
32
:
return
"7B"
case
60
:
return
"40B"
case
80
:
return
"180B"
default
:
return
"Unknown"
}
}
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