AI, Artificial Intelligence, Machine Learning, Large Language Models, Conversational AI.
dspy.settings.configure(lm=turbo) # Load math questions from the GSM8K dataset gsm8k = GSM8K() gsm8k_trainset, gsm8k_devset = gsm8k.train[:10], gsm8k.dev[:10] Then you can print the training set as seen below: print(gsm8k_trainset) You can see the number of examples, the question for each and the