shuaills commited on
Commit
5bf06ee
·
verified ·
1 Parent(s): 63492c1

Update README.md

Browse files

use
```python
SYSTEM_PROMPT = (
"You are ChatGPT, a large language model trained by OpenAI.\n"
"Knowledge cutoff: 2024-06\n"
"Current date: 2025-06-28\n"
"Reasoning: medium\n"
"# Valid channels: analysis, commentary, final. "
"Channel must be included for every message.\n"
"Calls to these tools must go to the commentary channel: 'functions'."
)

DEVELOPER_PROMPT = "# Instructions\nUse a friendly tone. Don't use any tools."

def build_prompt(user_msg: str) -> str:
"""Embed user message into the required prompt template."""
return (
f"<|start|>system<|message|>{SYSTEM_PROMPT}<|end|>"
f"<|start|>developer<|message|>{DEVELOPER_PROMPT}<|end|>"
f"<|start|>user<|message|>{user_msg}<|end|>"
f"<|start|>assistant<|channel|>"
)
```
to prepare the inputs.

Files changed (1) hide show
  1. README.md +4 -1
README.md CHANGED
@@ -18,4 +18,7 @@ configs:
18
  data_files:
19
  - split: train
20
  path: data/train-*
21
- ---
 
 
 
 
18
  data_files:
19
  - split: train
20
  path: data/train-*
21
+ license: apache-2.0
22
+ size_categories:
23
+ - 10K<n<100K
24
+ ---