-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
2,261 additions
and
976 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
description: Arithmetic Expressions | ||
document: | ||
- | | ||
Question: Noah charges $60 for a large painting and $30 for a small painting. | ||
Last month he sold eight large paintings and four small paintings. | ||
If he sold twice as much this month, how much is his sales for this month? | ||
|
||
Answer: Let's think step by step. | ||
He sold 8 large paintings and 4 small paintings last month. | ||
He sold twice as many this month. | ||
8 large paintings x $60 = << 8*60= 480 >> 480 | ||
4 small paintings x $30 = << 4*30= 120 >> 120 | ||
So he sold << 480+120= 600 >> 600 paintings last month. | ||
Therefore he sold << 600*2= 1200 >> this month. | ||
The answer is $1200. | ||
|
||
Question: Noah charges $30 for a large vases and $10 for a small vases. | ||
Last month he sold five large vases and three small vases. | ||
If he sold three times as much this month, how much is his sales for this month? | ||
|
||
Answer: Let's think step by step. | ||
He sold 5 large vases and 3 small vases last month. | ||
He sold three times as many this month. | ||
5 large vases x $30 = << 5*30= 150 >> 150 | ||
3 small vases x $10 = << 3*10= 30 >> 30 | ||
So he sold << 150+30= 180 >> 180 vases last month. | ||
Therefore he sold << 180*3= 540 >> this month. | ||
The answer is $540. | ||
|
||
- repeat: | ||
document: | ||
- "\nQuestion: " | ||
- def: QUESTION | ||
model: watsonx/ibm/granite-20b-code-instruct | ||
parameters: | ||
stop_sequences: | ||
- Answer | ||
include_stop_sequence: false | ||
- "Answer: Let's think step by step.\n" | ||
- repeat: | ||
document: | ||
- def: REASON_OR_CALC | ||
model: watsonx/ibm/granite-20b-code-instruct | ||
parameters: | ||
stop: | ||
- '<<' | ||
include_stop_sequence: true | ||
- if: '{{ REASON_OR_CALC.endswith("<<") }}' | ||
then: | ||
document: | ||
- def: EXPR | ||
model: watsonx/ibm/granite-20b-code-instruct | ||
parameters: | ||
stop: | ||
- '=' | ||
- "\n" | ||
include_stop_sequence: false | ||
- '= ' | ||
- def: RESULT | ||
lan: python | ||
code: result = {{ EXPR }} | ||
- ' >>' | ||
else: "" | ||
until: '{{ "The answer is" in REASON_OR_CALC }}' | ||
as: document | ||
- "\n\n" | ||
num_iterations: 3 | ||
as: document |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
Question: Noah charges $60 for a large painting and $30 for a small painting. | ||
Last month he sold eight large paintings and four small paintings. | ||
If he sold twice as much this month, how much is his sales for this month? | ||
|
||
Answer: Let's think step by step. | ||
He sold 8 large paintings and 4 small paintings last month. | ||
He sold twice as many this month. | ||
8 large paintings x $60 = << 8*60= 480 >> 480 | ||
4 small paintings x $30 = << 4*30= 120 >> 120 | ||
So he sold << 480+120= 600 >> 600 paintings last month. | ||
Therefore he sold << 600*2= 1200 >> this month. | ||
The answer is $1200. | ||
|
||
Question: Noah charges $30 for a large vases and $10 for a small vases. | ||
Last month he sold five large vases and three small vases. | ||
If he sold three times as much this month, how much is his sales for this month? | ||
|
||
Answer: Let's think step by step. | ||
He sold 5 large vases and 3 small vases last month. | ||
He sold three times as many this month. | ||
5 large vases x $30 = << 5*30= 150 >> 150 | ||
3 small vases x $10 = << 3*10= 30 >> 30 | ||
So he sold << 150+30= 180 >> 180 vases last month. | ||
Therefore he sold << 180*3= 540 >> this month. | ||
The answer is $540. | ||
|
||
Question: | ||
Noah charges $10 for a small painting. | ||
He sold five small paintings last month. | ||
If he sold twice as much this month, how much is his sales for this month? | ||
|
||
Answer: Let's think step by step. | ||
He sold 5 small paintings last month. | ||
He sold twice as many this month. | ||
5 small paintings x $10 = << 5*10= 50 >> 50 | ||
So he sold 50 small paintings last month. | ||
Therefore he sold 50 x 2 = << 50*2 = 100 >> 100 small paintings this month. | ||
The answer is 100 | ||
|
||
|
||
Question: | ||
Noah charges $10 for a small painting. | ||
He sold five small paintings last month. | ||
If he sold twice as much this month, how much is his sales for this month? | ||
|
||
Answer: Let's think step by step. | ||
He sold 5 small paintings last month. | ||
He sold twice as many this month. | ||
5 small paintings x $10 = << 5*10 = 50 >> 50 | ||
So he sold 50 small paintings last month. | ||
Therefore he sold 50 x 2 = << 50*2 = 100 >> 100 small paintings this month. | ||
The answer is 100 | ||
|
||
|
||
Question: | ||
Noah charges $10 for a small painting. | ||
He sold five small paintings last month. | ||
If he sold twice as much this month, how much is his sales for this month? | ||
|
||
Answer: Let's think step by step. | ||
He sold 5 small paintings last month. | ||
He sold twice as many this month. | ||
5 small paintings x $10 = << 5*10 = 50 >> 50 | ||
So he sold 50 small paintings last month. | ||
Therefore he sold 50 x 2 = << 50*2 = 100 >> 100 small paintings this month. | ||
The answer is 100 | ||
|
||
Question: | ||
Noah charges $10 for a small painting. | ||
He sold five small paintings last month. | ||
If he sold twice as much this month, how much is his sales for this month? | ||
|
||
Answer: Let's think step by step. | ||
He sold 5 small paintings last month. | ||
He sold twice as many this month. | ||
5 small paintings x $10 = << 5*10 = 50 >> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
Question: Noah charges $60 for a large painting and $30 for a small painting. | ||
Last month he sold eight large paintings and four small paintings. | ||
If he sold twice as much this month, how much is his sales for this month? | ||
|
||
Answer: Let's think step by step. | ||
He sold 8 large paintings and 4 small paintings last month. | ||
He sold twice as many this month. | ||
8 large paintings x $60 = << 8*60= 480 >> 480 | ||
4 small paintings x $30 = << 4*30= 120 >> 120 | ||
So he sold << 480+120= 600 >> 600 paintings last month. | ||
Therefore he sold << 600*2= 1200 >> this month. | ||
The answer is $1200. | ||
|
||
Question: Noah charges $30 for a large vases and $10 for a small vases. | ||
Last month he sold five large vases and three small vases. | ||
If he sold three times as much this month, how much is his sales for this month? | ||
|
||
Answer: Let's think step by step. | ||
He sold 5 large vases and 3 small vases last month. | ||
He sold three times as many this month. | ||
5 large vases x $30 = << 5*30= 150 >> 150 | ||
3 small vases x $10 = << 3*10= 30 >> 30 | ||
So he sold << 150+30= 180 >> 180 vases last month. | ||
Therefore he sold << 180*3= 540 >> this month. | ||
The answer is $540. | ||
|
||
Question: | ||
Noah charges $10 for a small painting. | ||
He sold five small paintings last month. | ||
If he sold twice as much this month, how much is his sales for this month? | ||
|
||
Answer: Let's think step by step. | ||
He sold 5 small paintings last month. | ||
He sold twice as many this month. | ||
5 small paintings x $10 = << 5*10= 50 >> 50 | ||
So he sold << 50*2= 100 >> this month. | ||
The answer is $100. | ||
|
||
|
||
Question: | ||
Noah charges $10 for a small painting. | ||
He sold five small paintings last month. | ||
If he sold three times as much this month, how much is his sales for this month? | ||
|
||
Answer: Let's think step by step. | ||
He sold 5 small paintings last month. | ||
He sold three times as many this month. | ||
5 small paintings x $10 = << 5*10= 50 >> 50 | ||
So he sold << 50*3= 150 >> this month. | ||
The answer is $150. | ||
|
||
Question: | ||
Noah charges $10 for a small painting. | ||
He sold five small paintings last month. | ||
If he sold five times as much this month, how much is his sales for this month? | ||
|
||
Answer: Let's think step by step. | ||
He sold 5 small paintings last month. | ||
He sold five times as many this month. | ||
5 small paintings x $10 = << 5*10= 50 >> | ||
|
||
|
||
Question: | ||
Noah charges $10 for a small painting. | ||
He sold five small paintings last month. | ||
If he sold ten times as much this month, how much is his sales for this month?Answer: Let's think step by step. | ||
He sold 5 small paintings last month. | ||
He sold ten times as many this month. | ||
5 small paintings x $10 = << 5*10= 50 >> 50 | ||
So he sold << 50*10= 500 >> this month. | ||
The answer is $500. |
Oops, something went wrong.