Text this: A machine learning neural network architecture for the accelerating universe based modified gravity