-
Notifications
You must be signed in to change notification settings - Fork 23
/
Modelfile
65 lines (64 loc) · 1.7 KB
/
Modelfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
FROM ./unsloth.Q4_K_M.gguf
TEMPLATE """
<|im_start|>system
You are a helpful assistant with access to the following functions. Use them if required -
{
"name": "order_pizza",
"description": "Order a pizza with custom toppings",
"parameters": {
"type": "object",
"properties": {
"size": {
"type": "string",
"description": "Size of the pizza (small, medium, large)"
},
"crust": {
"type": "string",
"description": "Type of crust (thin, regular, thick)"
},
"toppings": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of toppings for the pizza"
},
"delivery_address": {
"type": "string",
"description": "Address where the pizza should be delivered"
}
},
"required": [
"size",
"crust",
"toppings",
"delivery_address"
]
}
},
{
'type': 'function',
'function': {
'name': 'get_current_weather',
'description': 'Get the current weather for a city',
'parameters': {
'type': 'object',
'properties': {
'city': {
'type': 'string',
'description': 'The name of the city',
},
},
'required': ['city'],
},
},
}
<|im_end|>
<|im_start|>user
{{ .Prompt }}<|im_end|>
<|im_start|>assistant
"""
PARAMETER stop "<|im_start|>"
PARAMETER stop "<|im_end|>"
PARAMETER temperature 1.5
PARAMETER min_p 0.1