Skip to content

Commit

Permalink
update dataset squad
Browse files Browse the repository at this point in the history
  • Loading branch information
samos123 committed Sep 26, 2023
1 parent 1f6b3a3 commit 0a6be30
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
3 changes: 1 addition & 2 deletions dataset-squad/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ FROM ${BASE_IMAGE}
COPY requirements.txt .
RUN pip3 install --no-cache-dir -r requirements.txt

COPY ./scripts/ ./scripts
COPY ./src/ ./src
COPY ./load.ipynb ./
6 changes: 4 additions & 2 deletions dataset-squad/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ Explore and develop with a Jupyter Lab.

```sh
# Run a Jupyter Notebook.
docker run -it -v $(pwd)/data:/data -v $(pwd)/src:/dataset/src -p 8888:8888 dataset-squad notebook.sh
docker run -it -v $(pwd)/artifacts:/content/artifacts \
-v $(pwd)/load.ipynb:/content/load.ipynb -p 8888:8888 \
dataset-squad notebook.sh

# In another terminal: Open browser.
open http://localhost:8888
Expand All @@ -26,7 +28,7 @@ open http://localhost:8888
Fetch data.

```sh
docker run -e -v $(pwd)/data:/data -v $(pwd)/logs:/dataset/logs squad-dataset load.sh
docker run -e -v $(pwd)/artifacts:/content/artifacts squad-dataset

head data/*
```
File renamed without changes.
5 changes: 0 additions & 5 deletions dataset-squad/scripts/load.sh

This file was deleted.

0 comments on commit 0a6be30

Please sign in to comment.