Commit
•
ac24267
1
Parent(s):
42ff5c3
Update README.md
Browse files
README.md
CHANGED
@@ -53,6 +53,20 @@ CapyWiki contains 3 splits:
|
|
53 |
|
54 |
The dataset should contain photos, illustrations, scans, maps and any other media categories in an image format that Wikimedia hosts.
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
## What's the intended use of CapyWiki
|
57 |
|
58 |
Using CapyWiki to train and evaluate neural networks is possible but not exclusive.
|
@@ -74,17 +88,3 @@ The dataset contains:
|
|
74 |
## Help needed
|
75 |
This is a raw dataset. Tasks such as: captioning, content classification (photos, illustrations, etc.), aesthetic classifications, meta-data inclusion (width, height) or the images are open and community contributions for those are more than welcome.
|
76 |
|
77 |
-
## Loading the dataset for downstream use-cases
|
78 |
-
The dataset splis are in a `*.parquet` format and can be read/processed by any tool or library that can read `*.parquet` files.
|
79 |
-
|
80 |
-
If you wish to use the Hugging Face Datasets library you can load the dataset as:
|
81 |
-
|
82 |
-
```py
|
83 |
-
from datasets import load_dataset
|
84 |
-
#Load the public_domain split
|
85 |
-
dataset = load_dataset("opencapybara/CapyWiki-34M", split="public_domain")
|
86 |
-
|
87 |
-
#Now the dataset can be used for any downstream cases e.g.:
|
88 |
-
# first_500_urls = dataset[:500]['url']
|
89 |
-
```
|
90 |
-
|
|
|
53 |
|
54 |
The dataset should contain photos, illustrations, scans, maps and any other media categories in an image format that Wikimedia hosts.
|
55 |
|
56 |
+
## Loading the dataset for downstream use-cases
|
57 |
+
The dataset splis are in a `*.parquet` format and can be read/processed by any tool or library that can read `*.parquet` files.
|
58 |
+
|
59 |
+
If you wish to use the Hugging Face Datasets library you can load the dataset as:
|
60 |
+
|
61 |
+
```py
|
62 |
+
from datasets import load_dataset
|
63 |
+
#Load the public_domain split
|
64 |
+
dataset = load_dataset("opencapybara/CapyWiki-34M", split="public_domain")
|
65 |
+
|
66 |
+
#Now the dataset can be used for any downstream cases e.g.:
|
67 |
+
# first_500_urls = dataset[:500]['url']
|
68 |
+
```
|
69 |
+
|
70 |
## What's the intended use of CapyWiki
|
71 |
|
72 |
Using CapyWiki to train and evaluate neural networks is possible but not exclusive.
|
|
|
88 |
## Help needed
|
89 |
This is a raw dataset. Tasks such as: captioning, content classification (photos, illustrations, etc.), aesthetic classifications, meta-data inclusion (width, height) or the images are open and community contributions for those are more than welcome.
|
90 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|