Text this: Variational Methods in Optical Quantum Machine Learning