Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-classification
|
| 5 |
+
- visual-question-answering
|
| 6 |
+
tags:
|
| 7 |
+
- android
|
| 8 |
+
- mobile
|
| 9 |
+
- ui-automation
|
| 10 |
+
- screen-understanding
|
| 11 |
+
pretty_name: Android in the Wild (AITW)
|
| 12 |
+
size_categories:
|
| 13 |
+
- 100M<n<1B
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# Android in the Wild (AITW)
|
| 17 |
+
|
| 18 |
+
This is a mirror of Google's **Android in the Wild (AITW)** dataset, re-hosted on Hugging Face for easier community access.
|
| 19 |
+
|
| 20 |
+
## Original Source
|
| 21 |
+
|
| 22 |
+
- **Paper:** [Android in the Wild: A Large-Scale Dataset for Android Device Control](https://arxiv.org/abs/2307.10088)
|
| 23 |
+
- **Original Repository:** [google-research/google-research/tree/master/android_in_the_wild](https://github.com/google-research/google-research/tree/master/android_in_the_wild)
|
| 24 |
+
|
| 25 |
+
## Dataset Description
|
| 26 |
+
|
| 27 |
+
Android in the Wild (AITW) is a large-scale dataset for Android device control. It contains human demonstrations of natural language instructions being carried out on Android devices. Each demonstration consists of a sequence of screenshots paired with corresponding actions (taps, swipes, types, etc.) and UI annotations.
|
| 28 |
+
|
| 29 |
+
## Dataset Structure
|
| 30 |
+
|
| 31 |
+
The dataset is organized into 5 subsets, stored as **gzip-compressed TFRecord** files:
|
| 32 |
+
|
| 33 |
+
| Subset | Shards | Description |
|
| 34 |
+
|--------|--------|-------------|
|
| 35 |
+
| `general` | 321 | General Android tasks |
|
| 36 |
+
| `google_apps` | 8,688 | Tasks on Google applications |
|
| 37 |
+
| `install` | 1,052 | App installation tasks |
|
| 38 |
+
| `single` | 252 | Single-step tasks |
|
| 39 |
+
| `web_shopping` | 1,025 | Web shopping tasks |
|
| 40 |
+
|
| 41 |
+
Additionally, the `splits/` directory contains JSON files defining train/test splits:
|
| 42 |
+
- `standard.json`
|
| 43 |
+
- `unseen_android_version.json`
|
| 44 |
+
- `unseen_domain.json`
|
| 45 |
+
- `unseen_subject.json`
|
| 46 |
+
- `unseen_verb.json`
|
| 47 |
+
|
| 48 |
+
## Data Format
|
| 49 |
+
|
| 50 |
+
Each TFRecord contains examples with the following fields:
|
| 51 |
+
- `image/encoded` — screenshot image (encoded)
|
| 52 |
+
- `image/ui_annotations_ui_types` — UI element type annotations (e.g., `ICON_STOP`, `ICON_V_BACKWARD`)
|
| 53 |
+
- Additional action and metadata fields
|
| 54 |
+
|
| 55 |
+
## Usage
|
| 56 |
+
|
| 57 |
+
```python
|
| 58 |
+
import tensorflow as tf
|
| 59 |
+
import gzip
|
| 60 |
+
|
| 61 |
+
def read_tfrecord(file_path):
|
| 62 |
+
with gzip.open(file_path, 'rb') as f:
|
| 63 |
+
raw = f.read()
|
| 64 |
+
dataset = tf.data.TFRecordDataset([file_path], compression_type='GZIP')
|
| 65 |
+
return dataset
|
| 66 |
+
```
|
| 67 |
+
|
| 68 |
+
For detailed usage instructions, refer to the [original repository](https://github.com/google-research/google-research/tree/master/android_in_the_wild).
|
| 69 |
+
|
| 70 |
+
## License
|
| 71 |
+
|
| 72 |
+
This dataset is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), following the original release.
|
| 73 |
+
|
| 74 |
+
## Citation
|
| 75 |
+
|
| 76 |
+
```bibtex
|
| 77 |
+
@article{rawles2023android,
|
| 78 |
+
title={Android in the Wild: A Large-Scale Dataset for Android Device Control},
|
| 79 |
+
author={Rawles, Christopher and Li, Alice and Rodriguez, Daniel and Ber, Oriana and Zitkovich, Brianna},
|
| 80 |
+
journal={arXiv preprint arXiv:2307.10088},
|
| 81 |
+
year={2023}
|
| 82 |
+
}
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
## Disclaimer
|
| 86 |
+
|
| 87 |
+
This is an unofficial mirror. All credit goes to the original authors at Google Research. This copy is provided solely to facilitate easier access for the research community.
|