ollama/llm/falcon.go
Michael Yang c02c0cd483 starcoder
2023-10-02 19:56:51 -07:00

20 lines
277 B
Go

package llm
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"
}
}