lcalvobartolome commited on
Commit
09f8072
·
1 Parent(s): 3bd0162

added vocabs

Browse files
Files changed (4) hide show
  1. README.md +29 -10
  2. metadata.json +105 -218
  3. vocabs/bills_vocab.json +0 -0
  4. vocabs/wiki_vocab.json +0 -0
README.md CHANGED
@@ -76,7 +76,16 @@ This repository contains two dataset — **Bills** and **Wiki** — each with **
76
  | `tokenized_text` | list[string] | Preprocessed tokens from Hoyle et al. (2022), 15 k vocabulary. |
77
  | `embeddings` | list[float] (384) | Sentence embedding (MiniLM-L6-v2). *Absent in test split.* |
78
 
79
- ---
 
 
 
 
 
 
 
 
 
80
 
81
  ## Usage Example
82
 
@@ -119,14 +128,24 @@ If you use this dataset, please cite:
119
 
120
  ```bibtex
121
  @inproceedings{hoyle-etal-2025-proxann,
122
- title = "{P}rox{A}nn: Use-Oriented Evaluations of Topic Models and Document Clustering",
123
- author = "Hoyle, Alexander Miserlis and Calvo-Bartolom{\\'e}, Lorena and Boyd-Graber, Jordan Lee and Resnik, Philip",
124
- booktitle = "Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
125
- year = "2025",
126
- address = "Vienna, Austria",
127
- publisher = "Association for Computational Linguistics",
128
- url = "https://aclanthology.org/2025.acl-long.772/",
129
- doi = "10.18653/v1/2025.acl-long.772",
130
- pages = "15872--15897"
 
 
 
 
 
 
 
 
 
 
131
  }
132
  ```
 
76
  | `tokenized_text` | list[string] | Preprocessed tokens from Hoyle et al. (2022), 15 k vocabulary. |
77
  | `embeddings` | list[float] (384) | Sentence embedding (MiniLM-L6-v2). *Absent in test split.* |
78
 
79
+
80
+ ## Vocabularies
81
+
82
+ The dataset includes the **15k-token vocabularies** used during preprocessing and model training.
83
+ Each file is a JSON mapping of **token -> integer index** (0–14,999).
84
+
85
+ | File | Description |
86
+ |------|-------------|
87
+ | `data_with_embeddings/vocabs/bills_vocab.json` | Vocabulary for the Bills corpus. Keys are tokens, values are integer indices. |
88
+ | `data_with_embeddings/vocabs/wiki_vocab.json` | Vocabulary for the Wiki corpus. Keys are tokens, values are integer indices. |
89
 
90
  ## Usage Example
91
 
 
128
 
129
  ```bibtex
130
  @inproceedings{hoyle-etal-2025-proxann,
131
+ title = "{P}rox{A}nn: Use-Oriented Evaluations of Topic Models and Document Clustering",
132
+ author = "Hoyle, Alexander Miserlis and
133
+ Calvo-Bartolom{\'e}, Lorena and
134
+ Boyd-Graber, Jordan Lee and
135
+ Resnik, Philip",
136
+ editor = "Che, Wanxiang and
137
+ Nabende, Joyce and
138
+ Shutova, Ekaterina and
139
+ Pilehvar, Mohammad Taher",
140
+ booktitle = "Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
141
+ month = jul,
142
+ year = "2025",
143
+ address = "Vienna, Austria",
144
+ publisher = "Association for Computational Linguistics",
145
+ url = "https://aclanthology.org/2025.acl-long.772/",
146
+ doi = "10.18653/v1/2025.acl-long.772",
147
+ pages = "15872--15897",
148
+ ISBN = "979-8-89176-251-0",
149
+ abstract = "Topic models and document-clustering evaluations either use automated metrics that align poorly with human preferences, or require expert labels that are intractable to scale. We design a scalable human evaluation protocol and a corresponding automated approximation that reflect practitioners' real-world usage of models. Annotators{---}or an LLM-based proxy{---}review text items assigned to a topic or cluster, infer a category for the group, then apply that category to other documents. Using this protocol, we collect extensive crowdworker annotations of outputs from a diverse set of topic models on two datasets. We then use these annotations to validate automated proxies, finding that the best LLM proxy is statistically indistinguishable from a human annotator and can therefore serve as a reasonable substitute in automated evaluations."
150
  }
151
  ```
