Entity embeddings

Is there a particular reason why you extracted the layers vs using hooks to grab the output at the embedding layer? For more context:

(I guess one is more raw PyTorch while the other is more fastai like.)