applied-ai-018 commited on
Commit
c0a0b9e
·
verified ·
1 Parent(s): b33c150

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. llmeval-env/lib/python3.10/site-packages/_distutils_hack/override.py +1 -0
  2. llmeval-env/lib/python3.10/site-packages/chardet-5.2.0.dist-info/INSTALLER +1 -0
  3. llmeval-env/lib/python3.10/site-packages/chardet-5.2.0.dist-info/LICENSE +502 -0
  4. llmeval-env/lib/python3.10/site-packages/chardet-5.2.0.dist-info/METADATA +97 -0
  5. llmeval-env/lib/python3.10/site-packages/chardet-5.2.0.dist-info/RECORD +107 -0
  6. llmeval-env/lib/python3.10/site-packages/chardet-5.2.0.dist-info/WHEEL +5 -0
  7. llmeval-env/lib/python3.10/site-packages/chardet-5.2.0.dist-info/entry_points.txt +2 -0
  8. llmeval-env/lib/python3.10/site-packages/chardet-5.2.0.dist-info/top_level.txt +1 -0
  9. llmeval-env/lib/python3.10/site-packages/idna-3.7.dist-info/LICENSE.md +31 -0
  10. llmeval-env/lib/python3.10/site-packages/idna-3.7.dist-info/RECORD +22 -0
  11. llmeval-env/lib/python3.10/site-packages/idna-3.7.dist-info/WHEEL +4 -0
  12. llmeval-env/lib/python3.10/site-packages/nvidia_cusparse_cu12-12.1.0.106.dist-info/INSTALLER +1 -0
  13. llmeval-env/lib/python3.10/site-packages/nvidia_cusparse_cu12-12.1.0.106.dist-info/WHEEL +5 -0
  14. llmeval-env/lib/python3.10/site-packages/nvidia_cusparse_cu12-12.1.0.106.dist-info/top_level.txt +1 -0
  15. llmeval-env/lib/python3.10/site-packages/regex/__pycache__/__init__.cpython-310.pyc +0 -0
  16. llmeval-env/lib/python3.10/site-packages/regex/__pycache__/_regex_core.cpython-310.pyc +0 -0
  17. llmeval-env/lib/python3.10/site-packages/regex/__pycache__/regex.cpython-310.pyc +0 -0
  18. llmeval-env/lib/python3.10/site-packages/regex/__pycache__/test_regex.cpython-310.pyc +0 -0
  19. llmeval-env/lib/python3.10/site-packages/regex/_regex_core.py +0 -0
  20. llmeval-env/lib/python3.10/site-packages/tqdm/__init__.py +38 -0
  21. llmeval-env/lib/python3.10/site-packages/tqdm/__main__.py +3 -0
  22. llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/__main__.cpython-310.pyc +0 -0
  23. llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/_monitor.cpython-310.pyc +0 -0
  24. llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/_tqdm.cpython-310.pyc +0 -0
  25. llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/_tqdm_gui.cpython-310.pyc +0 -0
  26. llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/autonotebook.cpython-310.pyc +0 -0
  27. llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/cli.cpython-310.pyc +0 -0
  28. llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/dask.cpython-310.pyc +0 -0
  29. llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/gui.cpython-310.pyc +0 -0
  30. llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/keras.cpython-310.pyc +0 -0
  31. llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/notebook.cpython-310.pyc +0 -0
  32. llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/rich.cpython-310.pyc +0 -0
  33. llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/std.cpython-310.pyc +0 -0
  34. llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/version.cpython-310.pyc +0 -0
  35. llmeval-env/lib/python3.10/site-packages/tqdm/_dist_ver.py +1 -0
  36. llmeval-env/lib/python3.10/site-packages/tqdm/_main.py +9 -0
  37. llmeval-env/lib/python3.10/site-packages/tqdm/_monitor.py +95 -0
  38. llmeval-env/lib/python3.10/site-packages/tqdm/_tqdm.py +9 -0
  39. llmeval-env/lib/python3.10/site-packages/tqdm/_tqdm_gui.py +9 -0
  40. llmeval-env/lib/python3.10/site-packages/tqdm/_tqdm_notebook.py +9 -0
  41. llmeval-env/lib/python3.10/site-packages/tqdm/_tqdm_pandas.py +24 -0
  42. llmeval-env/lib/python3.10/site-packages/tqdm/_utils.py +11 -0
  43. llmeval-env/lib/python3.10/site-packages/tqdm/asyncio.py +93 -0
  44. llmeval-env/lib/python3.10/site-packages/tqdm/auto.py +40 -0
  45. llmeval-env/lib/python3.10/site-packages/tqdm/autonotebook.py +29 -0
  46. llmeval-env/lib/python3.10/site-packages/tqdm/cli.py +322 -0
  47. llmeval-env/lib/python3.10/site-packages/tqdm/completion.sh +19 -0
  48. llmeval-env/lib/python3.10/site-packages/tqdm/contrib/__init__.py +92 -0
  49. llmeval-env/lib/python3.10/site-packages/tqdm/contrib/__pycache__/__init__.cpython-310.pyc +0 -0
  50. llmeval-env/lib/python3.10/site-packages/tqdm/contrib/__pycache__/bells.cpython-310.pyc +0 -0
