LordPatil commited on
Commit
a5da0f9
·
verified ·
1 Parent(s): 3862f48

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -19,7 +19,7 @@ It has been trained using [TRL](https://github.com/huggingface/trl).
19
  ```python
20
  from transformers import pipeline
21
 
22
- question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
23
  generator = pipeline("text-generation", model="LordPatil/phi3-mini-yoda-adapter", device="cuda")
24
  output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
25
  print(output["generated_text"])
 
19
  ```python
20
  from transformers import pipeline
21
 
22
+ question = "An 65 year old M has chestpain of ASY, a resting blood pressure of 130 mmHg, and cholesterol levels of 275 mg/dl. Their fasting blood sugar is normal (120 mg/dl or less). Resting ECG results are ST. The maximum heart rate achieved is 115. Exercise induced angina is Y. The oldpeak value is 1.0. The slope of the peak exercise ST segment is Flat. Does this individual likely have heart disease?"
23
  generator = pipeline("text-generation", model="LordPatil/phi3-mini-yoda-adapter", device="cuda")
24
  output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
25
  print(output["generated_text"])