saucam commited on
Commit
e8a7881
1 Parent(s): ae62a1b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +19 -1
README.md CHANGED
@@ -60,4 +60,22 @@ pipeline = transformers.pipeline(
60
 
61
  outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
62
  print(outputs[0]["generated_text"])
63
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
 
61
  outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
62
  print(outputs[0]["generated_text"])
63
+ ```
64
+
65
+ ## Sample Run
66
+
67
+ ```
68
+ <|user|>
69
+ Beth bakes 4, or 2 dozen batches of cookies in a week. If these cookies are shared amongst 16 people equally, how many cookies does each person consume?</s>
70
+
71
+
72
+ <|assistant|>
73
+ If Beth bakes 4, or 2 dozen batches of cookies in a week, then she bakes a total of 2 x 4 = 8 dozen cookies.
74
+
75
+ If these cookies are shared amongst 16 people equally, each person would consume 8 dozen cookies / 16 people = 0.5 dozen cookies.
76
+
77
+ Since there are 12 cookies in a dozen, each person would consume 0.5 dozen cookies * 12 cookies/dozen = 6 cookies.
78
+
79
+ So, each person consumes 6 cookies.
80
+ ```
81
+