Shitao commited on
Commit
c7dd97a
·
verified ·
1 Parent(s): 5a48fd9

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -1811,7 +1811,7 @@ examples = [
1811
  'response': "Back pain in females lasting a week can stem from various factors. Common causes include muscle strain due to lifting heavy objects or improper posture, spinal issues like herniated discs or osteoporosis, menstrual cramps causing referred pain, urinary tract infections, or pelvic inflammatory disease. Pregnancy-related changes can also contribute. Stress and lack of physical activity may exacerbate symptoms. Proper diagnosis by a healthcare professional is crucial for effective treatment and management."}
1812
  ]
1813
  examples = [get_detailed_example(e['instruct'], e['query'], e['response']) for e in examples]
1814
- examples_prefix = '\n\n'.join(examples) + '\n\n'
1815
  queries = [
1816
  get_detailed_instruct(task, 'how much protein should a female eat'),
1817
  get_detailed_instruct(task, 'summit define')
 
1811
  'response': "Back pain in females lasting a week can stem from various factors. Common causes include muscle strain due to lifting heavy objects or improper posture, spinal issues like herniated discs or osteoporosis, menstrual cramps causing referred pain, urinary tract infections, or pelvic inflammatory disease. Pregnancy-related changes can also contribute. Stress and lack of physical activity may exacerbate symptoms. Proper diagnosis by a healthcare professional is crucial for effective treatment and management."}
1812
  ]
1813
  examples = [get_detailed_example(e['instruct'], e['query'], e['response']) for e in examples]
1814
+ examples_prefix = '\n\n'.join(examples) + '\n\n' # if there not exists any examples, just set examples_prefix = ''
1815
  queries = [
1816
  get_detailed_instruct(task, 'how much protein should a female eat'),
1817
  get_detailed_instruct(task, 'summit define')