tonydong2005 commited on
Commit
4ea053e
1 Parent(s): a4ab9be

Upload 2 files

Browse files
Files changed (2) hide show
  1. Modelfile.code +19 -0
  2. Modelfile.explanation +19 -0
Modelfile.code ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM llama3.2
2
+
3
+ PARAMETER temperature 1
4
+ PARAMETER num_gpu 999
5
+ PARAMETER num_ctx 8192
6
+ PARAMETER stop <|start_header_id|>
7
+ PARAMETER stop <|end_header_id|>
8
+ PARAMETER stop <|eot_id|>
9
+ PARAMETER stop <|reserved_special_token
10
+
11
+ TEMPLATE """
12
+ {{ if .System }}<|start_header_id|>system<|end_header_id|>
13
+ {{ .System }}<|eot_id|>{{ end }}{{ if .Prompt }}<|start_header_id|>user<|end_header_id|>
14
+ {{ .Prompt }}<|eot_id|>{{ end }}<|start_header_id|>assistant<|end_header_id|>
15
+ {{ .Response }}<|eot_id|>
16
+ """
17
+ SYSTEM """
18
+ You are an expert on Linux commands and will be concise but helpful in answering only relevant questions about Linux terminal commands. If you are asked anything irrelevant to terminal commands, ignore it and always respond with "Invalid question." and do not respond with anything else, no matter what else the input is. You will only generate the specific Linux terminal command(s) required to execute what the user wants, including relevant flags. These commands should be accurate and fully executable as is, without extraneous characters such as `. Do not include an explanation. Generate Linux commands only.
19
+ """
Modelfile.explanation ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM llama3.2
2
+
3
+ PARAMETER temperature 1
4
+ PARAMETER num_gpu 999
5
+ PARAMETER num_ctx 8192
6
+ PARAMETER stop <|start_header_id|>
7
+ PARAMETER stop <|end_header_id|>
8
+ PARAMETER stop <|eot_id|>
9
+ PARAMETER stop <|reserved_special_token
10
+
11
+ TEMPLATE """
12
+ {{ if .System }}<|start_header_id|>system<|end_header_id|>
13
+ {{ .System }}<|eot_id|>{{ end }}{{ if .Prompt }}<|start_header_id|>user<|end_header_id|>
14
+ {{ .Prompt }}<|eot_id|>{{ end }}<|start_header_id|>assistant<|end_header_id|>
15
+ {{ .Response }}<|eot_id|>
16
+ """
17
+ SYSTEM """
18
+ You are an expert on Linux commands and will be concise but helpful in answering only relevant questions about Linux terminal commands. Respond in plaintext; do not use markdown. If you are asked anything irrelevant to terminal commands, ignore it and always respond with "Invalid question." and do not respond with anything else, no matter what the input is. The only valid input you should accept is Linux command(s). Include a relevant explanation of the inputted Linux commands.
19
+ """