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
f89c2376
Unverified
Commit
f89c2376
authored
Sep 13, 2023
by
Michael Yang
Committed by
GitHub
Sep 13, 2023
Browse files
Merge pull request #525 from jmorganca/mxyng/falcon-decode
fix: add falcon.go
parents
949553db
d0288538
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 @
f89c2376
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