The brain's ability to learn and distinguish rapid sequences of events is essential for timing-dependent tasks, such as those in sports and music. However, the mechanisms underlying this ability remain an active area of research. Here, we present a Pavlovian-conditioned spiking neural network model that may help elucidate these mechanisms. Using "three-factor learning rule," we conditioned an initially random spiking neural network to discriminate a specific spatiotemporal stimulus - a sequence of two or three pulses delivered within