Datasets:

Modalities:
Text
Formats:
text
Size:
< 1K
ArXiv:
Libraries:
Datasets
License:
zdy023 commited on
Commit
d58c721
·
unverified ·
1 Parent(s): c38963e

ver Aug22nd

Browse files

updated human-rewritten instruction data
added Changelog

Changelog ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ 2023-08-22 Danyang Zhang <zhang-dy20@sjtu.edu.cn>
2
+
3
+ * instruction_rewriting/ (Human-rewritten instructions): Human-rewritten
4
+ instructions for the canonical set. Provided the annotation data, the public
5
+ patterns, and the wrapper tool to load them.
6
+ * Changelog: Added this file
README.md CHANGED
@@ -66,3 +66,12 @@ Mobile-Env](https://github.com/X-LANCE/Mobile-Env/blob/master/docs/dynamic-app-e
66
  The available APK package from [APKCombo](https://apkcombo.com/) is provided.
67
  And note to use the AVD image of version Android 11.0 (API Level 30) (Google
68
  APIs) to obtain the best compatibility and the root-enabled ADBD.
 
 
 
 
 
 
 
 
 
 
66
  The available APK package from [APKCombo](https://apkcombo.com/) is provided.
67
  And note to use the AVD image of version Android 11.0 (API Level 30) (Google
68
  APIs) to obtain the best compatibility and the root-enabled ADBD.
69
+
70
+ ### Human-Rewritten Instructions
71
+
72
+ Human-rewritten instructions for the *canonical set* are release under
73
+ `instruction_rewriting/`. An AndroidEnv wrapper `InstructionRewritingWrapper`
74
+ is provided to load the rewritten instructions (`merged_doccano.json`) and
75
+ public patterns (`pattern-*.txt`). The annotations are collected via
76
+ [doccano](https://doccano.github.io/doccano/). The patterns are parsed by
77
+ [`sentence_pattern.py`](instruction_rewriting/sentence_pattern.py).
instruction_rewriting/annotations/merged_doccano.json ADDED
@@ -0,0 +1,2314 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "id": 1091,
4
+ "text": "Search an article to learn how to 180 on a scooter.",
5
+ "task": "180_on_a_scooter-8.textproto",
6
+ "index": "0",
7
+ "label": [
8
+ "Look for an article on how to do a 180 on a scooter.",
9
+ "How to 180 on a scooter?",
10
+ "Give me a guide teaching the 180 trick for the scooter.",
11
+ "I want to learn to perform a 180 rotation on a scooter."
12
+ ]
13
+ },
14
+ {
15
+ "id": 1092,
16
+ "text": "Search an article to learn how to add a contact on whatsapp.",
17
+ "task": "add_a_contact_on_whatsapp-8.textproto",
18
+ "index": "0",
19
+ "label": [
20
+ "Look for an article about how to add a contact on WhatsApp.",
21
+ "If I want to add a contact on whatsapp, what should I do?",
22
+ "Where can we add new contacts on Whatsapp?"
23
+ ]
24
+ },
25
+ {
26
+ "id": 1093,
27
+ "text": "Search an article to learn how to address a letter to england.",
28
+ "task": "address_a_letter_to_england-7.textproto",
29
+ "index": "0",
30
+ "label": [
31
+ "How should I address a letter to England properly?",
32
+ "What should I write to address a letter to england?",
33
+ "How should I fill the address for a letter to England?"
34
+ ]
35
+ },
36
+ {
37
+ "id": 1095,
38
+ "text": "Search an article to learn how to apply cc cream.",
39
+ "task": "apply_cc_cream-0.textproto",
40
+ "index": "0",
41
+ "label": [
42
+ "Learn how to use cc cream through reading an article.",
43
+ "How to apply cc cream?",
44
+ "I want to learn the usage of color control cream.",
45
+ "I wonder the usage of CC cream."
46
+ ]
47
+ },
48
+ {
49
+ "id": 1096,
50
+ "text": "Search an article to learn how to apply neosporin.",
51
+ "task": "apply_neosporin-0.textproto",
52
+ "index": "0",
53
+ "label": [
54
+ "Look up how to use neosporin.",
55
+ "Search for the way to apply neosporin.",
56
+ "I need to learn how Neosporin is applied when injured."
57
+ ]
58
+ },
59
+ {
60
+ "id": 1098,
61
+ "text": "Search an article to learn how to avoid losing a friend to someone you hate.",
62
+ "task": "avoid_losing_a_friend_to_someone_you_hate-0.textproto",
63
+ "index": "0",
64
+ "label": [
65
+ "How to avoid losing a friend because of someone you hate.",
66
+ "If I have a friend, what should I do to avoid losing him or her to someone I hate?",
67
+ "I don't want to break our friendship because of a man I hate."
68
+ ]
69
+ },
70
+ {
71
+ "id": 1099,
72
+ "text": "Search an article to learn how to avoid misgendering.",
73
+ "task": "avoid_misgendering-0.textproto",
74
+ "index": "0",
75
+ "label": [
76
+ "What should I do to avoid misgendering?",
77
+ "I want to learn to prevent misgendering.",
78
+ "Please tell me how to avoid identifying or presupposing a wrong gender for others."
79
+ ]
80
+ },
81
+ {
82
+ "id": 1100,
83
+ "text": "Search an article to learn how to bake lobster tails.",
84
+ "task": "bake_lobster_tails-7.textproto",
85
+ "index": "0",
86
+ "label": [
87
+ "Look for an article on how to bake lobster tails.",
88
+ "What's the procedure to bake lobster tails.",
89
+ "How do we roast lobster tails?"
90
+ ]
91
+ },
92
+ {
93
+ "id": 1101,
94
+ "text": "Search an article to learn how to be a good friend to a guy.",
95
+ "task": "be_a_good_friend_to_a_guy-4.textproto",
96
+ "index": "0",
97
+ "label": [
98
+ "Look for an article about how to be a good friend to a guy.",
99
+ "What if I want to be a good friend to a guy?",
100
+ "I'd like to learn how to build good friendship with a boy."
101
+ ]
102
+ },
103
+ {
104
+ "id": 1102,
105
+ "text": "Search an article to learn how to be a hip grandma.",
106
+ "task": "be_a_hip_grandma-0.textproto",
107
+ "index": "0",
108
+ "label": [
109
+ "find out how to be a cool granny",
110
+ "How to be a hip grandma?",
111
+ "How can a grandma be fashion?"
112
+ ]
113
+ },
114
+ {
115
+ "id": 1103,
116
+ "text": "Search an article to learn how to be cool in high school (boys).",
117
+ "task": "be_cool_in_high_school_P28boysP29-0.textproto",
118
+ "index": "0",
119
+ "label": [
120
+ "How can a boy be cool in high school?",
121
+ "As boys, what should they do to be cool in high schools?",
122
+ "What can a high school boy do to become cool?"
123
+ ]
124
+ },
125
+ {
126
+ "id": 1104,
127
+ "text": "Search an article to learn how to be feisty.",
128
+ "task": "be_feisty-7.textproto",
129
+ "index": "0",
130
+ "label": [
131
+ "Learn how to be feisty by reading an article.",
132
+ "How can I be feisty?",
133
+ "How do we become a feisty person?"
134
+ ]
135
+ },
136
+ {
137
+ "id": 1105,
138
+ "text": "Search an article to learn how to be free.",
139
+ "task": "be_free-0.textproto",
140
+ "index": "0",
141
+ "label": [
142
+ "How to be free?",
143
+ "How to be free?",
144
+ "How can I acquire the real freedom?",
145
+ "How can we live free?"
146
+ ]
147
+ },
148
+ {
149
+ "id": 1106,
150
+ "text": "Search an article to learn how to be popular on tagged.com.",
151
+ "task": "be_popular_on_tagged.com-7.textproto",
152
+ "index": "0",
153
+ "label": [
154
+ "I want to understand how to get popular on tagged.com.",
155
+ "How can I be popular on tagged.com?",
156
+ "How can I become famous on tagged.com?",
157
+ "How can I become popular on tagged.com?"
158
+ ]
159
+ },
160
+ {
161
+ "id": 1107,
162
+ "text": "Search an article to learn how to become a grandmaster.",