Text this: Machine Learning–Augmented Optimization of Large Bilevel and Two-Stage Stochastic Programs