The company is using edge models that take up only megabytes of space, can run on most phones with existing processors, and can work offline.