Applications Of Neural Probabilistic Modeling To High Energy And Astrophysics