Skip to content

Commit 6f3d74c

Browse files
author
The TensorFlow Datasets Authors
committed
Automated documentation update.
PiperOrigin-RevId: 812675378
1 parent 920ad7f commit 6f3d74c

File tree

6 files changed

+482
-0
lines changed

6 files changed

+482
-0
lines changed

docs/catalog/_toc.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,6 +1054,18 @@ toc:
10541054
title: asimov_multimodal_auto_val
10551055
- path: /datasets/catalog/asimov_multimodal_manual_val
10561056
title: asimov_multimodal_manual_val
1057+
- path: /datasets/catalog/asimov_v2_constraints_with_rationale
1058+
status: nightly
1059+
title: asimov_v2_constraints_with_rationale
1060+
- path: /datasets/catalog/asimov_v2_constraints_without_rationale
1061+
status: nightly
1062+
title: asimov_v2_constraints_without_rationale
1063+
- path: /datasets/catalog/asimov_v2_injuries
1064+
status: nightly
1065+
title: asimov_v2_injuries
1066+
- path: /datasets/catalog/asimov_v2_videos
1067+
status: nightly
1068+
title: asimov_v2_videos
10571069
- path: /datasets/catalog/asu_table_top_converted_externally_to_rlds
10581070
title: asu_table_top_converted_externally_to_rlds
10591071
- path: /datasets/catalog/austin_buds_dataset_converted_externally_to_rlds
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
<div itemscope itemtype="http://schema.org/Dataset">
2+
<div itemscope itemprop="includedInDataCatalog" itemtype="http://schema.org/DataCatalog">
3+
<meta itemprop="name" content="TensorFlow Datasets" />
4+
</div>
5+
<meta itemprop="name" content="asimov_v2_constraints_with_rationale" />
6+
<meta itemprop="description" content="Dataset to evaluate the ability to reason and adhere to physical safety constraints imposed by embodiment limitations. Rationale for the answer needs to be provided.&#10;&#10;To use this dataset:&#10;&#10;```python&#10;import tensorflow_datasets as tfds&#10;&#10;ds = tfds.load(&#x27;asimov_v2_constraints_with_rationale&#x27;, split=&#x27;train&#x27;)&#10;for ex in ds.take(4):&#10; print(ex)&#10;```&#10;&#10;See [the guide](https://www.tensorflow.org/datasets/overview) for more&#10;informations on [tensorflow_datasets](https://www.tensorflow.org/datasets).&#10;&#10;&lt;img src=&quot;https://storage.googleapis.com/tfds-data/visualization/fig/asimov_v2_constraints_with_rationale-0.1.0.png&quot; alt=&quot;Visualization&quot; width=&quot;500px&quot;&gt;&#10;&#10;" />
7+
<meta itemprop="url" content="https://www.tensorflow.org/datasets/catalog/asimov_v2_constraints_with_rationale" />
8+
<meta itemprop="sameAs" content="https://asimov-benchmark.github.io/v2/" />
9+
<meta itemprop="citation" content="" />
10+
</div>
11+
12+
# `asimov_v2_constraints_with_rationale`
13+
14+
15+
Note: This dataset was added recently and is only available in our
16+
`tfds-nightly` package
17+
<span class="material-icons" title="Available only in the tfds-nightly package">nights_stay</span>.
18+
19+
* **Description**:
20+
21+
Dataset to evaluate the ability to reason and adhere to physical safety
22+
constraints imposed by embodiment limitations. Rationale for the answer needs to
23+
be provided.
24+
25+
* **Homepage**:
26+
[https://asimov-benchmark.github.io/v2/](https://asimov-benchmark.github.io/v2/)
27+
28+
* **Source code**:
29+
[`tfds.robotics.asimov.AsimovV2ConstraintsWithRationale`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/robotics/asimov/asimov_v2.py)
30+
31+
* **Versions**:
32+
33+
* **`0.1.0`** (default): Initial release.
34+
35+
* **Download size**: `Unknown size`
36+
37+
* **Dataset size**: `6.78 MiB`
38+
39+
* **Auto-cached**
40+
([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
41+
Yes
42+
43+
* **Splits**:
44+
45+
Split | Examples
46+
:------ | -------:
47+
`'val'` | 164
48+
49+
* **Feature structure**:
50+
51+
```python
52+
FeaturesDict({
53+
'image': Image(shape=(None, None, 3), dtype=uint8),
54+
'non_violating_objects_bounding_boxes': Text(shape=(), dtype=string),
55+
'prompt': Text(shape=(), dtype=string),
56+
'violating_objects_bounding_boxes': Text(shape=(), dtype=string),
57+
})
58+
```
59+
60+
* **Feature documentation**:
61+
62+
Feature | Class | Shape | Dtype | Description
63+
:----------------------------------- | :----------- | :-------------- | :----- | :----------
64+
| FeaturesDict | | |
65+
image | Image | (None, None, 3) | uint8 |
66+
non_violating_objects_bounding_boxes | Text | | string |
67+
prompt | Text | | string |
68+
violating_objects_bounding_boxes | Text | | string |
69+
70+
* **Supervised keys** (See
71+
[`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
72+
`None`
73+
74+
* **Figure**
75+
([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):
76+
77+
<img src="https://storage.googleapis.com/tfds-data/visualization/fig/asimov_v2_constraints_with_rationale-0.1.0.png" alt="Visualization" width="500px">
78+
79+
* **Examples**
80+
([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):
81+
82+
<!-- mdformat off(HTML should not be auto-formatted) -->
83+
84+
{% framebox %}
85+
86+
<button id="displaydataframe">Display examples...</button>
87+
<div id="dataframecontent" style="overflow-x:auto"></div>
88+
<script>
89+
const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/asimov_v2_constraints_with_rationale-0.1.0.html";
90+
const dataButton = document.getElementById('displaydataframe');
91+
dataButton.addEventListener('click', async () => {
92+
// Disable the button after clicking (dataframe loaded only once).
93+
dataButton.disabled = true;
94+
95+
const contentPane = document.getElementById('dataframecontent');
96+
try {
97+
const response = await fetch(url);
98+
// Error response codes don't throw an error, so force an error to show
99+
// the error message.
100+
if (!response.ok) throw Error(response.statusText);
101+
102+
const data = await response.text();
103+
contentPane.innerHTML = data;
104+
} catch (e) {
105+
contentPane.innerHTML =
106+
'Error loading examples. If the error persist, please open '
107+
+ 'a new issue.';
108+
}
109+
});
110+
</script>
111+
112+
{% endframebox %}
113+
114+
<!-- mdformat on -->
115+
116+
* **Citation**:
117+
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
<div itemscope itemtype="http://schema.org/Dataset">
2+
<div itemscope itemprop="includedInDataCatalog" itemtype="http://schema.org/DataCatalog">
3+
<meta itemprop="name" content="TensorFlow Datasets" />
4+
</div>
5+
<meta itemprop="name" content="asimov_v2_constraints_without_rationale" />
6+
<meta itemprop="description" content="Dataset to evaluate the ability to reason and adhere to physical safety constraints imposed by embodiment limitations. No rationale for the answer needs to be provided.&#10;&#10;To use this dataset:&#10;&#10;```python&#10;import tensorflow_datasets as tfds&#10;&#10;ds = tfds.load(&#x27;asimov_v2_constraints_without_rationale&#x27;, split=&#x27;train&#x27;)&#10;for ex in ds.take(4):&#10; print(ex)&#10;```&#10;&#10;See [the guide](https://www.tensorflow.org/datasets/overview) for more&#10;informations on [tensorflow_datasets](https://www.tensorflow.org/datasets).&#10;&#10;&lt;img src=&quot;https://storage.googleapis.com/tfds-data/visualization/fig/asimov_v2_constraints_without_rationale-0.1.0.png&quot; alt=&quot;Visualization&quot; width=&quot;500px&quot;&gt;&#10;&#10;" />
7+
<meta itemprop="url" content="https://www.tensorflow.org/datasets/catalog/asimov_v2_constraints_without_rationale" />
8+
<meta itemprop="sameAs" content="https://asimov-benchmark.github.io/v2/" />
9+
<meta itemprop="citation" content="" />
10+
</div>
11+
12+
# `asimov_v2_constraints_without_rationale`
13+
14+
15+
Note: This dataset was added recently and is only available in our
16+
`tfds-nightly` package
17+
<span class="material-icons" title="Available only in the tfds-nightly package">nights_stay</span>.
18+
19+
* **Description**:
20+
21+
Dataset to evaluate the ability to reason and adhere to physical safety
22+
constraints imposed by embodiment limitations. No rationale for the answer needs
23+
to be provided.
24+
25+
* **Homepage**:
26+
[https://asimov-benchmark.github.io/v2/](https://asimov-benchmark.github.io/v2/)
27+
28+
* **Source code**:
29+
[`tfds.robotics.asimov.AsimovV2ConstraintsWithoutRationale`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/robotics/asimov/asimov_v2.py)
30+
31+
* **Versions**:
32+
33+
* **`0.1.0`** (default): Initial release.
34+
35+
* **Download size**: `Unknown size`
36+
37+
* **Dataset size**: `6.77 MiB`
38+
39+
* **Auto-cached**
40+
([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
41+
Yes
42+
43+
* **Splits**:
44+
45+
Split | Examples
46+
:------ | -------:
47+
`'val'` | 164
48+
49+
* **Feature structure**:
50+
51+
```python
52+
FeaturesDict({
53+
'image': Image(shape=(None, None, 3), dtype=uint8),
54+
'non_violating_objects_bounding_boxes': Text(shape=(), dtype=string),
55+
'prompt': Text(shape=(), dtype=string),
56+
'violating_objects_bounding_boxes': Text(shape=(), dtype=string),
57+
})
58+
```
59+
60+
* **Feature documentation**:
61+
62+
Feature | Class | Shape | Dtype | Description
63+
:----------------------------------- | :----------- | :-------------- | :----- | :----------
64+
| FeaturesDict | | |
65+
image | Image | (None, None, 3) | uint8 |
66+
non_violating_objects_bounding_boxes | Text | | string |
67+
prompt | Text | | string |
68+
violating_objects_bounding_boxes | Text | | string |
69+
70+
* **Supervised keys** (See
71+
[`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
72+
`None`
73+
74+
* **Figure**
75+
([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):
76+
77+
<img src="https://storage.googleapis.com/tfds-data/visualization/fig/asimov_v2_constraints_without_rationale-0.1.0.png" alt="Visualization" width="500px">
78+
79+
* **Examples**
80+
([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):
81+
82+
<!-- mdformat off(HTML should not be auto-formatted) -->
83+
84+
{% framebox %}
85+
86+
<button id="displaydataframe">Display examples...</button>
87+
<div id="dataframecontent" style="overflow-x:auto"></div>
88+
<script>
89+
const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/asimov_v2_constraints_without_rationale-0.1.0.html";
90+
const dataButton = document.getElementById('displaydataframe');
91+
dataButton.addEventListener('click', async () => {
92+
// Disable the button after clicking (dataframe loaded only once).
93+
dataButton.disabled = true;
94+
95+
const contentPane = document.getElementById('dataframecontent');
96+
try {
97+
const response = await fetch(url);
98+
// Error response codes don't throw an error, so force an error to show
99+
// the error message.
100+
if (!response.ok) throw Error(response.statusText);
101+
102+
const data = await response.text();
103+
contentPane.innerHTML = data;
104+
} catch (e) {
105+
contentPane.innerHTML =
106+
'Error loading examples. If the error persist, please open '
107+
+ 'a new issue.';
108+
}
109+
});
110+
</script>
111+
112+
{% endframebox %}
113+
114+
<!-- mdformat on -->
115+
116+
* **Citation**:
117+

docs/catalog/asimov_v2_injuries.md

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
<div itemscope itemtype="http://schema.org/Dataset">
2+
<div itemscope itemprop="includedInDataCatalog" itemtype="http://schema.org/DataCatalog">
3+
<meta itemprop="name" content="TensorFlow Datasets" />
4+
</div>
5+
<meta itemprop="name" content="asimov_v2_injuries" />
6+
<meta itemprop="description" content="Situations generated from real hospital injury reports.&#10;&#10;To use this dataset:&#10;&#10;```python&#10;import tensorflow_datasets as tfds&#10;&#10;ds = tfds.load(&#x27;asimov_v2_injuries&#x27;, split=&#x27;train&#x27;)&#10;for ex in ds.take(4):&#10; print(ex)&#10;```&#10;&#10;See [the guide](https://www.tensorflow.org/datasets/overview) for more&#10;informations on [tensorflow_datasets](https://www.tensorflow.org/datasets).&#10;&#10;" />
7+
<meta itemprop="url" content="https://www.tensorflow.org/datasets/catalog/asimov_v2_injuries" />
8+
<meta itemprop="sameAs" content="https://asimov-benchmark.github.io/v2/" />
9+
<meta itemprop="citation" content="" />
10+
</div>
11+
12+
# `asimov_v2_injuries`
13+
14+
15+
Note: This dataset was added recently and is only available in our
16+
`tfds-nightly` package
17+
<span class="material-icons" title="Available only in the tfds-nightly package">nights_stay</span>.
18+
19+
* **Description**:
20+
21+
Situations generated from real hospital injury reports.
22+
23+
* **Homepage**:
24+
[https://asimov-benchmark.github.io/v2/](https://asimov-benchmark.github.io/v2/)
25+
26+
* **Source code**:
27+
[`tfds.robotics.asimov.AsimovV2Injuries`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/robotics/asimov/asimov_v2.py)
28+
29+
* **Versions**:
30+
31+
* **`0.1.0`** (default): Initial release.
32+
33+
* **Download size**: `Unknown size`
34+
35+
* **Dataset size**: `2.05 MiB`
36+
37+
* **Auto-cached**
38+
([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
39+
Yes
40+
41+
* **Splits**:
42+
43+
Split | Examples
44+
:------ | -------:
45+
`'val'` | 319
46+
47+
* **Feature structure**:
48+
49+
```python
50+
FeaturesDict({
51+
'answer': Text(shape=(), dtype=string),
52+
'prompt': Text(shape=(), dtype=string),
53+
})
54+
```
55+
56+
* **Feature documentation**:
57+
58+
Feature | Class | Shape | Dtype | Description
59+
:------ | :----------- | :---- | :----- | :----------
60+
| FeaturesDict | | |
61+
answer | Text | | string |
62+
prompt | Text | | string |
63+
64+
* **Supervised keys** (See
65+
[`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
66+
`None`
67+
68+
* **Figure**
69+
([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):
70+
Not supported.
71+
72+
* **Examples**
73+
([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):
74+
75+
<!-- mdformat off(HTML should not be auto-formatted) -->
76+
77+
{% framebox %}
78+
79+
<button id="displaydataframe">Display examples...</button>
80+
<div id="dataframecontent" style="overflow-x:auto"></div>
81+
<script>
82+
const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/asimov_v2_injuries-0.1.0.html";
83+
const dataButton = document.getElementById('displaydataframe');
84+
dataButton.addEventListener('click', async () => {
85+
// Disable the button after clicking (dataframe loaded only once).
86+
dataButton.disabled = true;
87+
88+
const contentPane = document.getElementById('dataframecontent');
89+
try {
90+
const response = await fetch(url);
91+
// Error response codes don't throw an error, so force an error to show
92+
// the error message.
93+
if (!response.ok) throw Error(response.statusText);
94+
95+
const data = await response.text();
96+
contentPane.innerHTML = data;
97+
} catch (e) {
98+
contentPane.innerHTML =
99+
'Error loading examples. If the error persist, please open '
100+
+ 'a new issue.';
101+
}
102+
});
103+
</script>
104+
105+
{% endframebox %}
106+
107+
<!-- mdformat on -->
108+
109+
* **Citation**:
110+

0 commit comments

Comments
 (0)