Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -1,33 +1,76 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
dataset_info:
|
4 |
-
features:
|
5 |
-
- name: example_id
|
6 |
-
dtype: string
|
7 |
-
- name: watchface_id
|
8 |
-
dtype: string
|
9 |
-
- name: hour
|
10 |
-
dtype: int32
|
11 |
-
- name: minute
|
12 |
-
dtype: int32
|
13 |
-
- name: second
|
14 |
-
dtype: int32
|
15 |
-
- name: time_format
|
16 |
-
dtype: string
|
17 |
-
splits:
|
18 |
-
- name: train
|
19 |
-
num_bytes: 111094743
|
20 |
-
num_examples: 800269
|
21 |
-
- name: validation
|
22 |
-
num_bytes: 3549045
|
23 |
-
num_examples: 25600
|
24 |
-
download_size: 41167069
|
25 |
-
dataset_size: 114643788
|
26 |
-
configs:
|
27 |
-
- config_name: default
|
28 |
-
data_files:
|
29 |
-
- split: train
|
30 |
-
path: data/train-*
|
31 |
-
- split: validation
|
32 |
-
path: data/validation-*
|
33 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
dataset_info:
|
4 |
+
features:
|
5 |
+
- name: example_id
|
6 |
+
dtype: string
|
7 |
+
- name: watchface_id
|
8 |
+
dtype: string
|
9 |
+
- name: hour
|
10 |
+
dtype: int32
|
11 |
+
- name: minute
|
12 |
+
dtype: int32
|
13 |
+
- name: second
|
14 |
+
dtype: int32
|
15 |
+
- name: time_format
|
16 |
+
dtype: string
|
17 |
+
splits:
|
18 |
+
- name: train
|
19 |
+
num_bytes: 111094743
|
20 |
+
num_examples: 800269
|
21 |
+
- name: validation
|
22 |
+
num_bytes: 3549045
|
23 |
+
num_examples: 25600
|
24 |
+
download_size: 41167069
|
25 |
+
dataset_size: 114643788
|
26 |
+
configs:
|
27 |
+
- config_name: default
|
28 |
+
data_files:
|
29 |
+
- split: train
|
30 |
+
path: data/train-*
|
31 |
+
- split: validation
|
32 |
+
path: data/validation-*
|
33 |
+
---
|
34 |
+
|
35 |
+
|
36 |
+
# PixMo-Clocks
|
37 |
+
PixMo-Clocks is a collection of synthetic watch faces and time annotations.
|
38 |
+
The data was created using facer.io.
|
39 |
+
The repo supplies the meta-data needed to generate the data but does not directly contain the images
|
40 |
+
|
41 |
+
PixMo-Clocks is a part of the PixMo dataset collection and was used to train the [Molmo family of models](https://huggingface.co/collections/allenai/molmo-66f379e6fe3b8ef090a8ca19)
|
42 |
+
|
43 |
+
Quick links:
|
44 |
+
- 📃 [Paper](https://molmo.allenai.org/paper.pdf)
|
45 |
+
- 🎥 [Blog with Videos](https://molmo.allenai.org/blog)
|
46 |
+
|
47 |
+
|
48 |
+
## Loading
|
49 |
+
|
50 |
+
```python
|
51 |
+
clocks_dataset = datasets.load_dataset("allenai/pixmo-clocks")
|
52 |
+
```
|
53 |
+
|
54 |
+
## Data Format
|
55 |
+
The data includes:
|
56 |
+
- `watchface_id: The watchface id to use to generate the image
|
57 |
+
- `watch_time`: The time the watch was set to, not all the details of the time will be visible on the watchface, so the
|
58 |
+
the following two fields are needed.
|
59 |
+
- `time_format`: The format of the watch, can be:
|
60 |
+
- `"No time visible`": The time cannot be read at all, we still include the examples as no-answer training examples
|
61 |
+
- `"Without AM/PM`": AM/PM cannot be determined
|
62 |
+
- `"With AM/PM`": AM/PM can be determined (either because the watch shows military time, or shows a AM/PM indicator somehow)
|
63 |
+
- `shows_seconds`: Whether seconds are shown
|
64 |
+
|
65 |
+
For convenience, this dataset includes a few fields derived from this data about what is visible on the watch:
|
66 |
+
- `hour_visible`: The hour visible on the watch, between 0 and 23, -1 means not visible, 0 is 12:00am
|
67 |
+
- `minute_visible`: The minute the watch should be set to, between 0 and 59, -1 means not visible
|
68 |
+
- `second_visible`: The second the watch should be set to, between -1 and 59, -1 means not visible
|
69 |
+
- `text`: A text string of the time
|
70 |
+
|
71 |
+
## Generating Images
|
72 |
+
We will include a script to generate the images as part of our code release.
|
73 |
+
|
74 |
+
## Splits
|
75 |
+
The data is divided into validation and train splits. These splits are ``unofficial`` because we do not use this data for evaluation anyway. However,
|
76 |
+
they reflect what was used when training the Molmo models, which were only trained on the train split.
|