Readit News logoReadit News
andrecosta commented on Git and Jupyter Notebooks Guide   reviewnb.com/git-jupyter-... · Posted by u/sixhobbits
wdroz · 3 years ago
If you don't need to "commit" the output, you can just use nbconvert[0]:

    jupyter nbconvert --clear-output --inplace my_notebook.ipynb
So you can use git as usual, like for code.

[0] -- https://nbconvert.readthedocs.io/en/latest/

andrecosta · 3 years ago
nbstripout[0] does that and installs a pre-commit hook

[0] -- https://github.com/kynan/nbstripout

andrecosta commented on Nbterm: Jupyter Notebooks in the Terminal   blog.jupyter.org/nbterm-j... · Posted by u/3l3ktr4
kenward · 5 years ago
Slightly tangent, but has anyone figured out a good solution for version controlling jupyter notebooks?

The closest thing that we've found has been to use the notebook percent format in a simple .py file [0][1]. It plays with git much nicer than an .ipynb and it is still interactive enough for rapid prototyping. However, it would be nice to have some first-class support from Jupyter on this.

[0] https://jupytext.readthedocs.io/en/latest/formats.html?highl...

[1] https://code.visualstudio.com/docs/python/jupyter-support-py

andrecosta commented on Self Supervised Learning in NLP   amitness.com/2020/05/self... · Posted by u/amitness
amitness · 6 years ago
Haha, just imagine if an AI faces Chandler
andrecosta · 6 years ago
Towards Multimodal Sarcasm Detection (An _Obviously_ Perfect Paper)

https://www.aclweb.org/anthology/P19-1455

u/andrecosta

KarmaCake day3February 12, 2014View Original