Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neptune-ai/neptune-notebooks
📚 Jupyter Notebooks extension for versioning, managing and sharing notebook checkpoints in your machine learning and data science projects.
https://github.com/neptune-ai/neptune-notebooks
cli collaboration experiment jupyterlab ml mlops production registry research snapshot snapshotting team tracking version
Last synced: 3 months ago
JSON representation
📚 Jupyter Notebooks extension for versioning, managing and sharing notebook checkpoints in your machine learning and data science projects.
- Host: GitHub
- URL: https://github.com/neptune-ai/neptune-notebooks
- Owner: neptune-ai
- License: apache-2.0
- Created: 2019-04-23T10:16:25.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-02T14:28:02.000Z (over 1 year ago)
- Last Synced: 2024-09-21T09:14:19.087Z (5 months ago)
- Topics: cli, collaboration, experiment, jupyterlab, ml, mlops, production, registry, research, snapshot, snapshotting, team, tracking, version
- Language: Python
- Homepage: https://docs.neptune.ai/tools/jupyter/overview/
- Size: 1.58 MB
- Stars: 34
- Watchers: 11
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Neptune-Jupyter integration
Neptune is a lightweight experiment tracker that offers a single place to track, compare, store, and collaborate on experiments and models.
The Neptune-Jupyter extension lets you version, manage, and share notebook checkpoints in your projects.
**Note:** The extension currently works for JupyterLab `<4.0`.
## What will you get with this integration?
* Log and display notebook checkpoints either manually or automatically during model training
* Connect notebook checkpoints with model training runs in Neptune
* Organize checkpoints with names and descriptions
* Browse checkpoints history across all notebooks in the project
* Compare Notebooks side-by-side, with diffs for source, markdown, output, and execution count cells
* Share Notebook checkpoints or diffs with persistent links
* Download Notebook checkpoints directly from Neptune or Jupyter
## Resources
* [Documentation](https://docs.neptune.ai/tools/jupyter/overview/)
* [Example notebook in Neptune](https://app.neptune.ai/neptune-ai/credit-default-prediction/n/exploring-application-table-ac75c237-1630-4109-b532-dd125badec0e/ca1df3be-b2e4-4b26-99d6-b7e98a3d4273)## Setup
Install the extension:
```sh
pip install neptune-notebooks
```Enable the extension for Jupyter:
```sh
jupyter nbextension enable --py neptune-notebooks
```In your Jupyter Notebook environment, some Neptune items appear in your toolbar.
1. To connect with Neptune, click the Neptune **Configure** button.
2. Enter your [Neptune credentials](https://docs.neptune.ai/setup/setting_credentials/#finding-your-credentials).
3. To register the notebook in Neptune, click **Upload**.This uploads a first checkpoint of the notebook. Every time you start a Neptune run in the notebook, a checkpoint is uploaded automatically.
For detailed instructions, see the [Neptune documentation](https://docs.neptune.ai/tools/jupyter/installing_extension/).
## Usage
In a notebook cell, import neptune and start a run:
```python
import neptunerun = neptune.init_run()
```Log model-building metadata that you care about:
```python
run["f1_score"] = 0.66
```For what else you can track, see [What you can log and display](https://docs.neptune.ai/logging/what_you_can_log/) in the Neptune docs.
When you're done with the logging, stop the run:
```python
run.stop()
```You can view the notebook snapshot in the run's **Source code** dashboard or the project's **Notebooks** section.
## Support
If you got stuck or simply want to talk to us, here are your options:
* Check our [FAQ page](https://docs.neptune.ai/getting-started/getting-help#frequently-asked-questions)
* You can submit bug reports, feature requests, or contributions directly to this repository
* Chat! When in the Neptune application click on the blue message icon in the bottom-right corner and send a message. A real person will talk to you ASAP (typically very ASAP)
* You can just shoot us an email at [email protected]