Improve dataset card: Add task category, library name, and sample usage
Browse filesThis PR enhances the dataset card for the `FreeGraspData` dataset by:
- Adding the `task_categories: robotics` field to the YAML metadata, which improves discoverability on the Hugging Face Hub. The existing `robotics` tag has been moved to this new field.
- Including the `library_name: datasets` field in the metadata to indicate compatibility with the Hugging Face `datasets` library.
- Adding a "Sample Usage" section in the content to provide users with a quick guide on how to load and inspect the dataset, along with a pointer to the main GitHub repository for more detailed examples.
README.md
CHANGED
|
@@ -1,10 +1,14 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
| 2 |
license: cc-by-nc-sa-3.0
|
| 3 |
-
|
| 4 |
size_categories:
|
| 5 |
- n<1K
|
| 6 |
-
|
|
|
|
| 7 |
- robotics
|
|
|
|
| 8 |
- grasping
|
| 9 |
- language
|
| 10 |
- images
|
|
@@ -28,9 +32,8 @@ dataset_info:
|
|
| 28 |
dtype: bool
|
| 29 |
- name: split
|
| 30 |
dtype: string
|
| 31 |
-
language:
|
| 32 |
-
- en
|
| 33 |
---
|
|
|
|
| 34 |
<h1><img height="50px" width="50px" style="display: inline;" src="https://tev-fbk.github.io/FreeGrasp/static/images/robotic_icon.png"> Free-form language-based robotic reasoning and grasping Dataset: FreeGraspData</h1>
|
| 35 |
|
| 36 |
- Homepage: https://tev-fbk.github.io/FreeGrasp/
|
|
@@ -106,6 +109,28 @@ Interestingly, despite these variations, the consistently high GPT scores across
|
|
| 106 |
(2) Reimers, Nils, and Iryna Gurevych. "Sentence-bert: Sentence embeddings using siamese bert-networks." (2019).
|
| 107 |
(3) Lin, Chin-Yew, and Franz Josef Och. "Automatic evaluation of machine translation quality using longest common subsequence and skip-bigram statistics." Proceedings of the 42nd annual meeting of the association for computational linguistics (ACL-04). 2004.(3)
|
| 108 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 109 |
## Data Fields
|
| 110 |
```
|
| 111 |
- **__index_level_0__**: An integer representing the unique identifier for each example.
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
license: cc-by-nc-sa-3.0
|
| 5 |
+
library_name: datasets
|
| 6 |
size_categories:
|
| 7 |
- n<1K
|
| 8 |
+
pretty_name: FreeGraspData
|
| 9 |
+
task_categories:
|
| 10 |
- robotics
|
| 11 |
+
tags:
|
| 12 |
- grasping
|
| 13 |
- language
|
| 14 |
- images
|
|
|
|
| 32 |
dtype: bool
|
| 33 |
- name: split
|
| 34 |
dtype: string
|
|
|
|
|
|
|
| 35 |
---
|
| 36 |
+
|
| 37 |
<h1><img height="50px" width="50px" style="display: inline;" src="https://tev-fbk.github.io/FreeGrasp/static/images/robotic_icon.png"> Free-form language-based robotic reasoning and grasping Dataset: FreeGraspData</h1>
|
| 38 |
|
| 39 |
- Homepage: https://tev-fbk.github.io/FreeGrasp/
|
|
|
|
| 109 |
(2) Reimers, Nils, and Iryna Gurevych. "Sentence-bert: Sentence embeddings using siamese bert-networks." (2019).
|
| 110 |
(3) Lin, Chin-Yew, and Franz Josef Och. "Automatic evaluation of machine translation quality using longest common subsequence and skip-bigram statistics." Proceedings of the 42nd annual meeting of the association for computational linguistics (ACL-04). 2004.(3)
|
| 111 |
|
| 112 |
+
## Sample Usage
|
| 113 |
+
|
| 114 |
+
You can easily load and use the dataset with the Hugging Face `datasets` library:
|
| 115 |
+
|
| 116 |
+
```python
|
| 117 |
+
from datasets import load_dataset
|
| 118 |
+
|
| 119 |
+
dataset = load_dataset("FBK-TeV/FreeGraspData")
|
| 120 |
+
|
| 121 |
+
# Print the dataset structure
|
| 122 |
+
print(dataset)
|
| 123 |
+
|
| 124 |
+
# Access an example from the 'train' split
|
| 125 |
+
example = dataset["train"][0]
|
| 126 |
+
|
| 127 |
+
# Print an image and its annotation
|
| 128 |
+
print(f"Image type: {type(example['image'])}")
|
| 129 |
+
print(f"Annotation: {example['annotation']}")
|
| 130 |
+
```
|
| 131 |
+
|
| 132 |
+
For more detailed usage examples, including installation and running demos, please refer to the [FreeGrasp GitHub repository](https://github.com/tev-fbk/FreeGrasp_code).
|
| 133 |
+
|
| 134 |
## Data Fields
|
| 135 |
```
|
| 136 |
- **__index_level_0__**: An integer representing the unique identifier for each example.
|