Deep Backward and Galerkin Methods for the Finite State Master Equation