Datasets:
feat(materialize): added materialization script, updated readme
Browse files- README.md +3 -2
- materialize.py +7 -0
README.md
CHANGED
@@ -36,7 +36,9 @@ task_categories:
|
|
36 |
|
37 |
### Dataset summary
|
38 |
|
39 |
-
This dataset contains league of legends champions' quotes parsed from [fandom](https://leagueoflegends.fandom.com).
|
|
|
|
|
40 |
The dataset is available in the following configurations:
|
41 |
|
42 |
1. `vanilla` - all data pulled from the website without significant modifications apart from the web page structure parsing;
|
@@ -44,7 +46,6 @@ The dataset is available in the following configurations:
|
|
44 |
1. `annotated` - an extended version of the full configuration with a couple of additional columns with labels;
|
45 |
1. `pulled` - same as vanilla, but sound files have been pulled from the website, and `source` column is replaced with `sound`.
|
46 |
|
47 |
-
For an example on the dataset usage refer to [this python notebook](https://cutt.ly/3wEKDUI9).
|
48 |
|
49 |
## Dataset structure
|
50 |
|
|
|
36 |
|
37 |
### Dataset summary
|
38 |
|
39 |
+
This dataset contains league of legends champions' quotes parsed from [fandom](https://leagueoflegends.fandom.com).
|
40 |
+
See dataset viewer at the [derivative repo](/datasets/zeio/auto-pale).
|
41 |
+
See dataset usage example [at google colab](https://cutt.ly/3wEKDUI9).
|
42 |
The dataset is available in the following configurations:
|
43 |
|
44 |
1. `vanilla` - all data pulled from the website without significant modifications apart from the web page structure parsing;
|
|
|
46 |
1. `annotated` - an extended version of the full configuration with a couple of additional columns with labels;
|
47 |
1. `pulled` - same as vanilla, but sound files have been pulled from the website, and `source` column is replaced with `sound`.
|
48 |
|
|
|
49 |
|
50 |
## Dataset structure
|
51 |
|
materialize.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from pale import Pale
|
2 |
+
|
3 |
+
data = Pale(config_name = 'pulled')
|
4 |
+
|
5 |
+
data.download_and_prepare()
|
6 |
+
|
7 |
+
data.as_dataset().push_to_hub('zeio/auto-pale')
|