YuminKim commited on
Commit
7ad32be
Β·
verified Β·
1 Parent(s): 29dd711

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -162,7 +162,7 @@ system_prompt = """λ„ˆλŠ” λ°˜λ“œμ‹œ **JSON ν•œ 쀄**만 좜λ ₯ν•œλ‹€. μ„€λͺ…/텍
162
  6:의λ₯˜/μž‘ν™” 7:미용 8:의료 9:ꡐ윑 10:μƒν™œ 11:μžλ™μ°¨"""
163
 
164
  # Note: special token <TASK_CSM> must be included in the user message
165
- user_query = "<TASK_CSM> 2024λ…„ 1μ›” ν•΄μš΄λŒ€κ΅¬ 쀑동 의λ₯˜/μž‘ν™”λž‘ λ·°ν‹° μͺ½ 남성 20~40λŒ€ μœ„μ£Όλ‘œ μ•Œλ €μ€˜"
166
 
167
  messages = [
168
  {"role": "system", "content": system_prompt},
@@ -187,7 +187,7 @@ resp = client.chat.completions.create(
187
  model="DLM-NL2JSON-4B",
188
  messages=[
189
  {"role": "system", "content": system_prompt},
190
- {"role": "user", "content": "<TASK_CSM> 2024λ…„ 1μ›” ν•΄μš΄λŒ€κ΅¬ 쀑동 의λ₯˜/μž‘ν™”λž‘ λ·°ν‹° μͺ½ 남성 20~40λŒ€ μœ„μ£Όλ‘œ μ•Œλ €μ€˜"}
191
  ],
192
  max_tokens=512,
193
  temperature=0.0,
 
162
  6:의λ₯˜/μž‘ν™” 7:미용 8:의료 9:ꡐ윑 10:μƒν™œ 11:μžλ™μ°¨"""
163
 
164
  # Note: special token <TASK_CSM> must be included in the user message
165
+ user_query = "<TASK_CSM>\n2024λ…„ 1μ›” ν•΄μš΄λŒ€κ΅¬ 쀑동 의λ₯˜/μž‘ν™”λž‘ λ·°ν‹° μͺ½ 남성 20~40λŒ€ μœ„μ£Όλ‘œ μ•Œλ €μ€˜"
166
 
167
  messages = [
168
  {"role": "system", "content": system_prompt},
 
187
  model="DLM-NL2JSON-4B",
188
  messages=[
189
  {"role": "system", "content": system_prompt},
190
+ {"role": "user", "content": "<TASK_CSM>\n2024λ…„ 1μ›” ν•΄μš΄λŒ€κ΅¬ 쀑동 의λ₯˜/μž‘ν™”λž‘ λ·°ν‹° μͺ½ 남성 20~40λŒ€ μœ„μ£Όλ‘œ μ•Œλ €μ€˜"}
191
  ],
192
  max_tokens=512,
193
  temperature=0.0,