Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .github/assets/rise_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Ignore Python virtual environment
.venv/

# Ignore Jupyter notebooks checkpoints
.ipynb_checkpoints/

29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,32 @@ May 14, 21 | Transformers, BERT, Pre-training | [![nbviewer](https://raw.gith
| | | | | | | |
May 28 | ExamPrep, CLIP | [![nbviewer](https://raw.githubusercontent.com/jupyter/design/master/logos/Badges/nbviewer_badge.svg)](https://nbviewer.org/github/iacopomasi/NLP/blob/main/course/AA2324/2_06_clip_diffusion/2_06_clip_diffusion.ipynb) | [![Download](https://badgen.net/badge/icon/download?icon=terminal&label)](https://github.com/iacopomasi/NLP/blob/main/course/AA2324/2_06_clip_diffusion/) |
| | | | | | | |


### How to open the presentations locally

The following commands have been tested on a Linux machine.
In case you are running another OS, please adapt them to your specific situation.

1. Clone the repository
```sh
git clone https://github.com/iacopomasi/NLP.git
cd NLP/
```
2. Install the dependencies in a virtualenv
```sh
pytho3.10n -m venv .venv # Python 3.10
source .venv/bin/activate
pip install -r requirements.txt
```
3. Run Jupyter
```sh
jupyter notebook
```
4. In the browser that automatically opens up:
- Open the folder where the .ipynb is
- Open the .ipynb presentation you want to see
- Click on this button to start the presentation

![RISE start presentation button](.github/assets/rise_button.png)

5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
jupyter==1.0.0
jupyter-contrib-core==0.3.3
jupyter-contrib-nbextensions==0.5.1
notebook==6.4.3
rise==5.7.1
jupyter-server<2.0.0
notebook==6.5.6
rise==5.7.1