llmeval-env/lib/python3.10/site-packages/_distutils_hack/override.py ADDED
@@ -0,0 +1 @@
 
 
1
+ __import__('_distutils_hack').do_override()
llmeval-env/lib/python3.10/site-packages/chardet-5.2.0.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
llmeval-env/lib/python3.10/site-packages/chardet-5.2.0.dist-info/LICENSE ADDED
@@ -0,0 +1,502 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ GNU LESSER GENERAL PUBLIC LICENSE
2
+ Version 2.1, February 1999
3
+
4
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
5
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+ [This is the first released version of the Lesser GPL. It also counts
10
+ as the successor of the GNU Library Public License, version 2, hence
11
+ the version number 2.1.]
12
+
13
+ Preamble
14
+
15
+ The licenses for most software are designed to take away your
16
+ freedom to share and change it. By contrast, the GNU General Public
17
+ Licenses are intended to guarantee your freedom to share and change
18
+ free software--to make sure the software is free for all its users.
19
+
20
+ This license, the Lesser General Public License, applies to some
21
+ specially designated software packages--typically libraries--of the
22
+ Free Software Foundation and other authors who decide to use it. You
23
+ can use it too, but we suggest you first think carefully about whether
24
+ this license or the ordinary General Public License is the better
25
+ strategy to use in any particular case, based on the explanations below.
26
+
27
+ When we speak of free software, we are referring to freedom of use,
28
+ not price. Our General Public Licenses are designed to make sure that
29
+ you have the freedom to distribute copies of free software (and charge
30
+ for this service if you wish); that you receive source code or can get
31
+ it if you want it; that you can change the software and use pieces of
32
+ it in new free programs; and that you are informed that you can do
33
+ these things.
34
+
35
+ To protect your rights, we need to make restrictions that forbid
36
+ distributors to deny you these rights or to ask you to surrender these
37
+ rights. These restrictions translate to certain responsibilities for
38
+ you if you distribute copies of the library or if you modify it.
39
+
40
+ For example, if you distribute copies of the library, whether gratis
41
+ or for a fee, you must give the recipients all the rights that we gave
42
+ you. You must make sure that they, too, receive or can get the source
43
+ code. If you link other code with the library, you must provide
44
+ complete object files to the recipients, so that they can relink them
45
+ with the library after making changes to the library and recompiling
46
+ it. And you must show them these terms so they know their rights.
47
+
48
+ We protect your rights with a two-step method: (1) we copyright the
49
+ library, and (2) we offer you this license, which gives you legal
50
+ permission to copy, distribute and/or modify the library.
51
+
52
+ To protect each distributor, we want to make it very clear that
53
+ there is no warranty for the free library. Also, if the library is
54
+ modified by someone else and passed on, the recipients should know
55
+ that what they have is not the original version, so that the original
56
+ author's reputation will not be affected by problems that might be
57
+ introduced by others.
58
+
59
+ Finally, software patents pose a constant threat to the existence of
60
+ any free program. We wish to make sure that a company cannot
61
+ effectively restrict the users of a free program by obtaining a
62
+ restrictive license from a patent holder. Therefore, we insist that
63
+ any patent license obtained for a version of the library must be
64
+ consistent with the full freedom of use specified in this license.
65
+
66
+ Most GNU software, including some libraries, is covered by the
67
+ ordinary GNU General Public License. This license, the GNU Lesser
68
+ General Public License, applies to certain designated libraries, and
69
+ is quite different from the ordinary General Public License. We use
70
+ this license for certain libraries in order to permit linking those
71
+ libraries into non-free programs.
72
+
73
+ When a program is linked with a library, whether statically or using
74
+ a shared library, the combination of the two is legally speaking a
75
+ combined work, a derivative of the original library. The ordinary
76
+ General Public License therefore permits such linking only if the
77
+ entire combination fits its criteria of freedom. The Lesser General
78
+ Public License permits more lax criteria for linking other code with
79
+ the library.
80
+
81
+ We call this license the "Lesser" General Public License because it
82
+ does Less to protect the user's freedom than the ordinary General
83
+ Public License. It also provides other free software developers Less
84
+ of an advantage over competing non-free programs. These disadvantages
85
+ are the reason we use the ordinary General Public License for many
86
+ libraries. However, the Lesser license provides advantages in certain
87
+ special circumstances.
88
+
89
+ For example, on rare occasions, there may be a special need to
90
+ encourage the widest possible use of a certain library, so that it becomes
91
+ a de-facto standard. To achieve this, non-free programs must be
92
+ allowed to use the library. A more frequent case is that a free
93
+ library does the same job as widely used non-free libraries. In this
94
+ case, there is little to gain by limiting the free library to free
95
+ software only, so we use the Lesser General Public License.
96
+
97
+ In other cases, permission to use a particular library in non-free
98
+ programs enables a greater number of people to use a large body of
99
+ free software. For example, permission to use the GNU C Library in
100
+ non-free programs enables many more people to use the whole GNU
101
+ operating system, as well as its variant, the GNU/Linux operating
102
+ system.
103
+
104
+ Although the Lesser General Public License is Less protective of the
105
+ users' freedom, it does ensure that the user of a program that is
106
+ linked with the Library has the freedom and the wherewithal to run
107
+ that program using a modified version of the Library.
108
+
109
+ The precise terms and conditions for copying, distribution and
110
+ modification follow. Pay close attention to the difference between a
111
+ "work based on the library" and a "work that uses the library". The
112
+ former contains code derived from the library, whereas the latter must
113
+ be combined with the library in order to run.
114
+
115
+ GNU LESSER GENERAL PUBLIC LICENSE
116
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
117
+
118
+ 0. This License Agreement applies to any software library or other
119
+ program which contains a notice placed by the copyright holder or
120
+ other authorized party saying it may be distributed under the terms of
121
+ this Lesser General Public License (also called "this License").
122
+ Each licensee is addressed as "you".
123
+
124
+ A "library" means a collection of software functions and/or data
125
+ prepared so as to be conveniently linked with application programs
126
+ (which use some of those functions and data) to form executables.
127
+
128
+ The "Library", below, refers to any such software library or work
129
+ which has been distributed under these terms. A "work based on the
130
+ Library" means either the Library or any derivative work under
131
+ copyright law: that is to say, a work containing the Library or a
132
+ portion of it, either verbatim or with modifications and/or translated
133
+ straightforwardly into another language. (Hereinafter, translation is
134
+ included without limitation in the term "modification".)
135
+
136
+ "Source code" for a work means the preferred form of the work for
137
+ making modifications to it. For a library, complete source code means
138
+ all the source code for all modules it contains, plus any associated
139
+ interface definition files, plus the scripts used to control compilation
140
+ and installation of the library.
141
+
142
+ Activities other than copying, distribution and modification are not
143
+ covered by this License; they are outside its scope. The act of
144
+ running a program using the Library is not restricted, and output from
145
+ such a program is covered only if its contents constitute a work based
146
+ on the Library (independent of the use of the Library in a tool for
147
+ writing it). Whether that is true depends on what the Library does
148
+ and what the program that uses the Library does.
149
+
150
+ 1. You may copy and distribute verbatim copies of the Library's
151
+ complete source code as you receive it, in any medium, provided that
152
+ you conspicuously and appropriately publish on each copy an
153
+ appropriate copyright notice and disclaimer of warranty; keep intact
154
+ all the notices that refer to this License and to the absence of any
155
+ warranty; and distribute a copy of this License along with the
156
+ Library.
157
+
158
+ You may charge a fee for the physical act of transferring a copy,
159
+ and you may at your option offer warranty protection in exchange for a
160
+ fee.
161
+
162
+ 2. You may modify your copy or copies of the Library or any portion
163
+ of it, thus forming a work based on the Library, and copy and
164
+ distribute such modifications or work under the terms of Section 1
165
+ above, provided that you also meet all of these conditions:
166
+
167
+ a) The modified work must itself be a software library.
168
+
169
+ b) You must cause the files modified to carry prominent notices
170
+ stating that you changed the files and the date of any change.
171
+
172
+ c) You must cause the whole of the work to be licensed at no
173
+ charge to all third parties under the terms of this License.
174
+
175
+ d) If a facility in the modified Library refers to a function or a
176
+ table of data to be supplied by an application program that uses
177
+ the facility, other than as an argument passed when the facility
178
+ is invoked, then you must make a good faith effort to ensure that,
179
+ in the event an application does not supply such function or
180
+ table, the facility still operates, and performs whatever part of
181
+ its purpose remains meaningful.
182
+
183
+ (For example, a function in a library to compute square roots has
184
+ a purpose that is entirely well-defined independent of the
185
+ application. Therefore, Subsection 2d requires that any
186
+ application-supplied function or table used by this function must
187
+ be optional: if the application does not supply it, the square
188
+ root function must still compute square roots.)
189
+
190
+ These requirements apply to the modified work as a whole. If
191
+ identifiable sections of that work are not derived from the Library,
192
+ and can be reasonably considered independent and separate works in
193
+ themselves, then this License, and its terms, do not apply to those
194
+ sections when you distribute them as separate works. But when you
195
+ distribute the same sections as part of a whole which is a work based
196
+ on the Library, the distribution of the whole must be on the terms of
197
+ this License, whose permissions for other licensees extend to the
198
+ entire whole, and thus to each and every part regardless of who wrote
199
+ it.
200
+
201
+ Thus, it is not the intent of this section to claim rights or contest
202
+ your rights to work written entirely by you; rather, the intent is to
203
+ exercise the right to control the distribution of derivative or
204
+ collective works based on the Library.
205
+
206
+ In addition, mere aggregation of another work not based on the Library
207
+ with the Library (or with a work based on the Library) on a volume of
208
+ a storage or distribution medium does not bring the other work under
209
+ the scope of this License.
210
+
211
+ 3. You may opt to apply the terms of the ordinary GNU General Public
212
+ License instead of this License to a given copy of the Library. To do
213
+ this, you must alter all the notices that refer to this License, so
214
+ that they refer to the ordinary GNU General Public License, version 2,
215
+ instead of to this License. (If a newer version than version 2 of the
216
+ ordinary GNU General Public License has appeared, then you can specify
217
+ that version instead if you wish.) Do not make any other change in
218
+ these notices.
219
+
220
+ Once this change is made in a given copy, it is irreversible for
221
+ that copy, so the ordinary GNU General Public License applies to all
222
+ subsequent copies and derivative works made from that copy.
223
+
224
+ This option is useful when you wish to copy part of the code of
225
+ the Library into a program that is not a library.
226
+
227
+ 4. You may copy and distribute the Library (or a portion or
228
+ derivative of it, under Section 2) in object code or executable form
229
+ under the terms of Sections 1 and 2 above provided that you accompany
230
+ it with the complete corresponding machine-readable source code, which
231
+ must be distributed under the terms of Sections 1 and 2 above on a
232
+ medium customarily used for software interchange.
233
+
234
+ If distribution of object code is made by offering access to copy
235
+ from a designated place, then offering equivalent access to copy the
236
+ source code from the same place satisfies the requirement to
237
+ distribute the source code, even though third parties are not
238
+ compelled to copy the source along with the object code.
239
+
240
+ 5. A program that contains no derivative of any portion of the
241
+ Library, but is designed to work with the Library by being compiled or
242
+ linked with it, is called a "work that uses the Library". Such a
243
+ work, in isolation, is not a derivative work of the Library, and
244
+ therefore falls outside the scope of this License.
245
+
246
+ However, linking a "work that uses the Library" with the Library
247
+ creates an executable that is a derivative of the Library (because it
248
+ contains portions of the Library), rather than a "work that uses the
249
+ library". The executable is therefore covered by this License.
250
+ Section 6 states terms for distribution of such executables.
251
+
252
+ When a "work that uses the Library" uses material from a header file
253
+ that is part of the Library, the object code for the work may be a
254
+ derivative work of the Library even though the source code is not.
255
+ Whether this is true is especially significant if the work can be
256
+ linked without the Library, or if the work is itself a library. The
257
+ threshold for this to be true is not precisely defined by law.
258
+
259
+ If such an object file uses only numerical parameters, data
260
+ structure layouts and accessors, and small macros and small inline
261
+ functions (ten lines or less in length), then the use of the object
262
+ file is unrestricted, regardless of whether it is legally a derivative
263
+ work. (Executables containing this object code plus portions of the
264
+ Library will still fall under Section 6.)
265
+
266
+ Otherwise, if the work is a derivative of the Library, you may
267
+ distribute the object code for the work under the terms of Section 6.
268
+ Any executables containing that work also fall under Section 6,
269
+ whether or not they are linked directly with the Library itself.
270
+
271
+ 6. As an exception to the Sections above, you may also combine or
272
+ link a "work that uses the Library" with the Library to produce a
273
+ work containing portions of the Library, and distribute that work
274
+ under terms of your choice, provided that the terms permit
275
+ modification of the work for the customer's own use and reverse
276
+ engineering for debugging such modifications.
277
+
278
+ You must give prominent notice with each copy of the work that the
279
+ Library is used in it and that the Library and its use are covered by
280
+ this License. You must supply a copy of this License. If the work
281
+ during execution displays copyright notices, you must include the
282
+ copyright notice for the Library among them, as well as a reference
283
+ directing the user to the copy of this License. Also, you must do one
284
+ of these things:
285
+
286
+ a) Accompany the work with the complete corresponding
287
+ machine-readable source code for the Library including whatever
288
+ changes were used in the work (which must be distributed under
289
+ Sections 1 and 2 above); and, if the work is an executable linked
290
+ with the Library, with the complete machine-readable "work that
291
+ uses the Library", as object code and/or source code, so that the
292
+ user can modify the Library and then relink to produce a modified
293
+ executable containing the modified Library. (It is understood
294
+ that the user who changes the contents of definitions files in the
295
+ Library will not necessarily be able to recompile the application
296
+ to use the modified definitions.)
297
+
298
+ b) Use a suitable shared library mechanism for linking with the
299
+ Library. A suitable mechanism is one that (1) uses at run time a
300
+ copy of the library already present on the user's computer system,
301
+ rather than copying library functions into the executable, and (2)
302
+ will operate properly with a modified version of the library, if
303
+ the user installs one, as long as the modified version is
304
+ interface-compatible with the version that the work was made with.
305
+
306
+ c) Accompany the work with a written offer, valid for at
307
+ least three years, to give the same user the materials
308
+ specified in Subsection 6a, above, for a charge no more
309
+ than the cost of performing this distribution.
310
+
311
+ d) If distribution of the work is made by offering access to copy
312
+ from a designated place, offer equivalent access to copy the above
313
+ specified materials from the same place.
314
+
315
+ e) Verify that the user has already received a copy of these
316
+ materials or that you have already sent this user a copy.
317
+
318
+ For an executable, the required form of the "work that uses the
319
+ Library" must include any data and utility programs needed for
320
+ reproducing the executable from it. However, as a special exception,
321
+ the materials to be distributed need not include anything that is
322
+ normally distributed (in either source or binary form) with the major
323
+ components (compiler, kernel, and so on) of the operating system on
324
+ which the executable runs, unless that component itself accompanies
325
+ the executable.
326
+
327
+ It may happen that this requirement contradicts the license
328
+ restrictions of other proprietary libraries that do not normally
329
+ accompany the operating system. Such a contradiction means you cannot
330
+ use both them and the Library together in an executable that you
331
+ distribute.
332
+
333
+ 7. You may place library facilities that are a work based on the
334
+ Library side-by-side in a single library together with other library
335
+ facilities not covered by this License, and distribute such a combined
336
+ library, provided that the separate distribution of the work based on
337
+ the Library and of the other library facilities is otherwise
338
+ permitted, and provided that you do these two things:
339
+
340
+ a) Accompany the combined library with a copy of the same work
341
+ based on the Library, uncombined with any other library
342
+ facilities. This must be distributed under the terms of the
343
+ Sections above.
344
+
345
+ b) Give prominent notice with the combined library of the fact
346
+ that part of it is a work based on the Library, and explaining
347
+ where to find the accompanying uncombined form of the same work.
348
+
349
+ 8. You may not copy, modify, sublicense, link with, or distribute
350
+ the Library except as expressly provided under this License. Any
351
+ attempt otherwise to copy, modify, sublicense, link with, or
352
+ distribute the Library is void, and will automatically terminate your
353
+ rights under this License. However, parties who have received copies,
354
+ or rights, from you under this License will not have their licenses
355
+ terminated so long as such parties remain in full compliance.
356
+
357
+ 9. You are not required to accept this License, since you have not
358
+ signed it. However, nothing else grants you permission to modify or
359
+ distribute the Library or its derivative works. These actions are
360
+ prohibited by law if you do not accept this License. Therefore, by
361
+ modifying or distributing the Library (or any work based on the
362
+ Library), you indicate your acceptance of this License to do so, and
363
+ all its terms and conditions for copying, distributing or modifying
364
+ the Library or works based on it.
365
+
366
+ 10. Each time you redistribute the Library (or any work based on the
367
+ Library), the recipient automatically receives a license from the
368
+ original licensor to copy, distribute, link with or modify the Library
369
+ subject to these terms and conditions. You may not impose any further
370
+ restrictions on the recipients' exercise of the rights granted herein.
371
+ You are not responsible for enforcing compliance by third parties with
372
+ this License.
373
+
374
+ 11. If, as a consequence of a court judgment or allegation of patent
375
+ infringement or for any other reason (not limited to patent issues),
376
+ conditions are imposed on you (whether by court order, agreement or
377
+ otherwise) that contradict the conditions of this License, they do not
378
+ excuse you from the conditions of this License. If you cannot
379
+ distribute so as to satisfy simultaneously your obligations under this
380
+ License and any other pertinent obligations, then as a consequence you
381
+ may not distribute the Library at all. For example, if a patent
382
+ license would not permit royalty-free redistribution of the Library by
383
+ all those who receive copies directly or indirectly through you, then
384
+ the only way you could satisfy both it and this License would be to
385
+ refrain entirely from distribution of the Library.
386
+
387
+ If any portion of this section is held invalid or unenforceable under any
388
+ particular circumstance, the balance of the section is intended to apply,
389
+ and the section as a whole is intended to apply in other circumstances.
390
+
391
+ It is not the purpose of this section to induce you to infringe any
392
+ patents or other property right claims or to contest validity of any
393
+ such claims; this section has the sole purpose of protecting the
394
+ integrity of the free software distribution system which is
395
+ implemented by public license practices. Many people have made
396
+ generous contributions to the wide range of software distributed
397
+ through that system in reliance on consistent application of that
398
+ system; it is up to the author/donor to decide if he or she is willing
399
+ to distribute software through any other system and a licensee cannot
400
+ impose that choice.
401
+
402
+ This section is intended to make thoroughly clear what is believed to
403
+ be a consequence of the rest of this License.
404
+
405
+ 12. If the distribution and/or use of the Library is restricted in
406
+ certain countries either by patents or by copyrighted interfaces, the
407
+ original copyright holder who places the Library under this License may add
408
+ an explicit geographical distribution limitation excluding those countries,
409
+ so that distribution is permitted only in or among countries not thus
410
+ excluded. In such case, this License incorporates the limitation as if
411
+ written in the body of this License.
412
+
413
+ 13. The Free Software Foundation may publish revised and/or new
414
+ versions of the Lesser General Public License from time to time.
415
+ Such new versions will be similar in spirit to the present version,
416
+ but may differ in detail to address new problems or concerns.
417
+
418
+ Each version is given a distinguishing version number. If the Library
419
+ specifies a version number of this License which applies to it and
420
+ "any later version", you have the option of following the terms and
421
+ conditions either of that version or of any later version published by
422
+ the Free Software Foundation. If the Library does not specify a
423
+ license version number, you may choose any version ever published by
424
+ the Free Software Foundation.
425
+
426
+ 14. If you wish to incorporate parts of the Library into other free
427
+ programs whose distribution conditions are incompatible with these,
428
+ write to the author to ask for permission. For software which is
429
+ copyrighted by the Free Software Foundation, write to the Free
430
+ Software Foundation; we sometimes make exceptions for this. Our
431
+ decision will be guided by the two goals of preserving the free status
432
+ of all derivatives of our free software and of promoting the sharing
433
+ and reuse of software generally.
434
+
435
+ NO WARRANTY
436
+
437
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
438
+ WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
439
+ EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
440
+ OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
441
+ KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
442
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
443
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
444
+ LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
445
+ THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
446
+
447
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
448
+ WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
449
+ AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
450
+ FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
451
+ CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
452
+ LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
453
+ RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
454
+ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
455
+ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
456
+ DAMAGES.
457
+
458
+ END OF TERMS AND CONDITIONS
459
+
460
+ How to Apply These Terms to Your New Libraries
461
+
462
+ If you develop a new library, and you want it to be of the greatest
463
+ possible use to the public, we recommend making it free software that
464
+ everyone can redistribute and change. You can do so by permitting
465
+ redistribution under these terms (or, alternatively, under the terms of the
466
+ ordinary General Public License).
467
+
468
+ To apply these terms, attach the following notices to the library. It is
469
+ safest to attach them to the start of each source file to most effectively
470
+ convey the exclusion of warranty; and each file should have at least the
471
+ "copyright" line and a pointer to where the full notice is found.
472
+
473
+ <one line to give the library's name and a brief idea of what it does.>
474
+ Copyright (C) <year> <name of author>
475
+
476
+ This library is free software; you can redistribute it and/or
477
+ modify it under the terms of the GNU Lesser General Public
478
+ License as published by the Free Software Foundation; either
479
+ version 2.1 of the License, or (at your option) any later version.
480
+
481
+ This library is distributed in the hope that it will be useful,
482
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
483
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
484
+ Lesser General Public License for more details.
485
+
486
+ You should have received a copy of the GNU Lesser General Public
487
+ License along with this library; if not, write to the Free Software
488
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
489
+
490
+ Also add information on how to contact you by electronic and paper mail.
491
+
492
+ You should also get your employer (if you work as a programmer) or your
493
+ school, if any, to sign a "copyright disclaimer" for the library, if
494
+ necessary. Here is a sample; alter the names:
495
+
496
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
497
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
498
+
499
+ <signature of Ty Coon>, 1 April 1990
500
+ Ty Coon, President of Vice
501
+
502
+ That's all there is to it!
llmeval-env/lib/python3.10/site-packages/chardet-5.2.0.dist-info/METADATA ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.1
2
+ Name: chardet
3
+ Version: 5.2.0
4
+ Summary: Universal encoding detector for Python 3
5
+ Home-page: https://github.com/chardet/chardet
6
+ Author: Mark Pilgrim
7
+ Author-email: [email protected]
8
+ Maintainer: Daniel Blanchard
9
+ Maintainer-email: [email protected]
10
+ License: LGPL
11
+ Project-URL: Documentation, https://chardet.readthedocs.io/
12
+ Project-URL: GitHub Project, https://github.com/chardet/chardet
13
+ Project-URL: Issue Tracker, https://github.com/chardet/chardet/issues
14
+ Keywords: encoding,i18n,xml
15
+ Classifier: Development Status :: 5 - Production/Stable
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Programming Language :: Python
20
+ Classifier: Programming Language :: Python :: 3
21
+ Classifier: Programming Language :: Python :: 3.7
22
+ Classifier: Programming Language :: Python :: 3.8
23
+ Classifier: Programming Language :: Python :: 3.9
24
+ Classifier: Programming Language :: Python :: 3.10
25
+ Classifier: Programming Language :: Python :: 3.11
26
+ Classifier: Programming Language :: Python :: Implementation :: CPython
27
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
28
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
29
+ Classifier: Topic :: Text Processing :: Linguistic
30
+ Requires-Python: >=3.7
31
+ License-File: LICENSE
32
+
33
+ Chardet: The Universal Character Encoding Detector
34
+ --------------------------------------------------
35
+
36
+ .. image:: https://img.shields.io/travis/chardet/chardet/stable.svg
37
+ :alt: Build status
38
+ :target: https://travis-ci.org/chardet/chardet
39
+
40
+ .. image:: https://img.shields.io/coveralls/chardet/chardet/stable.svg
41
+ :target: https://coveralls.io/r/chardet/chardet
42
+
43
+ .. image:: https://img.shields.io/pypi/v/chardet.svg
44
+ :target: https://warehouse.python.org/project/chardet/
45
+ :alt: Latest version on PyPI
46
+
47
+ .. image:: https://img.shields.io/pypi/l/chardet.svg
48
+ :alt: License
49
+
50
+
51
+ Detects
52
+ - ASCII, UTF-8, UTF-16 (2 variants), UTF-32 (4 variants)
53
+ - Big5, GB2312, EUC-TW, HZ-GB-2312, ISO-2022-CN (Traditional and Simplified Chinese)
54
+ - EUC-JP, SHIFT_JIS, CP932, ISO-2022-JP (Japanese)
55
+ - EUC-KR, ISO-2022-KR, Johab (Korean)
56
+ - KOI8-R, MacCyrillic, IBM855, IBM866, ISO-8859-5, windows-1251 (Cyrillic)
57
+ - ISO-8859-5, windows-1251 (Bulgarian)
58
+ - ISO-8859-1, windows-1252, MacRoman (Western European languages)
59
+ - ISO-8859-7, windows-1253 (Greek)
60
+ - ISO-8859-8, windows-1255 (Visual and Logical Hebrew)
61
+ - TIS-620 (Thai)
62
+
63
+ .. note::
64
+ Our ISO-8859-2 and windows-1250 (Hungarian) probers have been temporarily
65
+ disabled until we can retrain the models.
66
+
67
+ Requires Python 3.7+.
68
+
69
+ Installation
70
+ ------------
71
+
72
+ Install from `PyPI <https://pypi.org/project/chardet/>`_::
73
+
74
+ pip install chardet
75
+
76
+ Documentation
77
+ -------------
78
+
79
+ For users, docs are now available at https://chardet.readthedocs.io/.
80
+
81
+ Command-line Tool
82
+ -----------------
83
+
84
+ chardet comes with a command-line script which reports on the encodings of one
85
+ or more files::
86
+
87
+ % chardetect somefile someotherfile
88
+ somefile: windows-1252 with confidence 0.5
89
+ someotherfile: ascii with confidence 1.0
90
+
91
+ About
92
+ -----
93
+
94
+ This is a continuation of Mark Pilgrim's excellent original chardet port from C, and `Ian Cordasco <https://github.com/sigmavirus24>`_'s
95
+ `charade <https://github.com/sigmavirus24/charade>`_ Python 3-compatible fork.
96
+
97
+ :maintainer: Dan Blanchard
llmeval-env/lib/python3.10/site-packages/chardet-5.2.0.dist-info/RECORD ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ../../../bin/chardetect,sha256=8kfI8gEJX-VH-ITA_oKTIV4PMeixAGCk0Wjwnq0JDE8,255
2
+ chardet-5.2.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
3
+ chardet-5.2.0.dist-info/LICENSE,sha256=3GJlINzVOiL3J68-5Cx3DlbJemT-OtsGN5nYqwMv5VE,26530
4
+ chardet-5.2.0.dist-info/METADATA,sha256=PAr2NQ6hQWpjyFnwlI7MoxHt2S_6oRiUsucOKMNhzGw,3418
5
+ chardet-5.2.0.dist-info/RECORD,,
6
+ chardet-5.2.0.dist-info/WHEEL,sha256=AtBG6SXL3KF_v0NxLf0ehyVOh0cold-JbJYXNGorC6Q,92
7
+ chardet-5.2.0.dist-info/entry_points.txt,sha256=_cdvYc4jyY68GYfsQAAthNMxO-yodcGkvNC1xOEsLmI,59
8
+ chardet-5.2.0.dist-info/top_level.txt,sha256=AowzBbZy4x8EirABDdJSLJZMkJ_53iIag8xfKR6D7kI,8
9
+ chardet/__init__.py,sha256=57R-HSxj0PWmILMN0GFmUNqEMfrEVSamXyjD-W6_fbs,4797
10
+ chardet/__main__.py,sha256=puNj2o_QfBRKElEkiVp1zEIL1gGYD2o-JuXLFlqHDC4,123
11
+ chardet/__pycache__/__init__.cpython-310.pyc,,
12
+ chardet/__pycache__/__main__.cpython-310.pyc,,
13
+ chardet/__pycache__/big5freq.cpython-310.pyc,,
14
+ chardet/__pycache__/big5prober.cpython-310.pyc,,
15
+ chardet/__pycache__/chardistribution.cpython-310.pyc,,
16
+ chardet/__pycache__/charsetgroupprober.cpython-310.pyc,,
17
+ chardet/__pycache__/charsetprober.cpython-310.pyc,,
18
+ chardet/__pycache__/codingstatemachine.cpython-310.pyc,,
19
+ chardet/__pycache__/codingstatemachinedict.cpython-310.pyc,,
20
+ chardet/__pycache__/cp949prober.cpython-310.pyc,,
21
+ chardet/__pycache__/enums.cpython-310.pyc,,
22
+ chardet/__pycache__/escprober.cpython-310.pyc,,
23
+ chardet/__pycache__/escsm.cpython-310.pyc,,
24
+ chardet/__pycache__/eucjpprober.cpython-310.pyc,,
25
+ chardet/__pycache__/euckrfreq.cpython-310.pyc,,
26
+ chardet/__pycache__/euckrprober.cpython-310.pyc,,
27
+ chardet/__pycache__/euctwfreq.cpython-310.pyc,,
28
+ chardet/__pycache__/euctwprober.cpython-310.pyc,,
29
+ chardet/__pycache__/gb2312freq.cpython-310.pyc,,
30
+ chardet/__pycache__/gb2312prober.cpython-310.pyc,,
31
+ chardet/__pycache__/hebrewprober.cpython-310.pyc,,
32
+ chardet/__pycache__/jisfreq.cpython-310.pyc,,
33
+ chardet/__pycache__/johabfreq.cpython-310.pyc,,
34
+ chardet/__pycache__/johabprober.cpython-310.pyc,,
35
+ chardet/__pycache__/jpcntx.cpython-310.pyc,,
36
+ chardet/__pycache__/langbulgarianmodel.cpython-310.pyc,,
37
+ chardet/__pycache__/langgreekmodel.cpython-310.pyc,,
38
+ chardet/__pycache__/langhebrewmodel.cpython-310.pyc,,
39
+ chardet/__pycache__/langhungarianmodel.cpython-310.pyc,,
40
+ chardet/__pycache__/langrussianmodel.cpython-310.pyc,,
41
+ chardet/__pycache__/langthaimodel.cpython-310.pyc,,
42
+ chardet/__pycache__/langturkishmodel.cpython-310.pyc,,
43
+ chardet/__pycache__/latin1prober.cpython-310.pyc,,
44
+ chardet/__pycache__/macromanprober.cpython-310.pyc,,
45
+ chardet/__pycache__/mbcharsetprober.cpython-310.pyc,,
46
+ chardet/__pycache__/mbcsgroupprober.cpython-310.pyc,,
47
+ chardet/__pycache__/mbcssm.cpython-310.pyc,,
48
+ chardet/__pycache__/resultdict.cpython-310.pyc,,
49
+ chardet/__pycache__/sbcharsetprober.cpython-310.pyc,,
50
+ chardet/__pycache__/sbcsgroupprober.cpython-310.pyc,,
51
+ chardet/__pycache__/sjisprober.cpython-310.pyc,,
52
+ chardet/__pycache__/universaldetector.cpython-310.pyc,,
53
+ chardet/__pycache__/utf1632prober.cpython-310.pyc,,
54
+ chardet/__pycache__/utf8prober.cpython-310.pyc,,
55
+ chardet/__pycache__/version.cpython-310.pyc,,
56
+ chardet/big5freq.py,sha256=ltcfP-3PjlNHCoo5e4a7C4z-2DhBTXRfY6jbMbB7P30,31274
57
+ chardet/big5prober.py,sha256=lPMfwCX6v2AaPgvFh_cSWZcgLDbWiFCHLZ_p9RQ9uxE,1763
58
+ chardet/chardistribution.py,sha256=13B8XUG4oXDuLdXvfbIWwLFeR-ZU21AqTS1zcdON8bU,10032
59
+ chardet/charsetgroupprober.py,sha256=UKK3SaIZB2PCdKSIS0gnvMtLR9JJX62M-fZJu3OlWyg,3915
60
+ chardet/charsetprober.py,sha256=L3t8_wIOov8em-vZWOcbkdsrwe43N6_gqNh5pH7WPd4,5420
61
+ chardet/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
+ chardet/cli/__pycache__/__init__.cpython-310.pyc,,
63
+ chardet/cli/__pycache__/chardetect.cpython-310.pyc,,
64
+ chardet/cli/chardetect.py,sha256=zibMVg5RpKb-ME9_7EYG4ZM2Sf07NHcQzZ12U-rYJho,3242
65
+ chardet/codingstatemachine.py,sha256=K7k69sw3jY5DmTXoSJQVsUtFIQKYPQVOSJJhBuGv_yE,3732
66
+ chardet/codingstatemachinedict.py,sha256=0GY3Hi2qIZvDrOOJ3AtqppM1RsYxr_66ER4EHjuMiMc,542
67
+ chardet/cp949prober.py,sha256=0jKRV7fECuWI16rNnks0ZECKA1iZYCIEaP8A1ZvjUSI,1860
68
+ chardet/enums.py,sha256=TzECiZoCKNMqgwU76cPCeKWFBqaWvAdLMev5_bCkhY8,1683
69
+ chardet/escprober.py,sha256=Kho48X65xE0scFylIdeJjM2bcbvRvv0h0WUbMWrJD3A,4006
70
+ chardet/escsm.py,sha256=AqyXpA2FQFD7k-buBty_7itGEYkhmVa8X09NLRul3QM,12176
71
+ chardet/eucjpprober.py,sha256=5KYaM9fsxkRYzw1b5k0fL-j_-ezIw-ij9r97a9MHxLY,3934
72
+ chardet/euckrfreq.py,sha256=3mHuRvXfsq_QcQysDQFb8qSudvTiol71C6Ic2w57tKM,13566
73
+ chardet/euckrprober.py,sha256=hiFT6wM174GIwRvqDsIcuOc-dDsq2uPKMKbyV8-1Xnc,1753
74
+ chardet/euctwfreq.py,sha256=2alILE1Lh5eqiFJZjzRkMQXolNJRHY5oBQd-vmZYFFM,36913
75
+ chardet/euctwprober.py,sha256=NxbpNdBtU0VFI0bKfGfDkpP7S2_8_6FlO87dVH0ogws,1753
76
+ chardet/gb2312freq.py,sha256=49OrdXzD-HXqwavkqjo8Z7gvs58hONNzDhAyMENNkvY,20735
77
+ chardet/gb2312prober.py,sha256=KPEBueaSLSvBpFeINMu0D6TgHcR90e5PaQawifzF4o0,1759
78
+ chardet/hebrewprober.py,sha256=96T_Lj_OmW-fK7JrSHojYjyG3fsGgbzkoTNleZ3kfYE,14537
79
+ chardet/jisfreq.py,sha256=mm8tfrwqhpOd3wzZKS4NJqkYBQVcDfTM2JiQ5aW932E,25796
80
+ chardet/johabfreq.py,sha256=dBpOYG34GRX6SL8k_LbS9rxZPMjLjoMlgZ03Pz5Hmqc,42498
81
+ chardet/johabprober.py,sha256=O1Qw9nVzRnun7vZp4UZM7wvJSv9W941mEU9uDMnY3DU,1752
82
+ chardet/jpcntx.py,sha256=uhHrYWkLxE_rF5OkHKInm0HUsrjgKHHVQvtt3UcvotA,27055
83
+ chardet/langbulgarianmodel.py,sha256=bGoRpxBYtrbSHa6mX6PkEA26v30pWmhDjemhdxmkew8,104550
84
+ chardet/langgreekmodel.py,sha256=3wMlEzQ8oU2MbrL2xN8lkuOB0dCMLBhW6heekxusoc0,98472
85
+ chardet/langhebrewmodel.py,sha256=ZUTqusxMvR_earWPs5w-rH10xoe5sPjd9FLMu1DUIvE,98184
86
+ chardet/langhungarianmodel.py,sha256=N-YtC2EiswyS7XsUicCPRycrIzRNj47Y048odp9qOoo,101351
87
+ chardet/langrussianmodel.py,sha256=6v7RcZKGj0VH0864BHzizKNceAYbHvGts2p00ifC7w4,128023
88
+ chardet/langthaimodel.py,sha256=Mr673U9U8rkQFfUDtLP01pp-0TOsl2o6sb75YEjvpcs,102762
89
+ chardet/langturkishmodel.py,sha256=LkXCjWhGUEzqKXvfasHN0SFBigwKJ3xeWNVZ0EyI0kA,95360
90
+ chardet/latin1prober.py,sha256=p15EEmFbmQUwbKLC7lOJVGHEZwcG45ubEZYTGu01J5g,5380
91
+ chardet/macromanprober.py,sha256=9anfzmY6TBfUPDyBDOdY07kqmTHpZ1tK0jL-p1JWcOY,6077
92
+ chardet/mbcharsetprober.py,sha256=Wr04WNI4F3X_VxEverNG-H25g7u-MDDKlNt-JGj-_uU,3715
93
+ chardet/mbcsgroupprober.py,sha256=iRpaNBjV0DNwYPu_z6TiHgRpwYahiM7ztI_4kZ4Uz9A,2131
94
+ chardet/mbcssm.py,sha256=hUtPvDYgWDaA2dWdgLsshbwRfm3Q5YRlRogdmeRUNQw,30391
95
+ chardet/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
96
+ chardet/metadata/__pycache__/__init__.cpython-310.pyc,,
97
+ chardet/metadata/__pycache__/languages.cpython-310.pyc,,
98
+ chardet/metadata/languages.py,sha256=FhvBIdZFxRQ-dTwkb_0madRKgVBCaUMQz9I5xqjE5iQ,13560
99
+ chardet/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
100
+ chardet/resultdict.py,sha256=ez4FRvN5KaSosJeJ2WzUyKdDdg35HDy_SSLPXKCdt5M,402
101
+ chardet/sbcharsetprober.py,sha256=-nd3F90i7GpXLjehLVHqVBE0KlWzGvQUPETLBNn4o6U,6400
102
+ chardet/sbcsgroupprober.py,sha256=gcgI0fOfgw_3YTClpbra_MNxwyEyJ3eUXraoLHYb59E,4137
103
+ chardet/sjisprober.py,sha256=aqQufMzRw46ZpFlzmYaYeT2-nzmKb-hmcrApppJ862k,4007
104
+ chardet/universaldetector.py,sha256=xYBrg4x0dd9WnT8qclfADVD9ondrUNkqPmvte1pa520,14848
105
+ chardet/utf1632prober.py,sha256=pw1epGdMj1hDGiCu1AHqqzOEfjX8MVdiW7O1BlT8-eQ,8505
106
+ chardet/utf8prober.py,sha256=8m08Ub5490H4jQ6LYXvFysGtgKoKsHUd2zH_i8_TnVw,2812
107
+ chardet/version.py,sha256=jp8ePp1zC63YxruGcHSuKxtf3-fF1LYAMUZD2eDWYok,244
llmeval-env/lib/python3.10/site-packages/chardet-5.2.0.dist-info/WHEEL ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.41.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
llmeval-env/lib/python3.10/site-packages/chardet-5.2.0.dist-info/entry_points.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ [console_scripts]
2
+ chardetect = chardet.cli.chardetect:main
llmeval-env/lib/python3.10/site-packages/chardet-5.2.0.dist-info/top_level.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ chardet
llmeval-env/lib/python3.10/site-packages/idna-3.7.dist-info/LICENSE.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2013-2024, Kim Davies and contributors.
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are
8
+ met:
9
+
10
+ 1. Redistributions of source code must retain the above copyright
11
+ notice, this list of conditions and the following disclaimer.
12
+
13
+ 2. Redistributions in binary form must reproduce the above copyright
14
+ notice, this list of conditions and the following disclaimer in the
15
+ documentation and/or other materials provided with the distribution.
16
+
17
+ 3. Neither the name of the copyright holder nor the names of its
18
+ contributors may be used to endorse or promote products derived from
19
+ this software without specific prior written permission.
20
+
21
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
27
+ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
28
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
29
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
30
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
llmeval-env/lib/python3.10/site-packages/idna-3.7.dist-info/RECORD ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ idna-3.7.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2
+ idna-3.7.dist-info/LICENSE.md,sha256=pZ8LDvNjWHQQmkRhykT_enDVBpboFHZ7-vch1Mmw2w8,1541
3
+ idna-3.7.dist-info/METADATA,sha256=OixCk-dKLZkPy-MfviOmiPvwJ1O2K_8rqCrFjC_uxy4,9888
4
+ idna-3.7.dist-info/RECORD,,
5
+ idna-3.7.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
6
+ idna/__init__.py,sha256=KJQN1eQBr8iIK5SKrJ47lXvxG0BJ7Lm38W4zT0v_8lk,849
7
+ idna/__pycache__/__init__.cpython-310.pyc,,
8
+ idna/__pycache__/codec.cpython-310.pyc,,
9
+ idna/__pycache__/compat.cpython-310.pyc,,
10
+ idna/__pycache__/core.cpython-310.pyc,,
11
+ idna/__pycache__/idnadata.cpython-310.pyc,,
12
+ idna/__pycache__/intranges.cpython-310.pyc,,
13
+ idna/__pycache__/package_data.cpython-310.pyc,,
14
+ idna/__pycache__/uts46data.cpython-310.pyc,,
15
+ idna/codec.py,sha256=PS6m-XmdST7Wj7J7ulRMakPDt5EBJyYrT3CPtjh-7t4,3426
16
+ idna/compat.py,sha256=0_sOEUMT4CVw9doD3vyRhX80X19PwqFoUBs7gWsFME4,321
17
+ idna/core.py,sha256=lyhpoe2vulEaB_65xhXmoKgO-xUqFDvcwxu5hpNNO4E,12663
18
+ idna/idnadata.py,sha256=dqRwytzkjIHMBa2R1lYvHDwACenZPt8eGVu1Y8UBE-E,78320
19
+ idna/intranges.py,sha256=YBr4fRYuWH7kTKS2tXlFjM24ZF1Pdvcir-aywniInqg,1881
20
+ idna/package_data.py,sha256=Tkt0KnIeyIlnHddOaz9WSkkislNgokJAuE-p5GorMqo,21
21
+ idna/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
+ idna/uts46data.py,sha256=1KuksWqLuccPXm2uyRVkhfiFLNIhM_H2m4azCcnOqEU,206503
llmeval-env/lib/python3.10/site-packages/idna-3.7.dist-info/WHEEL ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: flit 3.9.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
llmeval-env/lib/python3.10/site-packages/nvidia_cusparse_cu12-12.1.0.106.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
llmeval-env/lib/python3.10/site-packages/nvidia_cusparse_cu12-12.1.0.106.dist-info/WHEEL ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.37.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-manylinux1_x86_64
5
+
llmeval-env/lib/python3.10/site-packages/nvidia_cusparse_cu12-12.1.0.106.dist-info/top_level.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ nvidia
llmeval-env/lib/python3.10/site-packages/regex/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (240 Bytes). View file
 
