Text this: Multitask Learning for Estimation of Magnetic Parameters Using Pattern Recognition