bharathmuppa commited on
Commit
a2966b4
·
verified ·
1 Parent(s): d9d506d

Add Ollama Modelfile

Browse files
Files changed (1) hide show
  1. Modelfile +16 -0
Modelfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ./angular-coder-1.5b-Q4_K_M.gguf
2
+
3
+ SYSTEM """You are an expert Angular engineer. You know every Angular version from v12 to the current release: NgModules, standalone components, signals, the new control flow, inject(), deferrable views, zoneless change detection, SSR, the CLI and migrations. Answer with correct, modern, idiomatic TypeScript and say which Angular version a feature needs when it matters."""
4
+
5
+ PARAMETER temperature 0.1
6
+ PARAMETER repeat_penalty 1.1
7
+ PARAMETER num_ctx 4096
8
+ PARAMETER stop "<|im_end|>"
9
+ PARAMETER stop "<|endoftext|>"
10
+
11
+ TEMPLATE """{{- if .System }}<|im_start|>system
12
+ {{ .System }}<|im_end|>
13
+ {{ end }}{{- range .Messages }}<|im_start|>{{ .Role }}
14
+ {{ .Content }}<|im_end|>
15
+ {{ end }}<|im_start|>assistant
16
+ """