I've been using https://www.tabnine.com/ for similar AI/deep learning autocompletion, highly recommended.
I can't wait until they release a shell autocomplete solution, I imagine it'll blow the fish shell's (already amazing) autocomplete out of the water. (https://github.com/codota/TabNine/issues/171)