Datasets:

Modalities:
Tabular
Text
Formats:
parquet
Libraries:
Datasets
Dask
ehariri commited on
Commit
e84a7a5
·
verified ·
1 Parent(s): 4c6b845

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -5
README.md CHANGED
@@ -91,16 +91,26 @@ An instance of `ui_qas` looks like
91
 
92
  #### `ui_tables`
93
 
94
- * `table_id`: ID of table written as "[chapter no.]-[table no. within chapter]"
95
  * `table_name`: str, title of the table as noted on the DoL report
96
  * `table_description`: str, description of the table
97
  * `note`: str, any footnotes and other key information stored for this table
98
  * `table_data`: str, the data from this table as derived from the DoL report
99
  * `eval(...)` should produce a list of dictionaries corressponding to the table
100
- * `chapter`:
101
- * `header`:
102
- * `prompt_context`: str, context for the prompt derived
103
- * `prompt`: str, prompt
 
 
 
104
 
105
  #### `ui_qas`
106
 
 
 
 
 
 
 
 
 
91
 
92
  #### `ui_tables`
93
 
94
+ * `table_id`: str, ID of table written as "[chapter no.]-[table no. within chapter]" (derived from DoL report)
95
  * `table_name`: str, title of the table as noted on the DoL report
96
  * `table_description`: str, description of the table
97
  * `note`: str, any footnotes and other key information stored for this table
98
  * `table_data`: str, the data from this table as derived from the DoL report
99
  * `eval(...)` should produce a list of dictionaries corressponding to the table
100
+ * `chapter`: str, chapter the table appears in (TODO: replace with descriptor)
101
+ * `header`: str, string representation of headers with their respective datatypes
102
+ * `eval(...)` should produce a dictionary
103
+ * `prompt_context`: str, context for the table and prompts associated with the table (intended to precede the prompts in queries)
104
+ * `prompts`: str, prompts to be used
105
+ * It should be that `len(prompts) == len(headers)`
106
+ * These prompts are used to derive the questions in `ui_tables`
107
 
108
  #### `ui_qas`
109
 
110
+ * `idx`: int, index of question-answer pair
111
+ * `table_id`: str, ID of table the question corresponds to, written as "[chapter no.]-[table no. within chapter]" (derived from DoL report)
112
+ * `column_num`: str, the column number that the (relative to headers)
113
+ * `jurisdiction`: jurisidction (state or territory)
114
+ * `question_context`: str, context for the table in question (intended to precede the question in queries)
115
+ * `question`: str, question whose response is intended to fill in the entry corressponding to `table_id` and `column_num` for `jurisidiction`
116
+ * `answer`: str, answer to the question (from DoL report)