|
name: mamba-chat |
|
backend: mamba |
|
parameters: |
|
model: "havenhq/mamba-chat" |
|
|
|
trimsuffix: |
|
- <|endoftext|> |
|
|
|
|
|
|
|
template: |
|
chat_message: | |
|
{{if eq .RoleName "assistant"}}<|assistant|>{{else if eq .RoleName "system"}}<|system|>{{else if eq .RoleName "user"}}<|user|>{{end}} |
|
{{if .Content}}{{.Content}}{{end}} |
|
</s> |
|
|
|
chat: | |
|
{{.Input}} |
|
<|assistant|> |
|
|
|
completion: | |
|
{{.Input}} |
|
usage: | |
|
curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{ |
|
"model": "mamba-chat", |
|
"messages": [{"role": "user", "content": "how are you doing"}], |
|
"temperature": 0.7 |
|
}' |