Datasets:
janvanlooy
commited on
Commit
•
a8ac10c
1
Parent(s):
a5d31a8
added numbers to the instructions
Browse files
README.md
CHANGED
@@ -67,19 +67,19 @@ We have prepared a sample Fondant pipeline for downloading the dataset or part o
|
|
67 |
To execute the pipeline locally, you must have [docker compose](https://docs.docker.com/compose/),
|
68 |
[Python](https://python.org) >=3.8 and [Git](https://git-scm.com/) installed on your system.
|
69 |
|
70 |
-
|
71 |
|
72 |
```bash
|
73 |
pip install fondant
|
74 |
```
|
75 |
|
76 |
-
|
77 |
|
78 |
```bash
|
79 |
git clone https://github.com/ml6team/fondant.git
|
80 |
```
|
81 |
|
82 |
-
|
83 |
|
84 |
```bash
|
85 |
fondant run pipeline --local
|
@@ -100,13 +100,13 @@ load_from_hf_hub = ComponentOp(
|
|
100 |
)
|
101 |
```
|
102 |
|
103 |
-
To visually inspect the results quickly, you can use:
|
104 |
|
105 |
```bash
|
106 |
fondant explore --base_path ./data
|
107 |
```
|
108 |
|
109 |
-
You can also choose to download images to your local machine if you prefer, we have provided an [example script](https://huggingface.co/datasets/fondant-ai/fondant-cc-25m/blob/main/extract_images.py)
|
110 |
that enabled this:
|
111 |
|
112 |
To run the script, you can simply execute the following:
|
|
|
67 |
To execute the pipeline locally, you must have [docker compose](https://docs.docker.com/compose/),
|
68 |
[Python](https://python.org) >=3.8 and [Git](https://git-scm.com/) installed on your system.
|
69 |
|
70 |
+
1) Install Fondant by running:
|
71 |
|
72 |
```bash
|
73 |
pip install fondant
|
74 |
```
|
75 |
|
76 |
+
2) Clone the [Fondant GitHub repository](https://github.com/ml6team/fondant)
|
77 |
|
78 |
```bash
|
79 |
git clone https://github.com/ml6team/fondant.git
|
80 |
```
|
81 |
|
82 |
+
3)Make sure that Docker Compose is running, navigate to `examples/pipelines/filter-cc-25m`, and initiate the pipeline by executing:
|
83 |
|
84 |
```bash
|
85 |
fondant run pipeline --local
|
|
|
100 |
)
|
101 |
```
|
102 |
|
103 |
+
4) To visually inspect the results quickly, you can use:
|
104 |
|
105 |
```bash
|
106 |
fondant explore --base_path ./data
|
107 |
```
|
108 |
|
109 |
+
5) You can also choose to download images to your local machine if you prefer, we have provided an [example script](https://huggingface.co/datasets/fondant-ai/fondant-cc-25m/blob/main/extract_images.py)
|
110 |
that enabled this:
|
111 |
|
112 |
To run the script, you can simply execute the following:
|