Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -3,6 +3,8 @@ license: mit
|
|
3 |
task_categories:
|
4 |
- text-classification
|
5 |
- feature-extraction
|
|
|
|
|
6 |
language:
|
7 |
- en
|
8 |
tags:
|
@@ -11,8 +13,8 @@ pretty_name: Perfume dataset
|
|
11 |
size_categories:
|
12 |
- 10K<n<100K
|
13 |
configs:
|
14 |
-
|
15 |
-
|
16 |
---
|
17 |
|
18 |
|
@@ -24,11 +26,30 @@ Perfume dataset, over 26k perfumes
|
|
24 |
|
25 |
## How to use
|
26 |
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
## Dataset Structure
|
30 |
|
31 |
-
**SQLlite
|
32 |
|
33 |
SQL:
|
34 |
```
|
|
|
3 |
task_categories:
|
4 |
- text-classification
|
5 |
- feature-extraction
|
6 |
+
- image-feature-extraction
|
7 |
+
- image-classification
|
8 |
language:
|
9 |
- en
|
10 |
tags:
|
|
|
13 |
size_categories:
|
14 |
- 10K<n<100K
|
15 |
configs:
|
16 |
+
- config_name: perfume_data_raw
|
17 |
+
data_files: perfumes.csv
|
18 |
---
|
19 |
|
20 |
|
|
|
26 |
|
27 |
## How to use
|
28 |
|
29 |
+
```Python
|
30 |
+
from huggingface_hub import hf_hub_download
|
31 |
+
|
32 |
+
# download raw archive file
|
33 |
+
zip_file = hf_hub_download(
|
34 |
+
repo_id='doevent/perfume',
|
35 |
+
repo_type='dataset',
|
36 |
+
filename='images.zip',
|
37 |
+
)
|
38 |
+
```
|
39 |
+
|
40 |
+
```Python
|
41 |
+
import zipfile
|
42 |
+
|
43 |
+
# extract files to your directory
|
44 |
+
dataset_dir = 'images'
|
45 |
+
os.makedirs(dataset_dir, exist_ok=True)
|
46 |
+
with zipfile.ZipFile(zip_file, 'r') as zf:
|
47 |
+
zf.extractall(dataset_dir)
|
48 |
+
```
|
49 |
|
50 |
## Dataset Structure
|
51 |
|
52 |
+
**RAW data: SQLlite, JSON, CSV**
|
53 |
|
54 |
SQL:
|
55 |
```
|