Commit 4bde31b
Enable
* completed changes for progress bar implementation
* added try catch to stop progress for execption
* added progress bar description
* added progressbar parameters for all notebooks
* fixed linting and formatting errors
* completed progress bar - whitespace issue and gender attrib issue
* fixed linting
* update attribute info in notebook
* reverting old notebook metadata
* reverting metadata for counterfactual metrics
* refactored message based on comments
* added attributes for response generator
* reverting changes
* added attribute info and removed print statement
* added attribute and removed print statement
* added attribute info
* completed progress bar for toxicity
* completed changes for stereotype metrics progress bar
* fixed bugs and linting issues
* fixed output indentation issues
* updated poetry lock file
* updated attributions and info on example notebooks
* bug fixes
* updated poetry file and add rich
* fixed linting issues
* deprecate estimate_token_cost
* fix toxicity progress bars
* update progress bars for COBS
* update progress bars for SA
* create progress bar utilities
* use progress utilities with toxicity
* polish progress bars for counterfactual
* polish progress bars for stereotype
* polish progress bars for toxicity
* polish progress bars for generator classes
* update notebooks
* fix logic when progress bar not displayed
* add rich dependency
* ruff changes
* progress bar updates
* polish autoeval progress bars
* ruff changes
* update progress bar for adversarial toxicity and sentiment bug
* update uni tests
* add disk space cleanup to github workflow
* add unit tests for progress bar
* update unit test
* disable live rendering in CI
* update unit test
* update unit test
* update ci.yaml
* add conftest.py
* mock progress bar to fix LiveError
* mock progress bar to fix Rich Liv
eError
* mock progress bar
* update unit tests
* update unit tests
* update ci.yaml
* update progress bar completion
* fix progress bars for adversarial
---------
Co-authored-by: Jinesh Mehta <mehtajineshs@gmail.com>
Co-authored-by: Zeya Ahmad <za2291@columbia.edu>rich progress bars (#216)1 parent 093369c commit 4bde31b
File tree
30 files changed
+2789
-2434
lines changed- .github/workflows
- examples
- adversarial
- evaluations/text_generation
- generators
- langfair
- auto
- generator
- metrics
- counterfactual
- metrics
- stereotype
- metrics
- toxicity
- utils/classifier_metrics/baseclass
- utils
- tests
30 files changed
+2789
-2434
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 26 | + | |
36 | 27 | | |
37 | 28 | | |
38 | 29 | | |
| |||
73 | 64 | | |
74 | 65 | | |
75 | 66 | | |
76 | | - | |
| 67 | + | |
77 | 68 | | |
78 | 69 | | |
79 | 70 | | |
| |||
90 | 81 | | |
91 | 82 | | |
92 | 83 | | |
93 | | - | |
| 84 | + | |
94 | 85 | | |
95 | 86 | | |
96 | 87 | | |
| |||
107 | 98 | | |
108 | 99 | | |
109 | 100 | | |
110 | | - | |
| 101 | + | |
111 | 102 | | |
112 | 103 | | |
113 | 104 | | |
114 | | - | |
| 105 | + | |
115 | 106 | | |
116 | 107 | | |
117 | 108 | | |
118 | 109 | | |
119 | 110 | | |
120 | | - | |
| 111 | + | |
121 | 112 | | |
122 | 113 | | |
123 | 114 | | |
| |||
155 | 146 | | |
156 | 147 | | |
157 | 148 | | |
158 | | - | |
| 149 | + | |
159 | 150 | | |
160 | 151 | | |
161 | 152 | | |
162 | 153 | | |
163 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
164 | 217 | | |
165 | 218 | | |
166 | 219 | | |
167 | 220 | | |
168 | | - | |
169 | | - | |
170 | 221 | | |
171 | 222 | | |
172 | 223 | | |
| |||
759 | 810 | | |
760 | 811 | | |
761 | 812 | | |
762 | | - | |
763 | | - | |
| 813 | + | |
| 814 | + | |
764 | 815 | | |
765 | | - | |
| 816 | + | |
766 | 817 | | |
767 | 818 | | |
768 | | - | |
| 819 | + | |
769 | 820 | | |
770 | | - | |
| 821 | + | |
771 | 822 | | |
772 | 823 | | |
773 | 824 | | |
| |||
779 | 830 | | |
780 | 831 | | |
781 | 832 | | |
782 | | - | |
| 833 | + | |
783 | 834 | | |
784 | 835 | | |
785 | 836 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
91 | | - | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
108 | | - | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
125 | | - | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
129 | | - | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
135 | | - | |
| 136 | + | |
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
| |||
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
163 | | - | |
| 164 | + | |
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
176 | 193 | | |
177 | 194 | | |
178 | 195 | | |
179 | 196 | | |
180 | 197 | | |
181 | 198 | | |
182 | 199 | | |
183 | | - | |
| 200 | + | |
184 | 201 | | |
185 | 202 | | |
186 | 203 | | |
187 | 204 | | |
188 | 205 | | |
189 | | - | |
| 206 | + | |
190 | 207 | | |
191 | 208 | | |
192 | 209 | | |
193 | 210 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
| 211 | + | |
204 | 212 | | |
205 | 213 | | |
206 | 214 | | |
207 | 215 | | |
208 | 216 | | |
209 | | - | |
| 217 | + | |
| 218 | + | |
210 | 219 | | |
211 | 220 | | |
212 | 221 | | |
| |||
517 | 526 | | |
518 | 527 | | |
519 | 528 | | |
520 | | - | |
521 | | - | |
| 529 | + | |
| 530 | + | |
522 | 531 | | |
523 | | - | |
| 532 | + | |
524 | 533 | | |
525 | 534 | | |
526 | | - | |
| 535 | + | |
527 | 536 | | |
528 | | - | |
| 537 | + | |
529 | 538 | | |
530 | 539 | | |
531 | 540 | | |
| |||
537 | 546 | | |
538 | 547 | | |
539 | 548 | | |
540 | | - | |
| 549 | + | |
541 | 550 | | |
542 | 551 | | |
543 | 552 | | |
| |||
0 commit comments