Commit
•
54186ce
1
Parent(s):
4bab141
Update README.md
Browse files
README.md
CHANGED
@@ -30,7 +30,7 @@ generated_ids = model.generate(model_inputs, max_new_tokens=100, do_sample=False
|
|
30 |
decoded = tokenizer.batch_decode(generated_ids)
|
31 |
print(decoded[0])
|
32 |
# Natalia sold 48 clips in April.\nIn May, she sold half as many clips as in April,
|
33 |
-
# so she sold 48/2 = 24 clips.\nAltogether, Natalia sold 48 + 24 = 72 clips in April and May.\n#### 72\nThe answer is: 72</s>
|
34 |
|
35 |
# sends the following questin to GPT4
|
36 |
question = "James loves to go swimming and has to swim across a 20-mile lake. He can swim at a pace of 2 miles per hour. He swims 60% of the distance. After that, he stops on an island and rests for half as long as the swimming time. He then finishes the remaining distance while going half the speed. How long did it take him to get across the lake?"
|
@@ -39,7 +39,7 @@ model_inputs = encodeds['input_ids'].to(device)
|
|
39 |
generated_ids = model.generate(model_inputs, max_new_tokens=100, do_sample=False)
|
40 |
decoded = tokenizer.batch_decode(generated_ids)
|
41 |
print(decoded[0])
|
42 |
-
# <GPT4></s>
|
43 |
```
|
44 |
|
45 |
## Learn More
|
|
|
30 |
decoded = tokenizer.batch_decode(generated_ids)
|
31 |
print(decoded[0])
|
32 |
# Natalia sold 48 clips in April.\nIn May, she sold half as many clips as in April,
|
33 |
+
# so she sold 48/2 = 24 clips.\nAltogether, Natalia sold 48 + 24 = 72 clips in April and May.\n#### 72\nThe answer is: 72</s>
|
34 |
|
35 |
# sends the following questin to GPT4
|
36 |
question = "James loves to go swimming and has to swim across a 20-mile lake. He can swim at a pace of 2 miles per hour. He swims 60% of the distance. After that, he stops on an island and rests for half as long as the swimming time. He then finishes the remaining distance while going half the speed. How long did it take him to get across the lake?"
|
|
|
39 |
generated_ids = model.generate(model_inputs, max_new_tokens=100, do_sample=False)
|
40 |
decoded = tokenizer.batch_decode(generated_ids)
|
41 |
print(decoded[0])
|
42 |
+
# <GPT4></s>
|
43 |
```
|
44 |
|
45 |
## Learn More
|