mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-24 17:05:03 +00:00
fix: Unify Prompts (#254)
* remove cot * fix prompt template * fix pool matrix * spiral matrix fixed
This commit is contained in:
parent
49db4ed761
commit
01e1c8f9af
31 changed files with 65 additions and 354 deletions
|
|
@ -11,25 +11,8 @@ from ..factory import ProceduralDataset, register_dataset
|
|||
QUESTION_TEMPLATE = """Your job is to perform max/average pooling on the given matrix.
|
||||
The stride is equal to the kernel size, meaning there is no overlap between the pooling regions.
|
||||
|
||||
Example 1:
|
||||
- Input: Perform max pooling on the following matrix with a kernel size of 2:
|
||||
1 2 3 4
|
||||
5 6 7 8
|
||||
9 10 11 12
|
||||
13 14 15 16
|
||||
- Output:
|
||||
6 8
|
||||
14 16
|
||||
|
||||
Example 2:
|
||||
- Input: Perform average pooling on the following matrix with a kernel size of 2:
|
||||
1 2 3 4
|
||||
5 6 7 8
|
||||
9 10 11 12
|
||||
13 14 15 16
|
||||
- Output:
|
||||
3.5 5.5
|
||||
11.5 13.5
|
||||
Your output should be a matrix in the same format as the input matrix.
|
||||
The output matrix is smaller than the input matrix when the kernel size is greater than 1, and its elements may be floating-point numbers.
|
||||
|
||||
Perform {pool_type} pooling on the following matrix with a kernel size of {pool_size}:
|
||||
{matrix}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue