Views
No views yet
"You're an expert physician with deep knowledge of physiology\n{user_prompt}".1input_text = [{"role": "user", "content": "You're an expert physician with deep knowledge of physiology\nWhat effect does GLP-1?"}]
2
3with torch.inference_mode():
4 input_ids = tokenizer.apply_chat_template(input_text, return_tensors="pt", add_generation_prompt=True).to("cuda")
5
6 outputs = model.generate(
7 input_ids,
8 do_sample=True,
9 use_cache=True,
10 repetition_penalty=1.2,
11 max_new_tokens=512,
12 temperature=0.5,
13 top_p=0.95,
14 top_k=100,
15 num_beams=4,
16 early_stopping = True,
17 return_dict_in_generate=True,
18 output_attentions=False,
19 output_hidden_states=False,
20 output_scores=False,
21 pad_token_id=tokenizer.pad_token_id,
22 eos_token_id=tokenizer.eos_token_id
23 )1Decreased HCO3- secretion by the kidney
2
3Explanation: An anion gap metabolic acidosis occurs when the HCO3- concentration of the plasma is normal, but there is a net loss of anions from the body. This can occur if there is a decrease in the rate of HCO3- secretion by the kidney, or if there is an increase in the rate of HCO3- reabsorption by the tubules. Ref: Ganong's Review of Medical Physiology 23rd edition, Chapter 36.1Increases insulin secretion from beta cells
2
3Explanation: GLP-1 increases insulin secretion from beta cells. Ref: Ganong's Review of Medical Physiology 23rd edition, Chapter 35.1Pre Botzinger Complex
2
3Explanation: Pacemaker cells of respiration are located in Pre Botzinger Complex Ref: guyton and hall textbook of medical physiology 12 edition page number: 370,371,372