geometric_shapes.yaml 5.63 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
dataset_name: geometric_shapes
description: 'Name geometric shapes from their SVG paths.


  '
doc_to_text: 'Q: {{input}}

  A: Let''s think step by step.

  '
fewshot_config:
  sampler: first_n
  samples:
  - input: 'This SVG path element <path d="M 31.00,73.00 L 32.00,59.00 L 44.00,50.00
      L 49.00,41.00 L 64.00,37.00 L 71.00,55.00 L 64.00,76.00 L 52.00,61.00 L 31.00,73.00"/>
      draws a

      Options:

      (A) circle

      (B) heptagon

      (C) hexagon

      (D) kite

      (E) line

      (F) octagon

      (G) pentagon

      (H) rectangle

      (I) sector

      (J) triangle'
    target: 'Let''s think step by step.

      This SVG path element contains "M" and "L" commands. M takes two parameters
      (x,y) and moves the current point to the coordinates (x,y). L takes two parameters
      (x,y) and draws a line from the previous coordinate to the new coordinate (x,y).

      This path can be decomposed into 9 separate commands.

      (1) M 31.00,73.00: Move the current point to 31.00,73.00.

      (2) L 32.00,59.00: Create a line from 31.00,73.00 to 32.00,59.00.

      (3) L 44.00,50.00: Create a line from 32.00,59.00 to 44.00,50.00.

      (4) L 49.00,41.00: Create a line from 44.00,50.00 to 49.00,41.00.

      (5) L 64.00,37.00: Create a line from 49.00,41.00 to 64.00,37.00.

      (6) L 71.00,55.00: Create a line from 64.00,37.00 to 71.00,55.00.

      (7) L 64.00,76.00: Create a line from 71.00,55.00 to 64.00,76.00.

      (8) L 52.00,61.00: Create a line from 64.00,76.00 to 52.00,61.00.

      (9) L 31.00,73.00: Create a line from 52.00,61.00 to 31.00,73.00.

      This SVG path starts at point 31.00,73.00, creates eight consecutive and touching
      lines, and then returns back its starting point, thereby creating an eight-sided
      shape. It does not have any curves or arches. "octagon" is the only eight-sided
      object on the list. So the answer is (F).'
  - input: 'This SVG path element <path d="M 14.19,26.04 L 51.43,39.21 L 58.44,36.69
      L 56.63,30.17 L 48.53,26.66 L 14.19,26.04"/> draws a

      Options:

      (A) circle

      (B) heptagon

      (C) hexagon

      (D) kite

      (E) line

      (F) octagon

      (G) pentagon

      (H) rectangle

      (I) sector

      (J) triangle'
    target: 'Let''s think step by step.

      This SVG path element contains "M" and "L" commands. M takes two parameters
      (x,y) and moves the current point to the coordinates (x,y). L takes two parameters
      (x,y) and draws a line from the previous coordinate to the new coordinate (x,y).

      This path can be decomposed into 6 separate commands.

      (1) M 14.19,26.04: Move the current point to 14.19,26.04.

      (2) L 51.43,39.21: Create a line from 14.19,26.04 to 51.43,39.21.

      (3) L 58.44,36.69: Create a line from 51.43,39.21 to 58.44,36.69.

      (4) L 56.63,30.17: Create a line from 58.44,36.69 to 56.63,30.17.

      (5) L 48.53,26.66: Create a line from 56.63,30.17 to 48.53,26.66.

      (6) L 14.19,26.04: Create a line from 48.53,26.66 to 14.19,26.04.

      This SVG path starts at point 14.19,26.04, creates five consecutive and touching
      lines, and then returns back its starting point, thereby creating a five-sided
      shape. It does not have any curves or arches. "pentagon" is the only five-sided
      polygon on the list. So the answer is (G).'
  - input: 'This SVG path element <path d="M 41.00,43.00 L 37.00,34.00 L 41.00,33.00
      L 45.00,34.00 L 41.00,43.00"/> draws a

      Options:

      (A) circle

      (B) heptagon

      (C) hexagon

      (D) kite

      (E) line

      (F) octagon

      (G) pentagon

      (H) rectangle

      (I) sector

      (J) triangle'
    target: 'Let''s think step by step.

      This SVG path element contains "M" and "L" commands. M takes two parameters
      (x,y) and moves the current point to the coordinates (x,y). L takes two parameters
      (x,y) and draws a line from the previous coordinate to the new coordinate (x,y).

      This path can be decomposed into 5 separate commands.

      (1) M 41.00,43.00: Move the current point to 41.00,43.00.

      (2) L 37.00,34.00: Create a line from 41.00,43.00 to 37.00,34.00.

      (3) L 41.00,33.00: Create a line from 37.00,34.00 to 41.00,33.00.

      (4) L 45.00,34.00: Create a line from 41.00,33.00 to 45.00,34.00.

      (5) L 41.00,43.00: Create a line from 45.00,34.00 to 41.00,43.00.

      This SVG path starts at point 41.00,43.00, creates four consecutive and touching
      lines, and then returns back its starting point, thereby creating a four-sided
      shape. "kite" and "rectangle" are the only two four-sided polygons on the list.
      So, we need to determine which one is the correct answer.

      A kite has two pairs of equal-length adjacent sides, whereas a rectangle has
      two pairs of equal-length alternate (opposite) sides. Now, let''s check whether
      the two adjacent sides of this shape are equal.

      Length of side A: |A| = sqrt((41.00-37.00)^2 + (43.00-34.00)^2) = sqrt((4)^2
      + (9)^2) = sqrt(16 + 81) = sqrt(97).

      Length of side B: |B| = sqrt((37.00-41.00)^2 + (34.00-33.00)^2)) = sqrt((4)^2
      + (1)^2) = sqrt(16 + 1) = sqrt(17).

      Length of side C: |C| = sqrt((41.00-45.00)^2 + (33.00-34.00)^2)) = sqrt((-4)^2
      + (-1)^2) = sqrt(16 + 1) = sqrt(17).

      Length of side D: |D| = sqrt((45.00-41.00)^2 + (34.00-43.00)^2)) = sqrt((4)^2
      + (-9)^2) = sqrt(16 + 81) = sqrt(97).

      Note that |A| = |D| and |B| = |C|. Furthermore, A and D are adjacent and B and
      C are adjacent. Thus, this polygon has two pairs of equal-length adjacent sides
      and is "kite". So the answer is (D).'
include: _cot_fewshot_template_yaml
task: bbh_cot_fewshot_geometric_shapes