llmeval-env/lib/python3.10/site-packages/regex/__pycache__/_regex_core.cpython-310.pyc ADDED
Binary file (109 kB). View file
 
llmeval-env/lib/python3.10/site-packages/regex/__pycache__/regex.cpython-310.pyc ADDED
Binary file (25.5 kB). View file
 
llmeval-env/lib/python3.10/site-packages/regex/__pycache__/test_regex.cpython-310.pyc ADDED
Binary file (142 kB). View file
 
llmeval-env/lib/python3.10/site-packages/regex/_regex_core.py ADDED
The diff for this file is too large to render. See raw diff
 
llmeval-env/lib/python3.10/site-packages/tqdm/__init__.py ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from ._monitor import TMonitor, TqdmSynchronisationWarning
2
+ from ._tqdm_pandas import tqdm_pandas
3
+ from .cli import main # TODO: remove in v5.0.0
4
+ from .gui import tqdm as tqdm_gui # TODO: remove in v5.0.0
5
+ from .gui import trange as tgrange # TODO: remove in v5.0.0
6
+ from .std import (
7
+ TqdmDeprecationWarning, TqdmExperimentalWarning, TqdmKeyError, TqdmMonitorWarning,
8
+ TqdmTypeError, TqdmWarning, tqdm, trange)
9
+ from .version import __version__
10
+
11
+ __all__ = ['tqdm', 'tqdm_gui', 'trange', 'tgrange', 'tqdm_pandas',
12
+ 'tqdm_notebook', 'tnrange', 'main', 'TMonitor',
13
+ 'TqdmTypeError', 'TqdmKeyError',
14
+ 'TqdmWarning', 'TqdmDeprecationWarning',
15
+ 'TqdmExperimentalWarning',
16
+ 'TqdmMonitorWarning', 'TqdmSynchronisationWarning',
17
+ '__version__']
18
+
19
+
20
+ def tqdm_notebook(*args, **kwargs): # pragma: no cover
21
+ """See tqdm.notebook.tqdm for full documentation"""
22
+ from warnings import warn
23
+
24
+ from .notebook import tqdm as _tqdm_notebook
25
+ warn("This function will be removed in tqdm==5.0.0\n"
26
+ "Please use `tqdm.notebook.tqdm` instead of `tqdm.tqdm_notebook`",
27
+ TqdmDeprecationWarning, stacklevel=2)
28
+ return _tqdm_notebook(*args, **kwargs)
29
+
30
+
31
+ def tnrange(*args, **kwargs): # pragma: no cover
32
+ """Shortcut for `tqdm.notebook.tqdm(range(*args), **kwargs)`."""
33
+ from warnings import warn
34
+
35
+ from .notebook import trange as _tnrange
36
+ warn("Please use `tqdm.notebook.trange` instead of `tqdm.tnrange`",
37
+ TqdmDeprecationWarning, stacklevel=2)
38
+ return _tnrange(*args, **kwargs)
llmeval-env/lib/python3.10/site-packages/tqdm/__main__.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from .cli import main
2
+
3
+ main()
llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/__main__.cpython-310.pyc ADDED
Binary file (217 Bytes). View file
 
llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/_monitor.cpython-310.pyc ADDED
Binary file (2.81 kB). View file
 
llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/_tqdm.cpython-310.pyc ADDED
Binary file (446 Bytes). View file
 
llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/_tqdm_gui.cpython-310.pyc ADDED
Binary file (459 Bytes). View file
 
llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/autonotebook.cpython-310.pyc ADDED
Binary file (1.01 kB). View file
 
llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/cli.cpython-310.pyc ADDED
Binary file (9.13 kB). View file
 
llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/dask.cpython-310.pyc ADDED
Binary file (2.07 kB). View file
 
llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/gui.cpython-310.pyc ADDED
Binary file (4.55 kB). View file
 
llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/keras.cpython-310.pyc ADDED
Binary file (4.94 kB). View file
 
llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/notebook.cpython-310.pyc ADDED
Binary file (7.39 kB). View file
 
llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/rich.cpython-310.pyc ADDED
Binary file (5.06 kB). View file
 
llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/std.cpython-310.pyc ADDED
Binary file (45.4 kB). View file
 
llmeval-env/lib/python3.10/site-packages/tqdm/__pycache__/version.cpython-310.pyc ADDED
Binary file (517 Bytes). View file
 
llmeval-env/lib/python3.10/site-packages/tqdm/_dist_ver.py ADDED
@@ -0,0 +1 @@
 
 
1
+ __version__ = '4.66.4'
llmeval-env/lib/python3.10/site-packages/tqdm/_main.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from warnings import warn
2
+
3
+ from .cli import * # NOQA
4
+ from .cli import __all__ # NOQA
5
+ from .std import TqdmDeprecationWarning
6
+
7
+ warn("This function will be removed in tqdm==5.0.0\n"
8
+ "Please use `tqdm.cli.*` instead of `tqdm._main.*`",
9
+ TqdmDeprecationWarning, stacklevel=2)
llmeval-env/lib/python3.10/site-packages/tqdm/_monitor.py ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import atexit
2
+ from threading import Event, Thread, current_thread
3
+ from time import time
4
+ from warnings import warn
5
+
6
+ __all__ = ["TMonitor", "TqdmSynchronisationWarning"]
7
+
8
+
9
+ class TqdmSynchronisationWarning(RuntimeWarning):
10
+ """tqdm multi-thread/-process errors which may cause incorrect nesting
11
+ but otherwise no adverse effects"""
12
+ pass
13
+
14
+
15
+ class TMonitor(Thread):
16
+ """
17
+ Monitoring thread for tqdm bars.
18
+ Monitors if tqdm bars are taking too much time to display
19
+ and readjusts miniters automatically if necessary.
20
+
21
+ Parameters
22
+ ----------
23
+ tqdm_cls : class
24
+ tqdm class to use (can be core tqdm or a submodule).
25
+ sleep_interval : float
26
+ Time to sleep between monitoring checks.
27
+ """
28
+ _test = {} # internal vars for unit testing
29
+
30
+ def __init__(self, tqdm_cls, sleep_interval):
31
+ Thread.__init__(self)
32
+ self.daemon = True # kill thread when main killed (KeyboardInterrupt)
33
+ self.woken = 0 # last time woken up, to sync with monitor
34
+ self.tqdm_cls = tqdm_cls
35
+ self.sleep_interval = sleep_interval
36
+ self._time = self._test.get("time", time)
37
+ self.was_killed = self._test.get("Event", Event)()
38
+ atexit.register(self.exit)
39
+ self.start()
40
+
41
+ def exit(self):
42
+ self.was_killed.set()
43
+ if self is not current_thread():
44
+ self.join()
45
+ return self.report()
46
+
47
+ def get_instances(self):
48
+ # returns a copy of started `tqdm_cls` instances
49
+ return [i for i in self.tqdm_cls._instances.copy()
50
+ # Avoid race by checking that the instance started
51
+ if hasattr(i, 'start_t')]
52
+
53
+ def run(self):
54
+ cur_t = self._time()
55
+ while True:
56
+ # After processing and before sleeping, notify that we woke
57
+ # Need to be done just before sleeping
58
+ self.woken = cur_t
59
+ # Sleep some time...
60
+ self.was_killed.wait(self.sleep_interval)
61
+ # Quit if killed
62
+ if self.was_killed.is_set():
63
+ return
64
+ # Then monitor!
65
+ # Acquire lock (to access _instances)
66
+ with self.tqdm_cls.get_lock():
67
+ cur_t = self._time()
68
+ # Check tqdm instances are waiting too long to print
69
+ instances = self.get_instances()
70
+ for instance in instances:
71
+ # Check event in loop to reduce blocking time on exit
72
+ if self.was_killed.is_set():
73
+ return
74
+ # Only if mininterval > 1 (else iterations are just slow)
75
+ # and last refresh exceeded maxinterval
76
+ if (
77
+ instance.miniters > 1
78
+ and (cur_t - instance.last_print_t) >= instance.maxinterval
79
+ ):
80
+ # force bypassing miniters on next iteration
81
+ # (dynamic_miniters adjusts mininterval automatically)
82
+ instance.miniters = 1
83
+ # Refresh now! (works only for manual tqdm)
84
+ instance.refresh(nolock=True)
85
+ # Remove accidental long-lived strong reference
86
+ del instance
87
+ if instances != self.get_instances(): # pragma: nocover
88
+ warn("Set changed size during iteration" +
89
+ " (see https://github.com/tqdm/tqdm/issues/481)",
90
+ TqdmSynchronisationWarning, stacklevel=2)
91
+ # Remove accidental long-lived strong references
92
+ del instances
93
+
94
+ def report(self):
95
+ return not self.was_killed.is_set()
llmeval-env/lib/python3.10/site-packages/tqdm/_tqdm.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from warnings import warn
2
+
3
+ from .std import * # NOQA
4
+ from .std import __all__ # NOQA
5
+ from .std import TqdmDeprecationWarning
6
+
7
+ warn("This function will be removed in tqdm==5.0.0\n"
8
+ "Please use `tqdm.std.*` instead of `tqdm._tqdm.*`",
9
+ TqdmDeprecationWarning, stacklevel=2)
llmeval-env/lib/python3.10/site-packages/tqdm/_tqdm_gui.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from warnings import warn
2
+
3
+ from .gui import * # NOQA
4
+ from .gui import __all__ # NOQA
5
+ from .std import TqdmDeprecationWarning
6
+
7
+ warn("This function will be removed in tqdm==5.0.0\n"
8
+ "Please use `tqdm.gui.*` instead of `tqdm._tqdm_gui.*`",
9
+ TqdmDeprecationWarning, stacklevel=2)
llmeval-env/lib/python3.10/site-packages/tqdm/_tqdm_notebook.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from warnings import warn
2
+
3
+ from .notebook import * # NOQA
4
+ from .notebook import __all__ # NOQA
5
+ from .std import TqdmDeprecationWarning
6
+
7
+ warn("This function will be removed in tqdm==5.0.0\n"
8
+ "Please use `tqdm.notebook.*` instead of `tqdm._tqdm_notebook.*`",
9
+ TqdmDeprecationWarning, stacklevel=2)
llmeval-env/lib/python3.10/site-packages/tqdm/_tqdm_pandas.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+
3
+ __author__ = "github.com/casperdcl"
4
+ __all__ = ['tqdm_pandas']
5
+
6
+
7
+ def tqdm_pandas(tclass, **tqdm_kwargs):
8
+ """
9
+ Registers the given `tqdm` instance with
10
+ `pandas.core.groupby.DataFrameGroupBy.progress_apply`.
11
+ """
12
+ from tqdm import TqdmDeprecationWarning
13
+
14
+ if isinstance(tclass, type) or (getattr(tclass, '__name__', '').startswith(
15
+ 'tqdm_')): # delayed adapter case
16
+ TqdmDeprecationWarning(
17
+ "Please use `tqdm.pandas(...)` instead of `tqdm_pandas(tqdm, ...)`.",
18
+ fp_write=getattr(tqdm_kwargs.get('file', None), 'write', sys.stderr.write))
19
+ tclass.pandas(**tqdm_kwargs)
20
+ else:
21
+ TqdmDeprecationWarning(
22
+ "Please use `tqdm.pandas(...)` instead of `tqdm_pandas(tqdm(...))`.",
23
+ fp_write=getattr(tclass.fp, 'write', sys.stderr.write))
24
+ type(tclass).pandas(deprecated_t=tclass)
llmeval-env/lib/python3.10/site-packages/tqdm/_utils.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from warnings import warn
2
+
3
+ from .std import TqdmDeprecationWarning
4
+ from .utils import ( # NOQA, pylint: disable=unused-import
5
+ CUR_OS, IS_NIX, IS_WIN, RE_ANSI, Comparable, FormatReplace, SimpleTextIOWrapper,
6
+ _environ_cols_wrapper, _is_ascii, _is_utf, _screen_shape_linux, _screen_shape_tput,
7
+ _screen_shape_windows, _screen_shape_wrapper, _supports_unicode, _term_move_up, colorama)
8
+
9
+ warn("This function will be removed in tqdm==5.0.0\n"
10
+ "Please use `tqdm.utils.*` instead of `tqdm._utils.*`",
11
+ TqdmDeprecationWarning, stacklevel=2)
llmeval-env/lib/python3.10/site-packages/tqdm/asyncio.py ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Asynchronous progressbar decorator for iterators.
3
+ Includes a default `range` iterator printing to `stderr`.
4
+
5
+ Usage:
6
+ >>> from tqdm.asyncio import trange, tqdm
7
+ >>> async for i in trange(10):
8
+ ... ...
9
+ """
10
+ import asyncio
11
+ from sys import version_info
12
+
13
+ from .std import tqdm as std_tqdm
14
+
15
+ __author__ = {"github.com/": ["casperdcl"]}
16
+ __all__ = ['tqdm_asyncio', 'tarange', 'tqdm', 'trange']
17
+
18
+
19
+ class tqdm_asyncio(std_tqdm):
20
+ """
21
+ Asynchronous-friendly version of tqdm.
22
+ """
23
+ def __init__(self, iterable=None, *args, **kwargs):
24
+ super().__init__(iterable, *args, **kwargs)
25
+ self.iterable_awaitable = False
26
+ if iterable is not None:
27
+ if hasattr(iterable, "__anext__"):
28
+ self.iterable_next = iterable.__anext__
29
+ self.iterable_awaitable = True
30
+ elif hasattr(iterable, "__next__"):
31
+ self.iterable_next = iterable.__next__
32
+ else:
33
+ self.iterable_iterator = iter(iterable)
34
+ self.iterable_next = self.iterable_iterator.__next__
35
+
36
+ def __aiter__(self):
37
+ return self
38
+
39
+ async def __anext__(self):
40
+ try:
41
+ if self.iterable_awaitable:
42
+ res = await self.iterable_next()
43
+ else:
44
+ res = self.iterable_next()
45
+ self.update()
46
+ return res
47
+ except StopIteration:
48
+ self.close()
49
+ raise StopAsyncIteration
50
+ except BaseException:
51
+ self.close()
52
+ raise
53
+
54
+ def send(self, *args, **kwargs):
55
+ return self.iterable.send(*args, **kwargs)
56
+
57
+ @classmethod
58
+ def as_completed(cls, fs, *, loop=None, timeout=None, total=None, **tqdm_kwargs):
59
+ """
60
+ Wrapper for `asyncio.as_completed`.
61
+ """
62
+ if total is None:
63
+ total = len(fs)
64
+ kwargs = {}
65
+ if version_info[:2] < (3, 10):
66
+ kwargs['loop'] = loop
67
+ yield from cls(asyncio.as_completed(fs, timeout=timeout, **kwargs),
68
+ total=total, **tqdm_kwargs)
69
+
70
+ @classmethod
71
+ async def gather(cls, *fs, loop=None, timeout=None, total=None, **tqdm_kwargs):
72
+ """
73
+ Wrapper for `asyncio.gather`.
74
+ """
75
+ async def wrap_awaitable(i, f):
76
+ return i, await f
77
+
78
+ ifs = [wrap_awaitable(i, f) for i, f in enumerate(fs)]
79
+ res = [await f for f in cls.as_completed(ifs, loop=loop, timeout=timeout,
80
+ total=total, **tqdm_kwargs)]
81
+ return [i for _, i in sorted(res)]
82
+
83
+
84
+ def tarange(*args, **kwargs):
85
+ """
86
+ A shortcut for `tqdm.asyncio.tqdm(range(*args), **kwargs)`.
87
+ """
88
+ return tqdm_asyncio(range(*args), **kwargs)
89
+
90
+
91
+ # Aliases
92
+ tqdm = tqdm_asyncio
93
+ trange = tarange
llmeval-env/lib/python3.10/site-packages/tqdm/auto.py ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Enables multiple commonly used features.
3
+
4
+ Method resolution order:
5
+
6
+ - `tqdm.autonotebook` without import warnings
7
+ - `tqdm.asyncio`
8
+ - `tqdm.std` base class
9
+
10
+ Usage:
11
+ >>> from tqdm.auto import trange, tqdm
12
+ >>> for i in trange(10):
13
+ ... ...
14
+ """
15
+ import warnings
16
+
17
+ from .std import TqdmExperimentalWarning
18
+
19
+ with warnings.catch_warnings():
20
+ warnings.simplefilter("ignore", category=TqdmExperimentalWarning)
21
+ from .autonotebook import tqdm as notebook_tqdm
22
+
23
+ from .asyncio import tqdm as asyncio_tqdm
24
+ from .std import tqdm as std_tqdm
25
+
26
+ if notebook_tqdm != std_tqdm:
27
+ class tqdm(notebook_tqdm, asyncio_tqdm): # pylint: disable=inconsistent-mro
28
+ pass
29
+ else:
30
+ tqdm = asyncio_tqdm
31
+
32
+
33
+ def trange(*args, **kwargs):
34
+ """
35
+ A shortcut for `tqdm.auto.tqdm(range(*args), **kwargs)`.
36
+ """
37
+ return tqdm(range(*args), **kwargs)
38
+
39
+
40
+ __all__ = ["tqdm", "trange"]
llmeval-env/lib/python3.10/site-packages/tqdm/autonotebook.py ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Automatically choose between `tqdm.notebook` and `tqdm.std`.
3
+
4
+ Usage:
5
+ >>> from tqdm.autonotebook import trange, tqdm
6
+ >>> for i in trange(10):
7
+ ... ...
8
+ """
9
+ import sys
10
+ from warnings import warn
11
+
12
+ try:
13
+ get_ipython = sys.modules['IPython'].get_ipython
14
+ if 'IPKernelApp' not in get_ipython().config: # pragma: no cover
15
+ raise ImportError("console")
16
+ from .notebook import WARN_NOIPYW, IProgress
17
+ if IProgress is None:
18
+ from .std import TqdmWarning
19
+ warn(WARN_NOIPYW, TqdmWarning, stacklevel=2)
20
+ raise ImportError('ipywidgets')
21
+ except Exception:
22
+ from .std import tqdm, trange
23
+ else: # pragma: no cover
24
+ from .notebook import tqdm, trange
25
+ from .std import TqdmExperimentalWarning
26
+ warn("Using `tqdm.autonotebook.tqdm` in notebook mode."
27
+ " Use `tqdm.tqdm` instead to force console mode"
28
+ " (e.g. in jupyter console)", TqdmExperimentalWarning, stacklevel=2)
29
+ __all__ = ["tqdm", "trange"]
llmeval-env/lib/python3.10/site-packages/tqdm/cli.py ADDED
@@ -0,0 +1,322 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Module version for monitoring CLI pipes (`... | python -m tqdm | ...`).
3
+ """
4
+ import logging
5
+ import re
6
+ import sys
7
+ from ast import literal_eval as numeric
8
+
9
+ from .std import TqdmKeyError, TqdmTypeError, tqdm
10
+ from .version import __version__
11
+
12
+ __all__ = ["main"]
13
+ log = logging.getLogger(__name__)
14
+
15
+
16
+ def cast(val, typ):
17
+ log.debug((val, typ))
18
+ if " or " in typ:
19
+ for t in typ.split(" or "):
20
+ try:
21
+ return cast(val, t)
22
+ except TqdmTypeError:
23
+ pass
24
+ raise TqdmTypeError(f"{val} : {typ}")
25
+
26
+ # sys.stderr.write('\ndebug | `val:type`: `' + val + ':' + typ + '`.\n')
27
+ if typ == 'bool':
28
+ if (val == 'True') or (val == ''):
29
+ return True
30
+ if val == 'False':
31
+ return False
32
+ raise TqdmTypeError(val + ' : ' + typ)
33
+ if typ == 'chr':
34
+ if len(val) == 1:
35
+ return val.encode()
36
+ if re.match(r"^\\\w+$", val):
37
+ return eval(f'"{val}"').encode()
38
+ raise TqdmTypeError(f"{val} : {typ}")
39
+ if typ == 'str':
40
+ return val
41
+ if typ == 'int':
42
+ try:
43
+ return int(val)
44
+ except ValueError as exc:
45
+ raise TqdmTypeError(f"{val} : {typ}") from exc
46
+ if typ == 'float':
47
+ try:
48
+ return float(val)
49
+ except ValueError as exc:
50
+ raise TqdmTypeError(f"{val} : {typ}") from exc
51
+ raise TqdmTypeError(f"{val} : {typ}")
52
+
53
+
54
+ def posix_pipe(fin, fout, delim=b'\\n', buf_size=256,
55
+ callback=lambda float: None, callback_len=True):
56
+ """
57
+ Params
58
+ ------
59
+ fin : binary file with `read(buf_size : int)` method
60
+ fout : binary file with `write` (and optionally `flush`) methods.
61
+ callback : function(float), e.g.: `tqdm.update`
62
+ callback_len : If (default: True) do `callback(len(buffer))`.
63
+ Otherwise, do `callback(data) for data in buffer.split(delim)`.
64
+ """
65
+ fp_write = fout.write
66
+
67
+ if not delim:
68
+ while True:
69
+ tmp = fin.read(buf_size)
70
+
71
+ # flush at EOF
72
+ if not tmp:
73
+ getattr(fout, 'flush', lambda: None)()
74
+ return
75
+
76
+ fp_write(tmp)
77
+ callback(len(tmp))
78
+ # return
79
+
80
+ buf = b''
81
+ len_delim = len(delim)
82
+ # n = 0
83
+ while True:
84
+ tmp = fin.read(buf_size)
85
+
86
+ # flush at EOF
87
+ if not tmp:
88
+ if buf:
89
+ fp_write(buf)
90
+ if callback_len:
91
+ # n += 1 + buf.count(delim)
92
+ callback(1 + buf.count(delim))
93
+ else:
94
+ for i in buf.split(delim):
95
+ callback(i)
96
+ getattr(fout, 'flush', lambda: None)()
97
+ return # n
98
+
99
+ while True:
100
+ i = tmp.find(delim)
101
+ if i < 0:
102
+ buf += tmp
103
+ break
104
+ fp_write(buf + tmp[:i + len(delim)])
105
+ # n += 1
106
+ callback(1 if callback_len else (buf + tmp[:i]))
107
+ buf = b''
108
+ tmp = tmp[i + len_delim:]
109
+
110
+
111
+ # ((opt, type), ... )
112
+ RE_OPTS = re.compile(r'\n {4}(\S+)\s{2,}:\s*([^,]+)')
113
+ # better split method assuming no positional args
114
+ RE_SHLEX = re.compile(r'\s*(?<!\S)--?([^\s=]+)(\s+|=|$)')
115
+
116
+ # TODO: add custom support for some of the following?
117
+ UNSUPPORTED_OPTS = ('iterable', 'gui', 'out', 'file')
118
+
119
+ # The 8 leading spaces are required for consistency
120
+ CLI_EXTRA_DOC = r"""
121
+ Extra CLI Options
122
+ -----------------
123
+ name : type, optional
124
+ TODO: find out why this is needed.
125
+ delim : chr, optional
126
+ Delimiting character [default: '\n']. Use '\0' for null.
127
+ N.B.: on Windows systems, Python converts '\n' to '\r\n'.
128
+ buf_size : int, optional
129
+ String buffer size in bytes [default: 256]
130
+ used when `delim` is specified.
131
+ bytes : bool, optional
132
+ If true, will count bytes, ignore `delim`, and default
133
+ `unit_scale` to True, `unit_divisor` to 1024, and `unit` to 'B'.
134
+ tee : bool, optional
135
+ If true, passes `stdin` to both `stderr` and `stdout`.
136
+ update : bool, optional
137
+ If true, will treat input as newly elapsed iterations,
138
+ i.e. numbers to pass to `update()`. Note that this is slow
139
+ (~2e5 it/s) since every input must be decoded as a number.
140
+ update_to : bool, optional
141
+ If true, will treat input as total elapsed iterations,
142
+ i.e. numbers to assign to `self.n`. Note that this is slow
143
+ (~2e5 it/s) since every input must be decoded as a number.
144
+ null : bool, optional
145
+ If true, will discard input (no stdout).
146
+ manpath : str, optional
147
+ Directory in which to install tqdm man pages.
148
+ comppath : str, optional
149
+ Directory in which to place tqdm completion.
150
+ log : str, optional
151
+ CRITICAL|FATAL|ERROR|WARN(ING)|[default: 'INFO']|DEBUG|NOTSET.
152
+ """
153
+
154
+
155
+ def main(fp=sys.stderr, argv=None):
156
+ """
157
+ Parameters (internal use only)
158
+ ---------
159
+ fp : file-like object for tqdm
160
+ argv : list (default: sys.argv[1:])
161
+ """
162
+ if argv is None:
163
+ argv = sys.argv[1:]
164
+ try:
165
+ log_idx = argv.index('--log')
166
+ except ValueError:
167
+ for i in argv:
168
+ if i.startswith('--log='):
169
+ logLevel = i[len('--log='):]
170
+ break
171
+ else:
172
+ logLevel = 'INFO'
173
+ else:
174
+ # argv.pop(log_idx)
175
+ # logLevel = argv.pop(log_idx)
176
+ logLevel = argv[log_idx + 1]
177
+ logging.basicConfig(level=getattr(logging, logLevel),
178
+ format="%(levelname)s:%(module)s:%(lineno)d:%(message)s")
179
+
180
+ d = tqdm.__doc__ + CLI_EXTRA_DOC
181
+
182
+ opt_types = dict(RE_OPTS.findall(d))
183
+ # opt_types['delim'] = 'chr'
184
+
185
+ for o in UNSUPPORTED_OPTS:
186
+ opt_types.pop(o)
187
+
188
+ log.debug(sorted(opt_types.items()))
189
+
190
+ # d = RE_OPTS.sub(r' --\1=<\1> : \2', d)
191
+ split = RE_OPTS.split(d)
192
+ opt_types_desc = zip(split[1::3], split[2::3], split[3::3])
193
+ d = ''.join(('\n --{0} : {2}{3}' if otd[1] == 'bool' else
194
+ '\n --{0}=<{1}> : {2}{3}').format(
195
+ otd[0].replace('_', '-'), otd[0], *otd[1:])
196
+ for otd in opt_types_desc if otd[0] not in UNSUPPORTED_OPTS)
197
+
198
+ help_short = "Usage:\n tqdm [--help | options]\n"
199
+ d = help_short + """
200
+ Options:
201
+ -h, --help Print this help and exit.
202
+ -v, --version Print version and exit.
203
+ """ + d.strip('\n') + '\n'
204
+
205
+ # opts = docopt(d, version=__version__)
206
+ if any(v in argv for v in ('-v', '--version')):
207
+ sys.stdout.write(__version__ + '\n')
208
+ sys.exit(0)
209
+ elif any(v in argv for v in ('-h', '--help')):
210
+ sys.stdout.write(d + '\n')
211
+ sys.exit(0)
212
+ elif argv and argv[0][:2] != '--':
213
+ sys.stderr.write(f"Error:Unknown argument:{argv[0]}\n{help_short}")
214
+
215
+ argv = RE_SHLEX.split(' '.join(["tqdm"] + argv))
216
+ opts = dict(zip(argv[1::3], argv[3::3]))
217
+
218
+ log.debug(opts)
219
+ opts.pop('log', True)
220
+
221
+ tqdm_args = {'file': fp}
222
+ try:
223
+ for (o, v) in opts.items():
224
+ o = o.replace('-', '_')
225
+ try:
226
+ tqdm_args[o] = cast(v, opt_types[o])
227
+ except KeyError as e:
228
+ raise TqdmKeyError(str(e))
229
+ log.debug('args:' + str(tqdm_args))
230
+
231
+ delim_per_char = tqdm_args.pop('bytes', False)
232
+ update = tqdm_args.pop('update', False)
233
+ update_to = tqdm_args.pop('update_to', False)
234
+ if sum((delim_per_char, update, update_to)) > 1:
235
+ raise TqdmKeyError("Can only have one of --bytes --update --update_to")
236
+ except Exception:
237
+ fp.write("\nError:\n" + help_short)
238
+ stdin, stdout_write = sys.stdin, sys.stdout.write
239
+ for i in stdin:
240
+ stdout_write(i)
241
+ raise
242
+ else:
243
+ buf_size = tqdm_args.pop('buf_size', 256)
244
+ delim = tqdm_args.pop('delim', b'\\n')
245
+ tee = tqdm_args.pop('tee', False)
246
+ manpath = tqdm_args.pop('manpath', None)
247
+ comppath = tqdm_args.pop('comppath', None)
248
+ if tqdm_args.pop('null', False):
249
+ class stdout(object):
250
+ @staticmethod
251
+ def write(_):
252
+ pass
253
+ else:
254
+ stdout = sys.stdout
255
+ stdout = getattr(stdout, 'buffer', stdout)
256
+ stdin = getattr(sys.stdin, 'buffer', sys.stdin)
257
+ if manpath or comppath:
258
+ from importlib import resources
259
+ from os import path
260
+ from shutil import copyfile
261
+
262
+ def cp(name, dst):
263
+ """copy resource `name` to `dst`"""
264
+ if hasattr(resources, 'files'):
265
+ copyfile(str(resources.files('tqdm') / name), dst)
266
+ else: # py<3.9
267
+ with resources.path('tqdm', name) as src:
268
+ copyfile(str(src), dst)
269
+ log.info("written:%s", dst)
270
+ if manpath is not None:
271
+ cp('tqdm.1', path.join(manpath, 'tqdm.1'))
272
+ if comppath is not None:
273
+ cp('completion.sh', path.join(comppath, 'tqdm_completion.sh'))
274
+ sys.exit(0)
275
+ if tee:
276
+ stdout_write = stdout.write
277
+ fp_write = getattr(fp, 'buffer', fp).write
278
+
279
+ class stdout(object): # pylint: disable=function-redefined
280
+ @staticmethod
281
+ def write(x):
282
+ with tqdm.external_write_mode(file=fp):
283
+ fp_write(x)
284
+ stdout_write(x)
285
+ if delim_per_char:
286
+ tqdm_args.setdefault('unit', 'B')
287
+ tqdm_args.setdefault('unit_scale', True)
288
+ tqdm_args.setdefault('unit_divisor', 1024)
289
+ log.debug(tqdm_args)
290
+ with tqdm(**tqdm_args) as t:
291
+ posix_pipe(stdin, stdout, '', buf_size, t.update)
292
+ elif delim == b'\\n':
293
+ log.debug(tqdm_args)
294
+ write = stdout.write
295
+ if update or update_to:
296
+ with tqdm(**tqdm_args) as t:
297
+ if update:
298
+ def callback(i):
299
+ t.update(numeric(i.decode()))
300
+ else: # update_to
301
+ def callback(i):
302
+ t.update(numeric(i.decode()) - t.n)
303
+ for i in stdin:
304
+ write(i)
305
+ callback(i)
306
+ else:
307
+ for i in tqdm(stdin, **tqdm_args):
308
+ write(i)
309
+ else:
310
+ log.debug(tqdm_args)
311
+ with tqdm(**tqdm_args) as t:
312
+ callback_len = False
313
+ if update:
314
+ def callback(i):
315
+ t.update(numeric(i.decode()))
316
+ elif update_to:
317
+ def callback(i):
318
+ t.update(numeric(i.decode()) - t.n)
319
+ else:
320
+ callback = t.update
321
+ callback_len = True
322
+ posix_pipe(stdin, stdout, delim, buf_size, callback, callback_len)
llmeval-env/lib/python3.10/site-packages/tqdm/completion.sh ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ _tqdm(){
3
+ local cur prv
4
+ cur="${COMP_WORDS[COMP_CWORD]}"
5
+ prv="${COMP_WORDS[COMP_CWORD - 1]}"
6
+
7
+ case ${prv} in
8
+ --bar_format|--buf_size|--colour|--comppath|--delay|--delim|--desc|--initial|--lock_args|--manpath|--maxinterval|--mininterval|--miniters|--ncols|--nrows|--position|--postfix|--smoothing|--total|--unit|--unit_divisor)
9
+ # await user input
10
+ ;;
11
+ "--log")
12
+ COMPREPLY=($(compgen -W 'CRITICAL FATAL ERROR WARN WARNING INFO DEBUG NOTSET' -- ${cur}))
13
+ ;;
14
+ *)
15
+ COMPREPLY=($(compgen -W '--ascii --bar_format --buf_size --bytes --colour --comppath --delay --delim --desc --disable --dynamic_ncols --help --initial --leave --lock_args --log --manpath --maxinterval --mininterval --miniters --ncols --nrows --null --position --postfix --smoothing --tee --total --unit --unit_divisor --unit_scale --update --update_to --version --write_bytes -h -v' -- ${cur}))
16
+ ;;
17
+ esac
18
+ }
19
+ complete -F _tqdm tqdm
llmeval-env/lib/python3.10/site-packages/tqdm/contrib/__init__.py ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Thin wrappers around common functions.
3
+
4
+ Subpackages contain potentially unstable extensions.
5
+ """
6
+ from warnings import warn
7
+
8
+ from ..auto import tqdm as tqdm_auto
9
+ from ..std import TqdmDeprecationWarning, tqdm
10
+ from ..utils import ObjectWrapper
11
+
12
+ __author__ = {"github.com/": ["casperdcl"]}
13
+ __all__ = ['tenumerate', 'tzip', 'tmap']
14
+
15
+
16
+ class DummyTqdmFile(ObjectWrapper):
17
+ """Dummy file-like that will write to tqdm"""
18
+
19
+ def __init__(self, wrapped):
20
+ super().__init__(wrapped)
21
+ self._buf = []
22
+
23
+ def write(self, x, nolock=False):
24
+ nl = b"\n" if isinstance(x, bytes) else "\n"
25
+ pre, sep, post = x.rpartition(nl)
26
+ if sep:
27
+ blank = type(nl)()
28
+ tqdm.write(blank.join(self._buf + [pre, sep]),
29
+ end=blank, file=self._wrapped, nolock=nolock)
30
+ self._buf = [post]
31
+ else:
32
+ self._buf.append(x)
33
+
34
+ def __del__(self):
35
+ if self._buf:
36
+ blank = type(self._buf[0])()
37
+ try:
38
+ tqdm.write(blank.join(self._buf), end=blank, file=self._wrapped)
39
+ except (OSError, ValueError):
40
+ pass
41
+
42
+
43
+ def builtin_iterable(func):
44
+ """Returns `func`"""
45
+ warn("This function has no effect, and will be removed in tqdm==5.0.0",
46
+ TqdmDeprecationWarning, stacklevel=2)
47
+ return func
48
+
49
+
50
+ def tenumerate(iterable, start=0, total=None, tqdm_class=tqdm_auto, **tqdm_kwargs):
51
+ """
52
+ Equivalent of `numpy.ndenumerate` or builtin `enumerate`.
53
+
54
+ Parameters
55
+ ----------
56
+ tqdm_class : [default: tqdm.auto.tqdm].
57
+ """
58
+ try:
59
+ import numpy as np
60
+ except ImportError:
61
+ pass
62
+ else:
63
+ if isinstance(iterable, np.ndarray):
64
+ return tqdm_class(np.ndenumerate(iterable), total=total or iterable.size,
65
+ **tqdm_kwargs)
66
+ return enumerate(tqdm_class(iterable, total=total, **tqdm_kwargs), start)
67
+
68
+
69
+ def tzip(iter1, *iter2plus, **tqdm_kwargs):
70
+ """
71
+ Equivalent of builtin `zip`.
72
+
73
+ Parameters
74
+ ----------
75
+ tqdm_class : [default: tqdm.auto.tqdm].
76
+ """
77
+ kwargs = tqdm_kwargs.copy()
78
+ tqdm_class = kwargs.pop("tqdm_class", tqdm_auto)
79
+ for i in zip(tqdm_class(iter1, **kwargs), *iter2plus):
80
+ yield i
81
+
82
+
83
+ def tmap(function, *sequences, **tqdm_kwargs):
84
+ """
85
+ Equivalent of builtin `map`.
86
+
87
+ Parameters
88
+ ----------
89
+ tqdm_class : [default: tqdm.auto.tqdm].
90
+ """
91
+ for i in tzip(*sequences, **tqdm_kwargs):
92
+ yield function(*i)
llmeval-env/lib/python3.10/site-packages/tqdm/contrib/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (3.02 kB). View file
 
llmeval-env/lib/python3.10/site-packages/tqdm/contrib/__pycache__/bells.cpython-310.pyc ADDED
Binary file (1.04 kB). View file