This is the a caterpillar of a hawk moth caterpillar. The big black spots are not its real eyes, but simply a trick to convince predators that this caterpillar is a small snake.