Skip to content

Commit 8e8e83e

Browse files
fineguyThe TensorFlow Datasets Authors
authored andcommitted
Automated documentation update.
PiperOrigin-RevId: 704700953
1 parent 4721f7d commit 8e8e83e

39 files changed

+7715
-5787
lines changed

docs/catalog/asqa.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
# `asqa`
1313

1414

15+
Note: This dataset has been updated since the last stable release. The new
16+
versions and config marked with
17+
<span class="material-icons" title="Available only in the tfds-nightly package">nights_stay</span>
18+
are only available in the `tfds-nightly` package.
19+
1520
* **Description**:
1621

1722
ASQA is the first long-form question answering dataset that focuses on ambiguous
@@ -31,12 +36,14 @@ repostory we release the ASQA dataset, together with the evaluation code:
3136

3237
* **Versions**:
3338

34-
* **`1.0.0`** (default): Initial release.
35-
* `2.0.0`: Sample ID goes from int32 (overflowing) to int64.
39+
* `1.0.0`: Initial release.
40+
* **`2.0.0`** (default)
41+
<span class="material-icons" title="Available only in the tfds-nightly package">nights_stay</span>:
42+
Sample ID goes from int32 (overflowing) to int64.
3643

3744
* **Download size**: `17.86 MiB`
3845

39-
* **Dataset size**: `14.50 MiB`
46+
* **Dataset size**: `14.51 MiB`
4047

