← Back to context

Comment by yosito

1 year ago

Let's try...

Prompt: Predict which type of algorithm would be effective to solve sudoku.

Response: A backtracking algorithm is typically best for solving Sudoku puzzles due to its efficiency in exploring all possible number placements systematically until it finds the correct solution.

...seemed to work well enough for me.

Prompt 2: Which type of neural network is most efficient at solving sudoku?

Response 2: Convolutional Neural Networks (CNNs) are particularly effective for solving Sudoku puzzles. They can capture the spatial hierarchies in the grid by processing parts of the grid as images, making them efficient for this type of puzzle-solving task.

...Seems to me that LLMs have no problem with this task.

To me it seems you can get the LLM to predict some tokens that contain words that point to the right algorithm. But the LLM doesn't know what it chose. It just sees some tokens. Do you think it could somehow tell it had chosen a CNN in its response and then do something with that knowledge to run a CNN?