Szymon Woźniak
commited on
Commit
•
b9dd71f
1
Parent(s):
5c9a6f2
move files over to huggingface repo, to ensure availability. properly set dataset version to 2.0.0
Browse files- .gitattributes +1 -0
- airbnb.py +5 -2
- data/amsterdam_weekdays.csv +3 -0
- data/amsterdam_weekends.csv +3 -0
- data/athens_weekdays.csv +3 -0
- data/athens_weekends.csv +3 -0
- data/barcelona_weekdays.csv +3 -0
- data/barcelona_weekends.csv +3 -0
- data/berlin_weekdays.csv +3 -0
- data/berlin_weekends.csv +3 -0
- data/budapest_weekdays.csv +3 -0
- data/budapest_weekends.csv +3 -0
- data/lisbon_weekdays.csv +3 -0
- data/lisbon_weekends.csv +3 -0
- data/london_weekdays.csv +3 -0
- data/london_weekends.csv +3 -0
- data/paris_weekdays.csv +3 -0
- data/paris_weekends.csv +3 -0
- data/rome_weekdays.csv +3 -0
- data/rome_weekends.csv +3 -0
- data/vienna_weekdays.csv +3 -0
- data/vienna_weekends.csv +3 -0
.gitattributes
CHANGED
@@ -52,3 +52,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
52 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
53 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
54 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
|
|
|
52 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
53 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
54 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
55 |
+
*.csv filter=lfs diff=lfs merge=lfs -text
|
airbnb.py
CHANGED
@@ -42,7 +42,7 @@ _CITIES = [
|
|
42 |
"Vienna"
|
43 |
]
|
44 |
|
45 |
-
_BASE_URL = "
|
46 |
_URL_TEMPLATE = _BASE_URL + "{city}_{day_type}.csv"
|
47 |
|
48 |
class DayType(str, Enum):
|
@@ -76,6 +76,7 @@ class AirbnbConfig(datasets.BuilderConfig):
|
|
76 |
_WEEKDAY_FILES = [AirbnbFile(city=city, day_type=DayType.WEEKDAYS) for city in _CITIES]
|
77 |
_WEEKEND_FILES = [AirbnbFile(city=city, day_type=DayType.WEEKENDS) for city in _CITIES]
|
78 |
|
|
|
79 |
class Airbnb(datasets.GeneratorBasedBuilder):
|
80 |
""""""
|
81 |
|
@@ -83,14 +84,17 @@ class Airbnb(datasets.GeneratorBasedBuilder):
|
|
83 |
AirbnbConfig(
|
84 |
name=DayType.WEEKDAYS.value,
|
85 |
files=_WEEKDAY_FILES,
|
|
|
86 |
),
|
87 |
AirbnbConfig(
|
88 |
name=DayType.WEEKENDS.value,
|
89 |
files=_WEEKEND_FILES,
|
|
|
90 |
),
|
91 |
AirbnbConfig(
|
92 |
name="all",
|
93 |
files=_WEEKDAY_FILES + _WEEKEND_FILES,
|
|
|
94 |
),
|
95 |
]
|
96 |
|
@@ -128,7 +132,6 @@ class Airbnb(datasets.GeneratorBasedBuilder):
|
|
128 |
supervised_keys=None,
|
129 |
homepage="https://zenodo.org/record/4446043#.ZEV8d-zMI-R",
|
130 |
citation=_CITATION,
|
131 |
-
version=datasets.Version("2.0.0"),
|
132 |
)
|
133 |
|
134 |
def _split_generators(self, dl_manager):
|
|
|
42 |
"Vienna"
|
43 |
]
|
44 |
|
45 |
+
_BASE_URL = "data/"
|
46 |
_URL_TEMPLATE = _BASE_URL + "{city}_{day_type}.csv"
|
47 |
|
48 |
class DayType(str, Enum):
|
|
|
76 |
_WEEKDAY_FILES = [AirbnbFile(city=city, day_type=DayType.WEEKDAYS) for city in _CITIES]
|
77 |
_WEEKEND_FILES = [AirbnbFile(city=city, day_type=DayType.WEEKENDS) for city in _CITIES]
|
78 |
|
79 |
+
_DATASET_VERSION = "2.0.0"
|
80 |
class Airbnb(datasets.GeneratorBasedBuilder):
|
81 |
""""""
|
82 |
|
|
|
84 |
AirbnbConfig(
|
85 |
name=DayType.WEEKDAYS.value,
|
86 |
files=_WEEKDAY_FILES,
|
87 |
+
version=datasets.Version(_DATASET_VERSION),
|
88 |
),
|
89 |
AirbnbConfig(
|
90 |
name=DayType.WEEKENDS.value,
|
91 |
files=_WEEKEND_FILES,
|
92 |
+
version=datasets.Version(_DATASET_VERSION),
|
93 |
),
|
94 |
AirbnbConfig(
|
95 |
name="all",
|
96 |
files=_WEEKDAY_FILES + _WEEKEND_FILES,
|
97 |
+
version=datasets.Version(_DATASET_VERSION),
|
98 |
),
|
99 |
]
|
100 |
|
|
|
132 |
supervised_keys=None,
|
133 |
homepage="https://zenodo.org/record/4446043#.ZEV8d-zMI-R",
|
134 |
citation=_CITATION,
|
|
|
135 |
)
|
136 |
|
137 |
def _split_generators(self, dl_manager):
|
data/amsterdam_weekdays.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:36ff1e6d5d66310b3a0ec88993878e035301f564ed5e626ee670641b5b1ebba7
|
3 |
+
size 226649
|
data/amsterdam_weekends.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76fa712de609bcf7197744c3524bfd5b86f0b44863e9ce1b5b1393c86af04fe4
|
3 |
+
size 200999
|
data/athens_weekdays.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5ed7ddf922b9e2168c3d2d07586af8cb68dfd804a79f9cf3b0b52ad89ff7c86c
|
3 |
+
size 554593
|
data/athens_weekends.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4dfdaf4f77bb292e6303b6126be8b63349771f4d880459eba7d2b4094ea2634f
|
3 |
+
size 549401
|
data/barcelona_weekdays.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e7cd1eef4380a2d2f761a444ac2c4056e3c00b1c1409cf51b19763dc0bf866e2
|
3 |
+
size 319677
|
data/barcelona_weekends.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b5cd6e5e9d79a4a5a87e7cf7d8622d1d96d45467f049d478eba344c955d7f1f0
|
3 |
+
size 262270
|
data/berlin_weekdays.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eabd288d8a79cad9630fb50210c14ed2ff8d0cb77b2f254e856bac985d0d855d
|
3 |
+
size 269841
|
data/berlin_weekends.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a450625e69876d091dfeb44d9f1198e0c1acce9708218c5cda2396d640a13cf2
|
3 |
+
size 249378
|
data/budapest_weekdays.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c8eca551d46caa281e054dc371f650f867a85df1baa41301f1043302725be36
|
3 |
+
size 434179
|
data/budapest_weekends.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd5d474271396094a80d6f16e49fc1efcd820776f31bbc3763117a3f64d71c9e
|
3 |
+
size 407256
|
data/lisbon_weekdays.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eceab674107f81be3a334b45ea1e62dc2b0832951a1d7ee9c6b7e9d05e0bdfcd
|
3 |
+
size 593095
|
data/lisbon_weekends.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0ea48c1919455055e1035492c833886eeb12864fe4cbe0dcc9bb3033668da5b1
|
3 |
+
size 603366
|
data/london_weekdays.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7ce2e81a3be8f49d1e0712659de6b82daeb3e1fdfd23ace4fe3acebf4a34469
|
3 |
+
size 960351
|
data/london_weekends.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a51114b4445240b6120fe129471e48deca06dc190bf1a3942de09e44b45b7b91
|
3 |
+
size 1120236
|
data/paris_weekdays.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f1bca999f7af502b57727cd8bf4808f4ab997e5d53730e7e824d0c896ec322f8
|
3 |
+
size 650063
|
data/paris_weekends.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a118dfcb3777243f376739b638ba3519942834f01e2367748ffbdb5e6d6a48be
|
3 |
+
size 740574
|
data/rome_weekdays.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:704db2d157647a0a060e70086e896bd936c9de77a87b09fbdaba8f1a6b8b0d6e
|
3 |
+
size 933273
|
data/rome_weekends.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8ffadce917860204e4512e72a1b96cefcf9a41b22297c22faa3111cecf3eac1c
|
3 |
+
size 942795
|
data/vienna_weekdays.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d4af872d5cc40ee7691201c0652b0d5ded9924b64ef20b3ce5136843aa431c02
|
3 |
+
size 362207
|
data/vienna_weekends.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6fbbdf559c2cea0b9a5fe28e5c58741ada025081b9402cca91b5bbdde2ba1a54
|
3 |
+
size 374875
|