4148
* **Auto-cached**
4249
([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
@@ -114,7 +121,7 @@ wikipages/url | Text | | string | Link to the
114121
<button id="displaydataframe">Display examples...</button>
115122
<div id="dataframecontent" style="overflow-x:auto"></div>
116123
<script>
117-
const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/asqa-1.0.0.html";
124+
const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/asqa-2.0.0.html";
118125
const dataButton = document.getElementById('displaydataframe');
119126
dataButton.addEventListener('click', async () => {
120127
// Disable the button after clicking (dataframe loaded only once).

docs/catalog/dolphin_number_word.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
# `dolphin_number_word`
1313

1414

15+
Note: This dataset has been updated since the last stable release. The new
16+
versions and config marked with
17+
<span class="material-icons" title="Available only in the tfds-nightly package">nights_stay</span>
18+
are only available in the `tfds-nightly` package.
19+
1520
* **Description**:
1621

1722
Dolphin Math Word Problem dataset (2015), as presented in
@@ -26,10 +31,12 @@ https://www.microsoft.com/en-us/research/uploads/prod/2016/02//dolphin-sigmadolp
2631
* **Versions**:
2732

2833
* `0.0.1`: Initial release.
29-
* **`0.0.2`** (default): RaggedTensor fix. Equations and Sources
30-
represented as a singlestring with components delimited by spaces
31-
* `0.0.3`: Reintroduced logic to handle edge-case involving examples
32-
without sources.
34+
* `0.0.2`: RaggedTensor fix. Equations and Sources represented as a
35+
singlestring with components delimited by spaces
36+
* **`0.0.3`** (default)
37+
<span class="material-icons" title="Available only in the tfds-nightly package">nights_stay</span>:
38+
Reintroduced logic to handle edge-case involving examples without
39+
sources.
3340

3441
* **Download size**: `280.42 KiB`
3542

@@ -89,7 +96,7 @@ text | Text | | string |
8996
<button id="displaydataframe">Display examples...</button>
9097
<div id="dataframecontent" style="overflow-x:auto"></div>
9198
<script>
92-
const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/dolphin_number_word-0.0.2.html";
99+
const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/dolphin_number_word-0.0.3.html";
93100
const dataButton = document.getElementById('displaydataframe');
94101
dataButton.addEventListener('click', async () => {
95102
// Disable the button after clicking (dataframe loaded only once).

docs/catalog/duke_ultrasound.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
# `duke_ultrasound`
1313

1414

15+
Note: This dataset has been updated since the last stable release. The new
16+
versions and config marked with
17+
<span class="material-icons" title="Available only in the tfds-nightly package">nights_stay</span>
18+
are only available in the `tfds-nightly` package.
19+
1520
* **Description**:
1621

1722
DukeUltrasound is an ultrasound dataset collected at Duke University with a
@@ -32,8 +37,10 @@ under Grant 5T32GM007171-44. A usage example is available
3237
* **Versions**:
3338

3439
* `1.0.0`: Initial release.
35-
* **`1.0.1`** (default): Fixes parsing of boolean field `harmonic`.
36-
* `2.0.0`: Fix timestamp_id from %Y%m%d%H%M%S to posix timestamp.
40+
* `1.0.1`: Fixes parsing of boolean field `harmonic`.
41+
* **`2.0.0`** (default)
42+
<span class="material-icons" title="Available only in the tfds-nightly package">nights_stay</span>:
43+
Fix timestamp_id from %Y%m%d%H%M%S to posix timestamp.
3744

3845
* **Download size**: `12.78 GiB`
3946

@@ -124,7 +131,7 @@ width | Tensor | | uint32 |
124131
<button id="displaydataframe">Display examples...</button>
125132
<div id="dataframecontent" style="overflow-x:auto"></div>
126133
<script>
127-
const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/duke_ultrasound-1.0.1.html";
134+
const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/duke_ultrasound-2.0.0.html";
128135
const dataButton = document.getElementById('displaydataframe');
129136
dataButton.addEventListener('click', async () => {
130137
// Disable the button after clicking (dataframe loaded only once).

docs/catalog/librispeech.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,4 +159,37 @@ dataButton.addEventListener('click', async () => {
159159

160160
* **Examples**
161161
([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):
162-
Missing.
162+
163+
<!-- mdformat off(HTML should not be auto-formatted) -->
164+
165+
{% framebox %}
166+
167+
<button id="displaydataframe">Display examples...</button>
168+
<div id="dataframecontent" style="overflow-x:auto"></div>
169+
<script>
170+
const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/librispeech-lazy_decode-2.1.2.html";
171+
const dataButton = document.getElementById('displaydataframe');
172+
dataButton.addEventListener('click', async () => {
173+
// Disable the button after clicking (dataframe loaded only once).
174+
dataButton.disabled = true;
175+
176+
const contentPane = document.getElementById('dataframecontent');
177+
try {
178+
const response = await fetch(url);
179+
// Error response codes don't throw an error, so force an error to show
180+
// the error message.
181+
if (!response.ok) throw Error(response.statusText);
182+
183+
const data = await response.text();
184+
contentPane.innerHTML = data;
185+
} catch (e) {
186+
contentPane.innerHTML =
187+
'Error loading examples. If the error persist, please open '
188+
+ 'a new issue.';
189+
}
190+
});
191+
</script>
192+
193+
{% endframebox %}
194+
195+
<!-- mdformat on -->

docs/catalog/oxford_iiit_pet.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,40 @@ species | ClassLabel | | int64 |
9494

9595
* **Examples**
9696
([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):
97-
Missing.
97+
98+
<!-- mdformat off(HTML should not be auto-formatted) -->
99+
100+
{% framebox %}
101+
102+
<button id="displaydataframe">Display examples...</button>
103+
<div id="dataframecontent" style="overflow-x:auto"></div>
104+
<script>
105+
const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/oxford_iiit_pet-4.0.0.html";
106+
const dataButton = document.getElementById('displaydataframe');
107+
dataButton.addEventListener('click', async () => {
108+
// Disable the button after clicking (dataframe loaded only once).
109+
dataButton.disabled = true;
110+
111+
const contentPane = document.getElementById('dataframecontent');
112+
try {
113+
const response = await fetch(url);
114+
// Error response codes don't throw an error, so force an error to show
115+
// the error message.
116+
if (!response.ok) throw Error(response.statusText);
117+
118+
const data = await response.text();
119+
contentPane.innerHTML = data;
120+
} catch (e) {
121+
contentPane.innerHTML =
122+
'Error loading examples. If the error persist, please open '
123+
+ 'a new issue.';
124+
}
125+
});
126+
</script>
127+
128+
{% endframebox %}
129+
130+
<!-- mdformat on -->
98131

99132
* **Citation**:
100133

docs/catalog/plant_leaves.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,40 @@ label | ClassLabel | | int64 |
8383

8484
* **Examples**
8585
([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):
86-
Missing.
86+
87+
<!-- mdformat off(HTML should not be auto-formatted) -->
88+
89+
{% framebox %}
90+
91+
<button id="displaydataframe">Display examples...</button>
92+
<div id="dataframecontent" style="overflow-x:auto"></div>
93+
<script>
94+
const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/plant_leaves-0.1.1.html";
95+
const dataButton = document.getElementById('displaydataframe');
96+
dataButton.addEventListener('click', async () => {
97+
// Disable the button after clicking (dataframe loaded only once).
98+
dataButton.disabled = true;
99+
100+
const contentPane = document.getElementById('dataframecontent');
101+
try {
102+
const response = await fetch(url);
103+
// Error response codes don't throw an error, so force an error to show
104+
// the error message.
105+
if (!response.ok) throw Error(response.statusText);
106+
107+
const data = await response.text();
108+
contentPane.innerHTML = data;
109+
} catch (e) {
110+
contentPane.innerHTML =
111+
'Error loading examples. If the error persist, please open '
112+
+ 'a new issue.';
113+
}
114+
});
115+
</script>
116+
117+
{% endframebox %}
118+
119+
<!-- mdformat on -->
87120

88121
* **Citation**:
89122

docs/catalog/plex_robosuite.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,40 @@ steps/reward | Scalar | | float32 |
9999

100100
* **Examples**
101101
([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):
102-
Missing.
102+
103+
<!-- mdformat off(HTML should not be auto-formatted) -->
104+
105+
{% framebox %}
106+
107+
<button id="displaydataframe">Display examples...</button>
108+
<div id="dataframecontent" style="overflow-x:auto"></div>
109+
<script>
110+
const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/plex_robosuite-0.1.0.html";
111+
const dataButton = document.getElementById('displaydataframe');
112+
dataButton.addEventListener('click', async () => {
113+
// Disable the button after clicking (dataframe loaded only once).
114+
dataButton.disabled = true;
115+
116+
const contentPane = document.getElementById('dataframecontent');
117+
try {
118+
const response = await fetch(url);
119+
// Error response codes don't throw an error, so force an error to show
120+
// the error message.
121+
if (!response.ok) throw Error(response.statusText);
122+
123+
const data = await response.text();
124+
contentPane.innerHTML = data;
125+
} catch (e) {
126+
contentPane.innerHTML =
127+
'Error loading examples. If the error persist, please open '
128+
+ 'a new issue.';
129+
}
130+
});
131+
</script>
132+
133+
{% endframebox %}
134+
135+
<!-- mdformat on -->
103136

104137
* **Citation**:
105138

docs/catalog/pneumonia_mnist.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,40 @@ label | ClassLabel | | int64 |
8181

8282
* **Examples**
8383
([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):
84-
Missing.
84+
85+
<!-- mdformat off(HTML should not be auto-formatted) -->
86+
87+
{% framebox %}
88+
89+
<button id="displaydataframe">Display examples...</button>
90+
<div id="dataframecontent" style="overflow-x:auto"></div>
91+
<script>
92+
const url = "https://storage.googleapis.com/tfds-data/visualization/dataframe/pneumonia_mnist-1.0.0.html";
93+
const dataButton = document.getElementById('displaydataframe');
94+
dataButton.addEventListener('click', async () => {
95+
// Disable the button after clicking (dataframe loaded only once).
96+
dataButton.disabled = true;
97+
98+
const contentPane = document.getElementById('dataframecontent');
99+
try {
100+
const response = await fetch(url);
101+
// Error response codes don't throw an error, so force an error to show
102+
// the error message.
103+
if (!response.ok) throw Error(response.statusText);
104+
105+
const data = await response.text();
106+
contentPane.innerHTML = data;
107+
} catch (e) {
108+
contentPane.innerHTML =
109+
'Error loading examples. If the error persist, please open '
110+
+ 'a new issue.';
111+
}
112+
});
113+
</script>
114+
115+
{% endframebox %}
116+
117+
<!-- mdformat on -->
85118

86119
* **Citation**:
87120

0 commit comments

Comments
 (0)