Text this: Task offloading via deep reinforcement learning and hardware acceleration