aloobun commited on
Commit
ea8902a
1 Parent(s): 1948215

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -1
README.md CHANGED
@@ -63,7 +63,7 @@ tokenizer = AutoTokenizer.from_pretrained(
63
  use_fast=False,
64
  )
65
 
66
- prompt = "<|prompt|>Avery opens a flower shop. She ties 8 bunches of flowers with 9 flowers in each bunch. How many bunches would she have if she put 12 flowers in each bunch instead?</s><|answer|>"
67
  encoded_input = tokenizer(prompt, return_tensors='pt')
68
  input_ids=encoded_input['input_ids'].cuda()
69
  streamer = TextStreamer(tokenizer=tokenizer, skip_prompt=True)
@@ -80,3 +80,8 @@ op = model.generate(
80
  ```
81
 
82
  ## Output:
 
 
 
 
 
 
63
  use_fast=False,
64
  )
65
 
66
+ prompt = "<|prompt|>James takes a spinning class 3 times a week. He works out for 1.5 hours each class and burns 7 calories per minute. How many calories does he burn per week?</s><|answer|>"
67
  encoded_input = tokenizer(prompt, return_tensors='pt')
68
  input_ids=encoded_input['input_ids'].cuda()
69
  streamer = TextStreamer(tokenizer=tokenizer, skip_prompt=True)
 
80
  ```
81
 
82
  ## Output:
83
+ >James takes a spinning class 3 times a week, so he spends a total of 3 * 1.5 = 4.5 hours in the class each week.
84
+ >Since there are 60 minutes in an hour, this is equivalent to 4.5 * 60 = 270 minutes.
85
+ >If he burns 7 calories per minute, then he burns a total of 270 * 7 = 1890 calories per week.
86
+ >####1890
87
+ >The answer is: 1890</s>