Initialize model at the start of every search