bacon.model for input