Created
June 1, 2024 09:01
-
-
Save mudler/4b86b3697947c93d79047cf9e86fe764 to your computer and use it in GitHub Desktop.
asinello
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: minerva-asinello | |
parameters: | |
model: huggingface://mudler/Asinello-Minerva-3B-v0.1-GGUF/Asinello-Minerva-3B-v0.1-q3_k_l.bin | |
stopwords: | |
- </s> | |
- <|im_end|> | |
- <dummy32000> | |
- <|eot_id|> | |
- <|end_of_text|> | |
template: | |
chat: | | |
<|begin_of_text|>{{.Input }} | |
<|start_header_id|>assistant<|end_header_id|> | |
chat_message: | | |
<|start_header_id|>{{if eq .RoleName "assistant"}}assistant{{else if eq .RoleName "system"}}system{{else if eq .RoleName "tool"}}tool{{else if eq .RoleName "user"}}user{{end}}<|end_header_id|> | |
{{ if .FunctionCall -}} | |
Function call: | |
{{ else if eq .RoleName "tool" -}} | |
Function response: | |
{{ end -}} | |
{{ if .Content -}} | |
{{.Content -}} | |
{{ else if .FunctionCall -}} | |
{{ toJson .FunctionCall -}} | |
{{ end -}} | |
</s> | |
completion: | | |
{{.Input}} | |
function: | | |
<|start_header_id|>system<|end_header_id|> | |
You are a function calling AI model. You are provided with function signatures within <tools></tools> XML tags. You may call one or more functions to assist with the user query. Don't make assumptions about what values to plug into functions. Here are the available tools: | |
<tools> | |
{{range .Functions}} | |
{'type': 'function', 'function': {'name': '{{.Name}}', 'description': '{{.Description}}', 'parameters': {{toJson .Parameters}} }} | |
{{end}} | |
</tools> | |
Use the following pydantic model json schema for each tool call you will make: | |
{'title': 'FunctionCall', 'type': 'object', 'properties': {'arguments': {'title': 'Arguments', 'type': 'object'}, 'name': {'title': 'Name', 'type': 'string'}}, 'required': ['arguments', 'name']}<|eot_id|><|start_header_id|>assistant<|end_header_id|> | |
Function call: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment