Open andrewrreed opened 3 years ago
@melaniebeck This is an awesome, densely-packed notebook! Really enjoyed working through this and learned quite a bit about Gensim and Ray because of it. A few minor fixes documented above, then should be good to go. Lemme know if you have any questions - thanks!
On the runtime image, my understanding is this AMP strictly requires Python >=3.8, and providing a runtime spec (+ maybe some words in the README) is the only way we can convey that, absent any real dependency management system.
We could change https://github.com/fastforwardlabs/train_embeddings_with_gensim/blob/2c94ca2b45cff18004142b25028373061983fa86/.project-metadata.yaml#L10
to JupyterLab
, if a notebook is the main entry point to the project.
(edit: but it won't work until the next release of CML)
.project-metadata.yaml
persist: True
in the yaml that allowed us to start up and continue running a Jupyter session for the end user. That way when they deploy the AMP, the notebook is waiting for them... 🤔train_gensim_word2vec.ipynb
README.md
Copyright source headers
These dang things again! Just need to add them to the top of these modules:
Misc.