metadata.json CHANGED
@@ -1,223 +1,110 @@
1
  {
2
- "name": "proxann_data",
3
- "version": "1.0.0",
4
- "license": "mit",
5
- "language": "en",
6
- "pretty_name": "PROXANN Data",
7
- "description": "Data used for training and evaluation in the 'PROXANN: Use-Oriented Evaluations of Topic Models and Document Clustering' paper. The files contain the original metadata from Merity et al. (2017) (Wiki) and Adler & Wilkerson (2008) (Bills). The preprocessed version (tokenized_text) comes from Hoyle et al. (2022), using their 15,000-word vocabulary version. Contextualized embeddings were generated using the all-MiniLM-L6-v2 model, with code available in the PROXANN repository.",
8
- "size_categories": [
9
- "10K<n<100K"
10
- ],
11
- "splits": {
12
- "bills_train": {
13
- "filename": "bills_train.metadata.embeddings.jsonl.all-MiniLM-L6-v2.parquet",
14
- "num_rows": 32661,
15
- "description": "Congressional bills (Adler & Wilkerson, 2008) with summaries, topics, and 384-dim MiniLM embeddings."
16
- },
17
- "bills_test": {
18
- "filename": "bills_test.metadata.parquet",
19
- "num_rows": 15242,
20
- "description": "Bills test split without embeddings (metadata only)."
21
- },
22
- "wiki_train": {
23
- "filename": "wiki_train.metadata.embeddings.jsonl.all-MiniLM-L6-v2.parquet",
24
- "num_rows": 14290,
25
- "description": "Wikipedia articles (Merity et al., 2017) with categories and 384-dim MiniLM embeddings."
26
- },
27
- "wiki_test": {
28
- "filename": "wiki_test.metadata.parquet",
29
- "num_rows": 8024,
30
- "description": "Wikipedia test split without embeddings (metadata only)."
31
- }
32
  },
33
- "schemas": {
34
- "bills_train": {
35
- "columns": {
36
- "id": {
37
- "type": "string",
38
- "description": "Unique identifier."
39
- },
40
- "summary": {
41
- "type": "string",
42
- "description": "Short summary of the bill."
43
- },
44
- "topic": {
45
- "type": "string",
46
- "description": "Primary topic label."
47
- },
48
- "subtopic": {
49
- "type": "string",
50
- "description": "Secondary topic label."
51
- },
52
- "subjects_top_term": {
53
- "type": "string",
54
- "description": "Top subject term for the bill."
55
- },
56
- "date": {
57
- "type": "string",
58
- "description": "Document date (ISO-8601 format)."
59
- },
60
- "tokenized_text": {
61
- "type": "list[string]",
62
- "description": "Preprocessed tokens from Hoyle et al. (2022), 15k vocabulary."
63
- },
64
- "embeddings": {
65
- "type": "list[float]",
66
- "length": 384,
67
- "description": "Sentence embedding (MiniLM-L6-v2). Absent in test split."
68
- }
69
- }
70
- },
71
- "bills_test": {
72
- "columns": {
73
- "id": {
74
- "type": "string",
75
- "description": "Unique identifier."
76
- },
77
- "summary": {
78
- "type": "string",
79
- "description": "Short summary of the bill."
80
- },
81
- "topic": {
82
- "type": "string",
83
- "description": "Primary topic label."
84
- },
85
- "subtopic": {
86
- "type": "string",
87
- "description": "Secondary topic label."
88
- },
89
- "subjects_top_term": {
90
- "type": "string",
91
- "description": "Top subject term for the bill."
92
- },
93
- "date": {
94
- "type": "string",
95
- "description": "Document date (ISO-8601 format)."
96
- },
97
- "tokenized_text": {
98
- "type": "list[string]",
99
- "description": "Preprocessed tokens from Hoyle et al. (2022), 15k vocabulary."
100
- }
101
- }
102
- },
103
- "wiki_train": {
104
- "columns": {
105
- "id": {
106
- "type": "string",
107
- "description": "Unique identifier."
108
- },
109
- "text": {
110
- "type": "string",
111
- "description": "Article text (raw or normalized)."
112
- },
113
- "supercategory": {
114
- "type": "string",
115
- "description": "High-level category."
116
- },
117
- "category": {
118
- "type": "string",
119
- "description": "Primary category."
120
- },
121
- "subcategory": {
122
- "type": "string",
123
- "description": "Secondary category."
124
- },
125
- "page_name": {
126
- "type": "string",
127
- "description": "Wikipedia page title."
128
- },
129
- "tokenized_text": {
130
- "type": "list[string]",
131
- "description": "Preprocessed tokens from Hoyle et al. (2022), 15k vocabulary."
132
- },
133
- "embeddings": {
134
- "type": "list[float]",
135
- "length": 384,
136
- "description": "Sentence embedding (MiniLM-L6-v2). Absent in test split."
137
- }
138
- }
139
- },
140
- "wiki_test": {
141
- "columns": {
142
- "id": {
143
- "type": "string",
144
- "description": "Unique identifier."
145
- },
146
- "text": {
147
- "type": "string",
148
- "description": "Article text (raw or normalized)."
149
- },
150
- "supercategory": {
151
- "type": "string",
152
- "description": "High-level category."
153
- },
154
- "category": {
155
- "type": "string",
156
- "description": "Primary category."
157
- },
158
- "subcategory": {
159
- "type": "string",
160
- "description": "Secondary category."
161
- },
162
- "page_name": {
163
- "type": "string",
164
- "description": "Wikipedia page title."
165
- },
166
- "tokenized_text": {
167
- "type": "list[string]",
168
- "description": "Preprocessed tokens from Hoyle et al. (2022), 15k vocabulary."
169
- }
170
- }
171
- }
172
  },
173
- "data_stats": {
174
- "table": [
175
- {
176
- "split": "bills_train",
177
- "file": "bills_train.metadata.embeddings.jsonl.all-MiniLM-L6-v2.parquet",
178
- "rows": 32661,
179
- "description": "Congressional bills with summaries, topics, and 384-dim embeddings."
180
- },
181
- {
182
- "split": "bills_test",
183
- "file": "bills_test.metadata.parquet",
184
- "rows": 15242,
185
- "description": "Bills test split without embeddings (metadata only)."
186
- },
187
- {
188
- "split": "wiki_train",
189
- "file": "wiki_train.metadata.embeddings.jsonl.all-MiniLM-L6-v2.parquet",
190
- "rows": 14290,
191
- "description": "Wikipedia articles with categories and 384-dim embeddings."
192
- },
193
- {
194
- "split": "wiki_test",
195
- "file": "wiki_test.metadata.parquet",
196
- "rows": 8024,
197
- "description": "Wikipedia test split without embeddings (metadata only)."
198
- }
199
- ]
200
  },
201
- "creator": "Alexander Miserlis Hoyle, Lorena Calvo-Bartolomé, Jordan Boyd-Graber, Philip Resnik",
202
- "source": {
203
- "provider": "Wikipedia",
204
- "type": "paper",
205
- "note": "We use the curated versions from 'Are Neural Topic Models Broken?' (Hoyle et al., 2022).",
206
- "repository": "https://github.com/ahoho/topics"
 
 
 
 
 
 
 
 
 
 
 
 
207
  },
208
- "dataset_type": "text",
209
- "tags": [
210
- "parquet",
211
- "text",
212
- "topic-modeling",
213
- "bills",
214
- "proxann",
215
- "english"
216
- ],
217
- "task_categories": [
218
- "unsupervised-learning",
219
- "topic-modeling",
220
- "clustering"
221
- ],
222
- "citation": "@inproceedings{hoyle-etal-2025-proxann, title = {PROXANN: Use-Oriented Evaluations of Topic Models and Document Clustering}, author = {Hoyle, Alexander Miserlis and Calvo-Bartolomé, Lorena and Boyd-Graber, Jordan Lee and Resnik, Philip}, booktitle = {Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)}, year = {2025}, address = {Vienna, Austria}, publisher = {Association for Computational Linguistics}, url = {https://aclanthology.org/2025.acl-long.772/}, doi = {10.18653/v1/2025.acl-long.772} }"
223
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  {
2
+ "name": "proxann_data",
3
+ "version": "1.1.0",
4
+ "license": "mit",
5
+ "language": "en",
6
+ "pretty_name": "PROXANN Data",
7
+ "description": "Data used for training and evaluation in the 'PROXANN: Use-Oriented Evaluations of Topic Models and Document Clustering' paper. The files contain the original metadata from Merity et al. (2017) (Wiki) and Adler & Wilkerson (2008) (Bills). The preprocessed version (tokenized_text) comes from Hoyle et al. (2022), using their 15,000-word vocabulary version. Contextualized embeddings were generated using the all-MiniLM-L6-v2 model, with code available in the PROXANN repository.",
8
+ "size_categories": ["10K<n<100K"],
9
+ "splits": {
10
+ "bills_train": {
11
+ "filename": "bills_train.metadata.embeddings.jsonl.all-MiniLM-L6-v2.parquet",
12
+ "num_rows": 32661,
13
+ "description": "Congressional bills (Adler & Wilkerson, 2008) with summaries, topics, and 384-dim MiniLM embeddings."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  },
15
+ "bills_test": {
16
+ "filename": "bills_test.metadata.parquet",
17
+ "num_rows": 15242,
18
+ "description": "Bills test split without embeddings (metadata only)."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  },
20
+ "wiki_train": {
21
+ "filename": "wiki_train.metadata.embeddings.jsonl.all-MiniLM-L6-v2.parquet",
22
+ "num_rows": 14290,
23
+ "description": "Wikipedia articles (Merity et al., 2017) with categories and 384-dim MiniLM embeddings."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  },
25
+ "wiki_test": {
26
+ "filename": "wiki_test.metadata.parquet",
27
+ "num_rows": 8024,
28
+ "description": "Wikipedia test split without embeddings (metadata only)."
29
+ }
30
+ },
31
+ "schemas": {
32
+ "bills_train": {
33
+ "columns": {
34
+ "id": { "type": "string", "description": "Unique identifier." },
35
+ "summary": { "type": "string", "description": "Short summary of the bill." },
36
+ "topic": { "type": "string", "description": "Primary topic label." },
37
+ "subtopic": { "type": "string", "description": "Secondary topic label." },
38
+ "subjects_top_term": { "type": "string", "description": "Top subject term for the bill." },
39
+ "date": { "type": "string", "description": "Document date (ISO-8601 format)." },
40
+ "tokenized_text": { "type": "list[string]", "description": "Preprocessed tokens from Hoyle et al. (2022), 15k vocabulary." },
41
+ "embeddings": { "type": "list[float]", "length": 384, "description": "Sentence embedding (MiniLM-L6-v2). Absent in test split." }
42
+ }
43
  },
44
+ "bills_test": {
45
+ "columns": {
46
+ "id": { "type": "string", "description": "Unique identifier." },
47
+ "summary": { "type": "string", "description": "Short summary of the bill." },
48
+ "topic": { "type": "string", "description": "Primary topic label." },
49
+ "subtopic": { "type": "string", "description": "Secondary topic label." },
50
+ "subjects_top_term": { "type": "string", "description": "Top subject term for the bill." },
51
+ "date": { "type": "string", "description": "Document date (ISO-8601 format)." },
52
+ "tokenized_text": { "type": "list[string]", "description": "Preprocessed tokens from Hoyle et al. (2022), 15k vocabulary." }
53
+ }
54
+ },
55
+ "wiki_train": {
56
+ "columns": {
57
+ "id": { "type": "string", "description": "Unique identifier." },
58
+ "text": { "type": "string", "description": "Article text (raw or normalized)." },
59
+ "supercategory": { "type": "string", "description": "High-level category." },
60
+ "category": { "type": "string", "description": "Primary category." },
61
+ "subcategory": { "type": "string", "description": "Secondary category." },
62
+ "page_name": { "type": "string", "description": "Wikipedia page title." },
63
+ "tokenized_text": { "type": "list[string]", "description": "Preprocessed tokens from Hoyle et al. (2022), 15k vocabulary." },
64
+ "embeddings": { "type": "list[float]", "length": 384, "description": "Sentence embedding (MiniLM-L6-v2). Absent in test split." }
65
+ }
66
+ },
67
+ "wiki_test": {
68
+ "columns": {
69
+ "id": { "type": "string", "description": "Unique identifier." },
70
+ "text": { "type": "string", "description": "Article text (raw or normalized)." },
71
+ "supercategory": { "type": "string", "description": "High-level category." },
72
+ "category": { "type": "string", "description": "Primary category." },
73
+ "subcategory": { "type": "string", "description": "Secondary category." },
74
+ "page_name": { "type": "string", "description": "Wikipedia page title." },
75
+ "tokenized_text": { "type": "list[string]", "description": "Preprocessed tokens from Hoyle et al. (2022), 15k vocabulary." }
76
+ }
77
+ }
78
+ },
79
+ "resources": {
80
+ "vocabularies": [
81
+ {
82
+ "filename": "data_with_embeddings/vocabs/bills_vocab.json",
83
+ "description": "Vocabulary for the Bills corpus."
84
+ },
85
+ {
86
+ "filename": "data_with_embeddings/vocabs/wiki_vocab.json",
87
+ "description": "Vocabulary for the Wiki corpus."
88
+ }
89
+ ]
90
+ },
91
+ "data_stats": {
92
+ "table": [
93
+ { "split": "bills_train", "file": "bills_train.metadata.embeddings.jsonl.all-MiniLM-L6-v2.parquet", "rows": 32661, "description": "Congressional bills with summaries, topics, and 384-dim embeddings." },
94
+ { "split": "bills_test", "file": "bills_test.metadata.parquet", "rows": 15242, "description": "Bills test split without embeddings (metadata only)." },
95
+ { "split": "wiki_train", "file": "wiki_train.metadata.embeddings.jsonl.all-MiniLM-L6-v2.parquet", "rows": 14290, "description": "Wikipedia articles with categories and 384-dim embeddings." },
96
+ { "split": "wiki_test", "file": "wiki_test.metadata.parquet", "rows": 8024, "description": "Wikipedia test split without embeddings (metadata only)." }
97
+ ]
98
+ },
99
+ "creator": "Alexander Miserlis Hoyle, Lorena Calvo-Bartolomé, Jordan Boyd-Graber, Philip Resnik",
100
+ "source": {
101
+ "provider": "Wikipedia",
102
+ "type": "paper",
103
+ "note": "We use the curated versions from 'Are Neural Topic Models Broken?' (Hoyle et al., 2022).",
104
+ "repository": "https://github.com/ahoho/topics"
105
+ },
106
+ "dataset_type": "text",
107
+ "tags": ["parquet", "text", "topic-modeling", "bills", "proxann", "english", "vocabulary"],
108
+ "task_categories": ["unsupervised-learning", "topic-modeling", "clustering"],
109
+ "citation": "@inproceedings{hoyle-etal-2025-proxann, title = {PROXANN: Use-Oriented Evaluations of Topic Models and Document Clustering}, author = {Hoyle, Alexander Miserlis and Calvo-Bartolomé, Lorena and Boyd-Graber, Jordan Lee and Resnik, Philip}, booktitle = {Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)}, year = {2025}, address = {Vienna, Austria}, publisher = {Association for Computational Linguistics}, url = {https://aclanthology.org/2025.acl-long.772/}, doi = {10.18653/v1/2025.acl-long.772} }"
110
+ }
vocabs/bills_vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
vocabs/wiki_vocab.json ADDED
The diff for this file is too large to render. See raw diff