You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raiseValueError("OPENAI_API_KEY environment variable must be set")
68
+
69
+
lm=LM(model="gpt-3.5-turbo", api_key=api_key)
70
+
71
+
# Test problems of increasing complexity
72
+
problems= [
73
+
# Simple rate problem
74
+
"If a car travels at 50 miles per hour for 3 hours, how far does it travel?",
75
+
76
+
# Multi-step problem with unit conversion
77
+
"A factory produces 120 widgets per hour and operates for 8 hours per day. If each widget requires 0.5 pounds of material, how many pounds of material are needed per week (5 days)?",
78
+
79
+
# Problem requiring identifying relevant information
80
+
"A store sells notebooks for $4 each and pens for $2 each. A student needs 3 notebooks and wants to spend exactly $20 in total. How many pens should they buy?",
81
+
82
+
# Problem with distracting information
83
+
"In a school library with 1000 books, 40% are fiction and 35% are non-fiction. If the remaining books are reference materials and 15 books are being repaired, how many reference books are available?"
0 commit comments