yasserrmd commited on
Commit
2c7bddd
·
verified ·
1 Parent(s): 7fa698b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +33 -3
README.md CHANGED
@@ -67,9 +67,39 @@ model = AutoModelForCausalLM.from_pretrained(
67
  tokenizer = AutoTokenizer.from_pretrained(model_id)
68
 
69
  # Generate answer
70
- prompt = "What is C. elegans?"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  input_ids = tokenizer.apply_chat_template(
72
- [{"role": "user", "content": prompt}],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  add_generation_prompt=True,
74
  return_tensors="pt",
75
  tokenize=True,
@@ -81,7 +111,7 @@ output = model.generate(
81
  temperature=0.3,
82
  min_p=0.15,
83
  repetition_penalty=1.05,
84
- max_new_tokens=512,
85
  )
86
 
87
  print(tokenizer.decode(output[0], skip_special_tokens=False))
 
67
  tokenizer = AutoTokenizer.from_pretrained(model_id)
68
 
69
  # Generate answer
70
+ prompt = """
71
+ Solve the following problem. Make sure to put the answer (and only answer) inside \boxed{}.
72
+
73
+ Based on analysis of multinational aeromedical databases (e.g., EASA's EMPR, FAA's CAMI database, and military longitudinal studies), which statement accurately characterizes a fundamental limitation in definitively establishing cause-and-effect relationships for cardiovascular morbidity trends among commercial aircrew?
74
+
75
+ A: Stratified sampling protocols universally eliminate survivorship bias
76
+ B: Retroactive harmonization of biochemical markers across jurisdictions enables precise meta-analysis
77
+ C: Inability to fully adjust for dominant confounding variables (e.g., socioeconomic status, undisclosed supplement use)
78
+ D: Cohort studies consistently show declining age-adjusted myocardial infarction rates compared to the general population
79
+ E: Mandatory polysomnography data provides complete correction for sleep disorder comorbidities
80
+ F: Radiation dose metrics exhibit a linear correlation with arrhythmia incidence in jet aircraft pilots
81
+ G: Genome-wide association studies have identified fully penetrant monogenic risk variants specific to aviators
82
+ H: Continuous blood pressure monitoring during all flight phases yields statistically significant longitudinal datasets
83
+ I: Pharmacokinetic interactions between hypoxia and statins are conclusively established in CRF models
84
+ J: Regulatory divergence causes morbidity rates to universally decline across all regions after 2018"""
85
  input_ids = tokenizer.apply_chat_template(
86
+ [{
87
+ "role":"system",
88
+ "content":"""
89
+ You are a reasoning assistant.
90
+
91
+ When solving problems:
92
+ - Always place your reasoning inside think tags.
93
+ - Think in structured steps, but keep it concise (3–4 short steps maximum).
94
+ - Avoid repeating yourself or giving unnecessary background.
95
+ - Use bullet points or brief numbered steps for clarity inside think tag.
96
+ - After think end tag, provide only the final answer clearly and directly.
97
+ - Do not include reasoning outside of the think tags.
98
+
99
+
100
+ """
101
+ },
102
+ {"role": "user", "content": prompt}],
103
  add_generation_prompt=True,
104
  return_tensors="pt",
105
  tokenize=True,
 
111
  temperature=0.3,
112
  min_p=0.15,
113
  repetition_penalty=1.05,
114
+ max_new_tokens=1024,
115
  )
116
 
117
  print(tokenizer.decode(output[0], skip_special_tokens=False))