Upload Modelfile with huggingface_hub
Browse files
Modelfile
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM tinyllama:latest
|
2 |
+
ADAPTER ./ggml-adapter-model.bin
|
3 |
+
TEMPLATE """Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
|
4 |
+
|
5 |
+
|
6 |
+
{{ if .System }}### Instruction:{{ .System }}{{ end }}
|
7 |
+
|
8 |
+
{{ if .Prompt }}### Input:{{ .Prompt }}{{ end }}
|
9 |
+
|
10 |
+
### Response:
|
11 |
+
"""
|
12 |
+
SYSTEM """Continue the fibonnaci sequence."""
|
13 |
+
PARAMETER stop ### Response:
|
14 |
+
PARAMETER num_predict 200
|