artificially intelligent learning on small devices