Safetensors
qwen2
long-context
large-reasoning-model
4-bit precision
awq
Wanfq commited on
Commit
06aaffd
·
verified ·
1 Parent(s): 8322eec

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -0
README.md CHANGED
@@ -127,6 +127,7 @@ context = "<YOUR_CONTEXT_HERE>"
127
  question = "<YOUR_QUESTION_HERE>"
128
  prompt = template.replace('$DOC$', context.strip()).replace('$Q$', question.strip())
129
  messages = [
 
130
  {"role": "user", "content": prompt}
131
  ]
132
  text = tokenizer.apply_chat_template(
 
127
  question = "<YOUR_QUESTION_HERE>"
128
  prompt = template.replace('$DOC$', context.strip()).replace('$Q$', question.strip())
129
  messages = [
130
+ # {"role": "system", "content": "You are QwenLong-L1, created by Alibaba Tongyi Lab. You are a helpful assistant."}, # Use system prompt to define identity when needed.
131
  {"role": "user", "content": prompt}
132
  ]
133
  text = tokenizer.apply_chat_template(