Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
fb6cbc02
Commit
fb6cbc02
authored
Jun 27, 2024
by
Michael Yang
Browse files
update named templates
parent
326363b3
Changes
75
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
125 additions
and
0 deletions
+125
-0
template/testdata/alfred.gotmpl/user
template/testdata/alfred.gotmpl/user
+1
-0
template/testdata/alfred.gotmpl/user-assistant-user
template/testdata/alfred.gotmpl/user-assistant-user
+1
-0
template/testdata/alpaca.gotmpl/system-user-assistant-user
template/testdata/alpaca.gotmpl/system-user-assistant-user
+10
-0
template/testdata/alpaca.gotmpl/user
template/testdata/alpaca.gotmpl/user
+4
-0
template/testdata/alpaca.gotmpl/user-assistant-user
template/testdata/alpaca.gotmpl/user-assistant-user
+10
-0
template/testdata/chatml.gotmpl/system-user-assistant-user
template/testdata/chatml.gotmpl/system-user-assistant-user
+9
-0
template/testdata/chatml.gotmpl/user
template/testdata/chatml.gotmpl/user
+3
-0
template/testdata/chatml.gotmpl/user-assistant-user
template/testdata/chatml.gotmpl/user-assistant-user
+7
-0
template/testdata/chatqa.gotmpl/system-user-assistant-user
template/testdata/chatqa.gotmpl/system-user-assistant-user
+9
-0
template/testdata/chatqa.gotmpl/user
template/testdata/chatqa.gotmpl/user
+3
-0
template/testdata/chatqa.gotmpl/user-assistant-user
template/testdata/chatqa.gotmpl/user-assistant-user
+7
-0
template/testdata/codellama-70b-instruct.gotmpl/system-user-assistant-user
.../codellama-70b-instruct.gotmpl/system-user-assistant-user
+11
-0
template/testdata/codellama-70b-instruct.gotmpl/user
template/testdata/codellama-70b-instruct.gotmpl/user
+5
-0
template/testdata/codellama-70b-instruct.gotmpl/user-assistant-user
...estdata/codellama-70b-instruct.gotmpl/user-assistant-user
+9
-0
template/testdata/falcon-instruct.gotmpl/system-user-assistant-user
...estdata/falcon-instruct.gotmpl/system-user-assistant-user
+8
-0
template/testdata/falcon-instruct.gotmpl/user
template/testdata/falcon-instruct.gotmpl/user
+3
-0
template/testdata/falcon-instruct.gotmpl/user-assistant-user
template/testdata/falcon-instruct.gotmpl/user-assistant-user
+7
-0
template/testdata/gemma-instruct.gotmpl/system-user-assistant-user
...testdata/gemma-instruct.gotmpl/system-user-assistant-user
+8
-0
template/testdata/gemma-instruct.gotmpl/user
template/testdata/gemma-instruct.gotmpl/user
+3
-0
template/testdata/gemma-instruct.gotmpl/user-assistant-user
template/testdata/gemma-instruct.gotmpl/user-assistant-user
+7
-0
No files found.
template/testdata/alfred.gotmpl/user
0 → 100644
View file @
fb6cbc02
<start_user>Hello, how are you?<end_message><start_assistant>
\ No newline at end of file
template/testdata/alfred.gotmpl/user-assistant-user
0 → 100644
View file @
fb6cbc02
<start_user>Hello, how are you?<end_message><start_assistant>I'm doing great. How can I help you today?<end_message><start_user>I'd like to show off how chat templating works!<end_message><start_assistant>
\ No newline at end of file
template/testdata/alpaca.gotmpl/system-user-assistant-user
0 → 100644
View file @
fb6cbc02
You are a helpful assistant.### Instruction:
Hello, how are you?
### Response:
I'm doing great. How can I help you today?
### Instruction:
I'd like to show off how chat templating works!
### Response:
template/testdata/alpaca.gotmpl/user
0 → 100644
View file @
fb6cbc02
### Instruction:
Hello, how are you?
### Response:
template/testdata/alpaca.gotmpl/user-assistant-user
0 → 100644
View file @
fb6cbc02
### Instruction:
Hello, how are you?
### Response:
I'm doing great. How can I help you today?
### Instruction:
I'd like to show off how chat templating works!
### Response:
template/testdata/chatml.gotmpl/system-user-assistant-user
0 → 100644
View file @
fb6cbc02
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Hello, how are you?<|im_end|>
<|im_start|>assistant
I'm doing great. How can I help you today?<|im_end|>
<|im_start|>user
I'd like to show off how chat templating works!<|im_end|>
<|im_start|>assistant
template/testdata/chatml.gotmpl/user
0 → 100644
View file @
fb6cbc02
<|im_start|>user
Hello, how are you?<|im_end|>
<|im_start|>assistant
template/testdata/chatml.gotmpl/user-assistant-user
0 → 100644
View file @
fb6cbc02
<|im_start|>user
Hello, how are you?<|im_end|>
<|im_start|>assistant
I'm doing great. How can I help you today?<|im_end|>
<|im_start|>user
I'd like to show off how chat templating works!<|im_end|>
<|im_start|>assistant
template/testdata/chatqa.gotmpl/system-user-assistant-user
0 → 100644
View file @
fb6cbc02
System: You are a helpful assistant.
User: Hello, how are you?
Assistant: I'm doing great. How can I help you today?
User: I'd like to show off how chat templating works!
Assistant:
\ No newline at end of file
template/testdata/chatqa.gotmpl/user
0 → 100644
View file @
fb6cbc02
User: Hello, how are you?
Assistant:
\ No newline at end of file
template/testdata/chatqa.gotmpl/user-assistant-user
0 → 100644
View file @
fb6cbc02
User: Hello, how are you?
Assistant: I'm doing great. How can I help you today?
User: I'd like to show off how chat templating works!
Assistant:
\ No newline at end of file
template/testdata/codellama-70b-instruct.gotmpl/system-user-assistant-user
0 → 100644
View file @
fb6cbc02
Source: system
You are a helpful assistant. <step> Source: user
Hello, how are you? <step> Source: assistant
I'm doing great. How can I help you today? <step> Source: user
I'd like to show off how chat templating works! <step> Source: assistant
Destination: user
template/testdata/codellama-70b-instruct.gotmpl/user
0 → 100644
View file @
fb6cbc02
Source: user
Hello, how are you? <step> Source: assistant
Destination: user
template/testdata/codellama-70b-instruct.gotmpl/user-assistant-user
0 → 100644
View file @
fb6cbc02
Source: user
Hello, how are you? <step> Source: assistant
I'm doing great. How can I help you today? <step> Source: user
I'd like to show off how chat templating works! <step> Source: assistant
Destination: user
template/testdata/falcon-instruct.gotmpl/system-user-assistant-user
0 → 100644
View file @
fb6cbc02
System: You are a helpful assistant.
User:
Hello, how are you?
Falcon:
I'm doing great. How can I help you today?
User:
I'd like to show off how chat templating works!
Falcon:
template/testdata/falcon-instruct.gotmpl/user
0 → 100644
View file @
fb6cbc02
User:
Hello, how are you?
Falcon:
template/testdata/falcon-instruct.gotmpl/user-assistant-user
0 → 100644
View file @
fb6cbc02
User:
Hello, how are you?
Falcon:
I'm doing great. How can I help you today?
User:
I'd like to show off how chat templating works!
Falcon:
template/testdata/gemma-instruct.gotmpl/system-user-assistant-user
0 → 100644
View file @
fb6cbc02
<start_of_turn>user
You are a helpful assistant.
Hello, how are you?<end_of_turn>
<start_of_turn>model
I'm doing great. How can I help you today?<end_of_turn>
<start_of_turn>user
I'd like to show off how chat templating works!<end_of_turn>
<start_of_turn>model
template/testdata/gemma-instruct.gotmpl/user
0 → 100644
View file @
fb6cbc02
<start_of_turn>user
Hello, how are you?<end_of_turn>
<start_of_turn>model
template/testdata/gemma-instruct.gotmpl/user-assistant-user
0 → 100644
View file @
fb6cbc02
<start_of_turn>user
Hello, how are you?<end_of_turn>
<start_of_turn>model
I'm doing great. How can I help you today?<end_of_turn>
<start_of_turn>user
I'd like to show off how chat templating works!<end_of_turn>
<start_of_turn>model
Prev
1
2
3
4
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment