Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- llmeval-env/lib/python3.10/site-packages/__pycache__/__editable___lm_eval_0_4_2_finder.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/__pycache__/isympy.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/__pycache__/six.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/__pycache__/sqlitedict.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/__pycache__/threadpoolctl.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/__pycache__/typing_extensions.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/absl_py-2.1.0.dist-info/AUTHORS +7 -0
- llmeval-env/lib/python3.10/site-packages/absl_py-2.1.0.dist-info/METADATA +84 -0
- llmeval-env/lib/python3.10/site-packages/absl_py-2.1.0.dist-info/RECORD +53 -0
- llmeval-env/lib/python3.10/site-packages/async_timeout-4.0.3.dist-info/INSTALLER +1 -0
- llmeval-env/lib/python3.10/site-packages/async_timeout-4.0.3.dist-info/LICENSE +13 -0
- llmeval-env/lib/python3.10/site-packages/async_timeout-4.0.3.dist-info/RECORD +10 -0
- llmeval-env/lib/python3.10/site-packages/async_timeout-4.0.3.dist-info/WHEEL +5 -0
- llmeval-env/lib/python3.10/site-packages/async_timeout-4.0.3.dist-info/top_level.txt +1 -0
- llmeval-env/lib/python3.10/site-packages/async_timeout-4.0.3.dist-info/zip-safe +1 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/__pycache__/__init__.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/__pycache__/_login.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/__pycache__/_webhooks_payload.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/__pycache__/_webhooks_server.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/__pycache__/constants.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/__pycache__/errors.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/__pycache__/file_download.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/__pycache__/hf_api.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/__pycache__/repository.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/__init__.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/_cli_utils.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/delete_cache.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/download.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/env.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/huggingface_cli.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/lfs.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/scan_cache.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/tag.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/upload.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/user.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/user.py +188 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/__init__.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/audio_classification.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/automatic_speech_recognition.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/depth_estimation.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/document_question_answering.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/image_to_image.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/text_generation.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/token_classification.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/visual_question_answering.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/zero_shot_object_detection.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/serialization/__init__.py +20 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/serialization/__pycache__/__init__.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/serialization/__pycache__/_base.cpython-310.pyc +0 -0
- llmeval-env/lib/python3.10/site-packages/huggingface_hub/serialization/__pycache__/_numpy.cpython-310.pyc +0 -0
llmeval-env/lib/python3.10/site-packages/__pycache__/__editable___lm_eval_0_4_2_finder.cpython-310.pyc
ADDED
Binary file (18.4 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/__pycache__/isympy.cpython-310.pyc
ADDED
Binary file (9.43 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/__pycache__/six.cpython-310.pyc
ADDED
Binary file (27.6 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/__pycache__/sqlitedict.cpython-310.pyc
ADDED
Binary file (18.8 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/__pycache__/threadpoolctl.cpython-310.pyc
ADDED
Binary file (43.8 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/__pycache__/typing_extensions.cpython-310.pyc
ADDED
Binary file (93.6 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/absl_py-2.1.0.dist-info/AUTHORS
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This is the list of Abseil authors for copyright purposes.
|
2 |
+
#
|
3 |
+
# This does not necessarily list everyone who has contributed code, since in
|
4 |
+
# some cases, their employer may be the copyright holder. To see the full list
|
5 |
+
# of contributors, see the revision history in source control.
|
6 |
+
|
7 |
+
Google Inc.
|
llmeval-env/lib/python3.10/site-packages/absl_py-2.1.0.dist-info/METADATA
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: absl-py
|
3 |
+
Version: 2.1.0
|
4 |
+
Summary: Abseil Python Common Libraries, see https://github.com/abseil/abseil-py.
|
5 |
+
Home-page: https://github.com/abseil/abseil-py
|
6 |
+
Author: The Abseil Authors
|
7 |
+
License: Apache 2.0
|
8 |
+
Classifier: Programming Language :: Python
|
9 |
+
Classifier: Programming Language :: Python :: 3
|
10 |
+
Classifier: Programming Language :: Python :: 3.7
|
11 |
+
Classifier: Programming Language :: Python :: 3.8
|
12 |
+
Classifier: Programming Language :: Python :: 3.9
|
13 |
+
Classifier: Programming Language :: Python :: 3.10
|
14 |
+
Classifier: Programming Language :: Python :: 3.11
|
15 |
+
Classifier: Programming Language :: Python :: 3.12
|
16 |
+
Classifier: Intended Audience :: Developers
|
17 |
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
18 |
+
Classifier: License :: OSI Approved :: Apache Software License
|
19 |
+
Classifier: Operating System :: OS Independent
|
20 |
+
Requires-Python: >=3.7
|
21 |
+
Description-Content-Type: text/markdown
|
22 |
+
License-File: LICENSE
|
23 |
+
License-File: AUTHORS
|
24 |
+
|
25 |
+
# Abseil Python Common Libraries
|
26 |
+
|
27 |
+
This repository is a collection of Python library code for building Python
|
28 |
+
applications. The code is collected from Google's own Python code base, and has
|
29 |
+
been extensively tested and used in production.
|
30 |
+
|
31 |
+
## Features
|
32 |
+
|
33 |
+
* Simple application startup
|
34 |
+
* Distributed commandline flags system
|
35 |
+
* Custom logging module with additional features
|
36 |
+
* Testing utilities
|
37 |
+
|
38 |
+
## Getting Started
|
39 |
+
|
40 |
+
### Installation
|
41 |
+
|
42 |
+
To install the package, simply run:
|
43 |
+
|
44 |
+
```bash
|
45 |
+
pip install absl-py
|
46 |
+
```
|
47 |
+
|
48 |
+
Or install from source:
|
49 |
+
|
50 |
+
```bash
|
51 |
+
python setup.py install
|
52 |
+
```
|
53 |
+
|
54 |
+
### Running Tests
|
55 |
+
|
56 |
+
To run Abseil tests, you can clone the git repo and run
|
57 |
+
[bazel](https://bazel.build/):
|
58 |
+
|
59 |
+
```bash
|
60 |
+
git clone https://github.com/abseil/abseil-py.git
|
61 |
+
cd abseil-py
|
62 |
+
bazel test absl/...
|
63 |
+
```
|
64 |
+
|
65 |
+
### Example Code
|
66 |
+
|
67 |
+
Please refer to
|
68 |
+
[smoke_tests/sample_app.py](https://github.com/abseil/abseil-py/blob/main/smoke_tests/sample_app.py)
|
69 |
+
as an example to get started.
|
70 |
+
|
71 |
+
## Documentation
|
72 |
+
|
73 |
+
See the [Abseil Python Developer Guide](https://abseil.io/docs/python/).
|
74 |
+
|
75 |
+
## Future Releases
|
76 |
+
|
77 |
+
The current repository includes an initial set of libraries for early adoption.
|
78 |
+
More components and interoperability with Abseil C++ Common Libraries
|
79 |
+
will come in future releases.
|
80 |
+
|
81 |
+
## License
|
82 |
+
|
83 |
+
The Abseil Python library is licensed under the terms of the Apache
|
84 |
+
license. See [LICENSE](LICENSE) for more information.
|
llmeval-env/lib/python3.10/site-packages/absl_py-2.1.0.dist-info/RECORD
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
absl/__init__.py,sha256=7cM57swk2T1Hc5wxmt-JpcaR6xfdPJyL_lyRqgODvuM,584
|
2 |
+
absl/__pycache__/__init__.cpython-310.pyc,,
|
3 |
+
absl/__pycache__/app.cpython-310.pyc,,
|
4 |
+
absl/__pycache__/command_name.cpython-310.pyc,,
|
5 |
+
absl/app.py,sha256=DQROJ_Ovex6w2_nr_s7AHgXQle951XmcVtlNrMjfSFA,15374
|
6 |
+
absl/app.pyi,sha256=DqRvFRos3oFk00lZJSKaHZuL_3-LnZl-ylg_VAXtPcc,1737
|
7 |
+
absl/command_name.py,sha256=C7CuwMMedDLUOX88Et92QZb2se__nU7txgpO-01amxg,2301
|
8 |
+
absl/flags/__init__.py,sha256=FgR_NxQG1xLA2ZxLU51HTrLWV5kbN9eSCI-47Z7D3WA,7728
|
9 |
+
absl/flags/__pycache__/__init__.cpython-310.pyc,,
|
10 |
+
absl/flags/__pycache__/_argument_parser.cpython-310.pyc,,
|
11 |
+
absl/flags/__pycache__/_defines.cpython-310.pyc,,
|
12 |
+
absl/flags/__pycache__/_exceptions.cpython-310.pyc,,
|
13 |
+
absl/flags/__pycache__/_flag.cpython-310.pyc,,
|
14 |
+
absl/flags/__pycache__/_flagvalues.cpython-310.pyc,,
|
15 |
+
absl/flags/__pycache__/_helpers.cpython-310.pyc,,
|
16 |
+
absl/flags/__pycache__/_validators.cpython-310.pyc,,
|
17 |
+
absl/flags/__pycache__/_validators_classes.cpython-310.pyc,,
|
18 |
+
absl/flags/__pycache__/argparse_flags.cpython-310.pyc,,
|
19 |
+
absl/flags/_argument_parser.py,sha256=TQFhT0OcQuRO_1GTJoUvYC1KU6wV9f4Lc7jQmajBGi0,20934
|
20 |
+
absl/flags/_defines.py,sha256=s_YA_tAHFU4wxrJqKLH5uMldTl1DtlUfSvgBbflXkQ8,52783
|
21 |
+
absl/flags/_exceptions.py,sha256=Lws7ZZrlLJG83VHuOB4Z4CNfcSoKX5pJnsNRCtp-dMw,3657
|
22 |
+
absl/flags/_flag.py,sha256=Sv_d7kDSZh-VNr4JGrBy4g7VxnbRspOOd5hO6wA94qk,19895
|
23 |
+
absl/flags/_flagvalues.py,sha256=Gferpr9yg8Ntc6ij9tPiChliYz5jYWfVJoKzAREwNFw,54127
|
24 |
+
absl/flags/_helpers.py,sha256=uWWeqbhc19kTXonfM7mNZT68ZakmJgu-v5IHeS9A9Xc,14081
|
25 |
+
absl/flags/_validators.py,sha256=_hpVwThXQhL6PFOA9-L2ZRI-7zLu2UxU_hRJJWXYoHw,14144
|
26 |
+
absl/flags/_validators_classes.py,sha256=KLBJhJAt8C18gy2Uq-q7bUFNS_AhPBlxlwGiNm5gWXU,6157
|
27 |
+
absl/flags/argparse_flags.py,sha256=57E1HFa40tvnQ3DQzY3x1qdBUIxtfTTYAYONT_k8HOI,14485
|
28 |
+
absl/logging/__init__.py,sha256=mzF3rusWjzLbuVdZI8SfPiIoqfWO9kBUhxVOvGZQTv4,42082
|
29 |
+
absl/logging/__init__.pyi,sha256=NPAna_9rrYTVNIHLXUbdvsAZcNlv4IJs9yNnL59mxr8,5794
|
30 |
+
absl/logging/__pycache__/__init__.cpython-310.pyc,,
|
31 |
+
absl/logging/__pycache__/converter.cpython-310.pyc,,
|
32 |
+
absl/logging/converter.py,sha256=eTucx1Ojix7YWMQUyWKzPRTrxGLuCkNsTmJa1GW6k94,6353
|
33 |
+
absl/testing/__init__.py,sha256=7cM57swk2T1Hc5wxmt-JpcaR6xfdPJyL_lyRqgODvuM,584
|
34 |
+
absl/testing/__pycache__/__init__.cpython-310.pyc,,
|
35 |
+
absl/testing/__pycache__/_bazelize_command.cpython-310.pyc,,
|
36 |
+
absl/testing/__pycache__/_pretty_print_reporter.cpython-310.pyc,,
|
37 |
+
absl/testing/__pycache__/absltest.cpython-310.pyc,,
|
38 |
+
absl/testing/__pycache__/flagsaver.cpython-310.pyc,,
|
39 |
+
absl/testing/__pycache__/parameterized.cpython-310.pyc,,
|
40 |
+
absl/testing/__pycache__/xml_reporter.cpython-310.pyc,,
|
41 |
+
absl/testing/_bazelize_command.py,sha256=R4rV4j5AOSp3PNkVQKP1I-SKYzQbXyeuiOT3d23cTLA,2302
|
42 |
+
absl/testing/_pretty_print_reporter.py,sha256=nL5qSsYWF6O_C6L9PexwFSPxs68Wc85RhdhRBN2AgTw,3140
|
43 |
+
absl/testing/absltest.py,sha256=sgb0TPgNP0_nLKcxrHBlifvUsgufnYURVR8Vau3f278,101119
|
44 |
+
absl/testing/flagsaver.py,sha256=514JmVdCn-P0jsTntskCtUfxrHyp3urLdn2bzDd991s,13392
|
45 |
+
absl/testing/parameterized.py,sha256=PT1P3X__WkFC_NyGWifUdJeqn-BM4JI3yy-1zsGaFEI,27807
|
46 |
+
absl/testing/xml_reporter.py,sha256=k_9cWhw01RGCQImGDciTa_RrBEEuPZ3IPD5IASoRwwM,21720
|
47 |
+
absl_py-2.1.0.dist-info/AUTHORS,sha256=YoLudsylaQg7W5mLn4FroQMuEnuNx8RpQrhkd_xvv6U,296
|
48 |
+
absl_py-2.1.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
49 |
+
absl_py-2.1.0.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
50 |
+
absl_py-2.1.0.dist-info/METADATA,sha256=CTp5OILgEjYv4Y7dpCHzW5QmM57hl-2i-AizwFlnRYA,2311
|
51 |
+
absl_py-2.1.0.dist-info/RECORD,,
|
52 |
+
absl_py-2.1.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
53 |
+
absl_py-2.1.0.dist-info/top_level.txt,sha256=0M_1z27Hi5Bsj1EhTfE_ajdJdFxeP_aw0xXnR4BXXhI,5
|
llmeval-env/lib/python3.10/site-packages/async_timeout-4.0.3.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
llmeval-env/lib/python3.10/site-packages/async_timeout-4.0.3.dist-info/LICENSE
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Copyright 2016-2020 aio-libs collaboration.
|
2 |
+
|
3 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
+
you may not use this file except in compliance with the License.
|
5 |
+
You may obtain a copy of the License at
|
6 |
+
|
7 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
8 |
+
|
9 |
+
Unless required by applicable law or agreed to in writing, software
|
10 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
11 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
+
See the License for the specific language governing permissions and
|
13 |
+
limitations under the License.
|
llmeval-env/lib/python3.10/site-packages/async_timeout-4.0.3.dist-info/RECORD
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
async_timeout-4.0.3.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
2 |
+
async_timeout-4.0.3.dist-info/LICENSE,sha256=4Y17uPUT4sRrtYXJS1hb0wcg3TzLId2weG9y0WZY-Sw,568
|
3 |
+
async_timeout-4.0.3.dist-info/METADATA,sha256=WQVcnDIXQ2ntebcm-vYjhNLg_VMeTWw13_ReT-U36J4,4209
|
4 |
+
async_timeout-4.0.3.dist-info/RECORD,,
|
5 |
+
async_timeout-4.0.3.dist-info/WHEEL,sha256=5sUXSg9e4bi7lTLOHcm6QEYwO5TIF1TNbTSVFVjcJcc,92
|
6 |
+
async_timeout-4.0.3.dist-info/top_level.txt,sha256=9oM4e7Twq8iD_7_Q3Mz0E6GPIB6vJvRFo-UBwUQtBDU,14
|
7 |
+
async_timeout-4.0.3.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
8 |
+
async_timeout/__init__.py,sha256=A0VOqDGQ3cCPFp0NZJKIbx_VRP1Y2xPtQOZebVIUB88,7242
|
9 |
+
async_timeout/__pycache__/__init__.cpython-310.pyc,,
|
10 |
+
async_timeout/py.typed,sha256=tyozzRT1fziXETDxokmuyt6jhOmtjUbnVNJdZcG7ik0,12
|
llmeval-env/lib/python3.10/site-packages/async_timeout-4.0.3.dist-info/WHEEL
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: bdist_wheel (0.41.1)
|
3 |
+
Root-Is-Purelib: true
|
4 |
+
Tag: py3-none-any
|
5 |
+
|
llmeval-env/lib/python3.10/site-packages/async_timeout-4.0.3.dist-info/top_level.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
async_timeout
|
llmeval-env/lib/python3.10/site-packages/async_timeout-4.0.3.dist-info/zip-safe
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/__pycache__/__init__.cpython-310.pyc
ADDED
Binary file (15.2 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/__pycache__/_login.cpython-310.pyc
ADDED
Binary file (13 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/__pycache__/_webhooks_payload.cpython-310.pyc
ADDED
Binary file (3.95 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/__pycache__/_webhooks_server.cpython-310.pyc
ADDED
Binary file (13.8 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/__pycache__/constants.cpython-310.pyc
ADDED
Binary file (4.54 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/__pycache__/errors.cpython-310.pyc
ADDED
Binary file (3.2 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/__pycache__/file_download.cpython-310.pyc
ADDED
Binary file (52.1 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/__pycache__/hf_api.cpython-310.pyc
ADDED
Binary file (315 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/__pycache__/repository.cpython-310.pyc
ADDED
Binary file (45.6 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/__init__.cpython-310.pyc
ADDED
Binary file (836 Bytes). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/_cli_utils.cpython-310.pyc
ADDED
Binary file (2.23 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/delete_cache.cpython-310.pyc
ADDED
Binary file (13.5 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/download.cpython-310.pyc
ADDED
Binary file (5.49 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/env.cpython-310.pyc
ADDED
Binary file (1.24 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/huggingface_cli.cpython-310.pyc
ADDED
Binary file (1.42 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/lfs.cpython-310.pyc
ADDED
Binary file (5.77 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/scan_cache.cpython-310.pyc
ADDED
Binary file (4.05 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/tag.cpython-310.pyc
ADDED
Binary file (5.84 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/upload.cpython-310.pyc
ADDED
Binary file (8 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/__pycache__/user.cpython-310.pyc
ADDED
Binary file (6.28 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/commands/user.py
ADDED
@@ -0,0 +1,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright 2020 The HuggingFace Team. All rights reserved.
|
2 |
+
#
|
3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
+
# you may not use this file except in compliance with the License.
|
5 |
+
# You may obtain a copy of the License at
|
6 |
+
#
|
7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8 |
+
#
|
9 |
+
# Unless required by applicable law or agreed to in writing, software
|
10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
+
# See the License for the specific language governing permissions and
|
13 |
+
# limitations under the License.
|
14 |
+
import subprocess
|
15 |
+
from argparse import _SubParsersAction
|
16 |
+
|
17 |
+
from requests.exceptions import HTTPError
|
18 |
+
|
19 |
+
from huggingface_hub.commands import BaseHuggingfaceCLICommand
|
20 |
+
from huggingface_hub.constants import (
|
21 |
+
ENDPOINT,
|
22 |
+
REPO_TYPES,
|
23 |
+
REPO_TYPES_URL_PREFIXES,
|
24 |
+
SPACES_SDK_TYPES,
|
25 |
+
)
|
26 |
+
from huggingface_hub.hf_api import HfApi
|
27 |
+
|
28 |
+
from .._login import ( # noqa: F401 # for backward compatibility # noqa: F401 # for backward compatibility
|
29 |
+
NOTEBOOK_LOGIN_PASSWORD_HTML,
|
30 |
+
NOTEBOOK_LOGIN_TOKEN_HTML_END,
|
31 |
+
NOTEBOOK_LOGIN_TOKEN_HTML_START,
|
32 |
+
login,
|
33 |
+
logout,
|
34 |
+
notebook_login,
|
35 |
+
)
|
36 |
+
from ..utils import get_token
|
37 |
+
from ._cli_utils import ANSI
|
38 |
+
|
39 |
+
|
40 |
+
class UserCommands(BaseHuggingfaceCLICommand):
|
41 |
+
@staticmethod
|
42 |
+
def register_subcommand(parser: _SubParsersAction):
|
43 |
+
login_parser = parser.add_parser("login", help="Log in using a token from huggingface.co/settings/tokens")
|
44 |
+
login_parser.add_argument(
|
45 |
+
"--token",
|
46 |
+
type=str,
|
47 |
+
help="Token generated from https://huggingface.co/settings/tokens",
|
48 |
+
)
|
49 |
+
login_parser.add_argument(
|
50 |
+
"--add-to-git-credential",
|
51 |
+
action="store_true",
|
52 |
+
help="Optional: Save token to git credential helper.",
|
53 |
+
)
|
54 |
+
login_parser.set_defaults(func=lambda args: LoginCommand(args))
|
55 |
+
whoami_parser = parser.add_parser("whoami", help="Find out which huggingface.co account you are logged in as.")
|
56 |
+
whoami_parser.set_defaults(func=lambda args: WhoamiCommand(args))
|
57 |
+
logout_parser = parser.add_parser("logout", help="Log out")
|
58 |
+
logout_parser.set_defaults(func=lambda args: LogoutCommand(args))
|
59 |
+
|
60 |
+
# new system: git-based repo system
|
61 |
+
repo_parser = parser.add_parser("repo", help="{create} Commands to interact with your huggingface.co repos.")
|
62 |
+
repo_subparsers = repo_parser.add_subparsers(help="huggingface.co repos related commands")
|
63 |
+
repo_create_parser = repo_subparsers.add_parser("create", help="Create a new repo on huggingface.co")
|
64 |
+
repo_create_parser.add_argument(
|
65 |
+
"name",
|
66 |
+
type=str,
|
67 |
+
help="Name for your repo. Will be namespaced under your username to build the repo id.",
|
68 |
+
)
|
69 |
+
repo_create_parser.add_argument(
|
70 |
+
"--type",
|
71 |
+
type=str,
|
72 |
+
help='Optional: repo_type: set to "dataset" or "space" if creating a dataset or space, default is model.',
|
73 |
+
)
|
74 |
+
repo_create_parser.add_argument("--organization", type=str, help="Optional: organization namespace.")
|
75 |
+
repo_create_parser.add_argument(
|
76 |
+
"--space_sdk",
|
77 |
+
type=str,
|
78 |
+
help='Optional: Hugging Face Spaces SDK type. Required when --type is set to "space".',
|
79 |
+
choices=SPACES_SDK_TYPES,
|
80 |
+
)
|
81 |
+
repo_create_parser.add_argument(
|
82 |
+
"-y",
|
83 |
+
"--yes",
|
84 |
+
action="store_true",
|
85 |
+
help="Optional: answer Yes to the prompt",
|
86 |
+
)
|
87 |
+
repo_create_parser.set_defaults(func=lambda args: RepoCreateCommand(args))
|
88 |
+
|
89 |
+
|
90 |
+
class BaseUserCommand:
|
91 |
+
def __init__(self, args):
|
92 |
+
self.args = args
|
93 |
+
self._api = HfApi()
|
94 |
+
|
95 |
+
|
96 |
+
class LoginCommand(BaseUserCommand):
|
97 |
+
def run(self):
|
98 |
+
login(token=self.args.token, add_to_git_credential=self.args.add_to_git_credential)
|
99 |
+
|
100 |
+
|
101 |
+
class LogoutCommand(BaseUserCommand):
|
102 |
+
def run(self):
|
103 |
+
logout()
|
104 |
+
|
105 |
+
|
106 |
+
class WhoamiCommand(BaseUserCommand):
|
107 |
+
def run(self):
|
108 |
+
token = get_token()
|
109 |
+
if token is None:
|
110 |
+
print("Not logged in")
|
111 |
+
exit()
|
112 |
+
try:
|
113 |
+
info = self._api.whoami(token)
|
114 |
+
print(info["name"])
|
115 |
+
orgs = [org["name"] for org in info["orgs"]]
|
116 |
+
if orgs:
|
117 |
+
print(ANSI.bold("orgs: "), ",".join(orgs))
|
118 |
+
|
119 |
+
if ENDPOINT != "https://huggingface.co":
|
120 |
+
print(f"Authenticated through private endpoint: {ENDPOINT}")
|
121 |
+
except HTTPError as e:
|
122 |
+
print(e)
|
123 |
+
print(ANSI.red(e.response.text))
|
124 |
+
exit(1)
|
125 |
+
|
126 |
+
|
127 |
+
class RepoCreateCommand(BaseUserCommand):
|
128 |
+
def run(self):
|
129 |
+
token = get_token()
|
130 |
+
if token is None:
|
131 |
+
print("Not logged in")
|
132 |
+
exit(1)
|
133 |
+
try:
|
134 |
+
stdout = subprocess.check_output(["git", "--version"]).decode("utf-8")
|
135 |
+
print(ANSI.gray(stdout.strip()))
|
136 |
+
except FileNotFoundError:
|
137 |
+
print("Looks like you do not have git installed, please install.")
|
138 |
+
|
139 |
+
try:
|
140 |
+
stdout = subprocess.check_output(["git-lfs", "--version"]).decode("utf-8")
|
141 |
+
print(ANSI.gray(stdout.strip()))
|
142 |
+
except FileNotFoundError:
|
143 |
+
print(
|
144 |
+
ANSI.red(
|
145 |
+
"Looks like you do not have git-lfs installed, please install."
|
146 |
+
" You can install from https://git-lfs.github.com/."
|
147 |
+
" Then run `git lfs install` (you only have to do this once)."
|
148 |
+
)
|
149 |
+
)
|
150 |
+
print("")
|
151 |
+
|
152 |
+
user = self._api.whoami(token)["name"]
|
153 |
+
namespace = self.args.organization if self.args.organization is not None else user
|
154 |
+
|
155 |
+
repo_id = f"{namespace}/{self.args.name}"
|
156 |
+
|
157 |
+
if self.args.type not in REPO_TYPES:
|
158 |
+
print("Invalid repo --type")
|
159 |
+
exit(1)
|
160 |
+
|
161 |
+
if self.args.type in REPO_TYPES_URL_PREFIXES:
|
162 |
+
prefixed_repo_id = REPO_TYPES_URL_PREFIXES[self.args.type] + repo_id
|
163 |
+
else:
|
164 |
+
prefixed_repo_id = repo_id
|
165 |
+
|
166 |
+
print(f"You are about to create {ANSI.bold(prefixed_repo_id)}")
|
167 |
+
|
168 |
+
if not self.args.yes:
|
169 |
+
choice = input("Proceed? [Y/n] ").lower()
|
170 |
+
if not (choice == "" or choice == "y" or choice == "yes"):
|
171 |
+
print("Abort")
|
172 |
+
exit()
|
173 |
+
try:
|
174 |
+
url = self._api.create_repo(
|
175 |
+
repo_id=repo_id,
|
176 |
+
token=token,
|
177 |
+
repo_type=self.args.type,
|
178 |
+
space_sdk=self.args.space_sdk,
|
179 |
+
)
|
180 |
+
except HTTPError as e:
|
181 |
+
print(e)
|
182 |
+
print(ANSI.red(e.response.text))
|
183 |
+
exit(1)
|
184 |
+
print("\nYour repo now lives at:")
|
185 |
+
print(f" {ANSI.bold(url)}")
|
186 |
+
print("\nYou can clone it locally with the command below, and commit/push as usual.")
|
187 |
+
print(f"\n git clone {url}")
|
188 |
+
print("")
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/__init__.cpython-310.pyc
ADDED
Binary file (5.95 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/audio_classification.cpython-310.pyc
ADDED
Binary file (1.44 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/automatic_speech_recognition.cpython-310.pyc
ADDED
Binary file (2.75 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/depth_estimation.cpython-310.pyc
ADDED
Binary file (1 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/document_question_answering.cpython-310.pyc
ADDED
Binary file (2.09 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/image_to_image.cpython-310.pyc
ADDED
Binary file (1.68 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/text_generation.cpython-310.pyc
ADDED
Binary file (4.77 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/token_classification.cpython-310.pyc
ADDED
Binary file (1.7 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/visual_question_answering.cpython-310.pyc
ADDED
Binary file (1.66 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/__pycache__/zero_shot_object_detection.cpython-310.pyc
ADDED
Binary file (1.76 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/serialization/__init__.py
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright 2024 The HuggingFace Team. All rights reserved.
|
2 |
+
#
|
3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
+
# you may not use this file except in compliance with the License.
|
5 |
+
# You may obtain a copy of the License at
|
6 |
+
#
|
7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8 |
+
#
|
9 |
+
# Unless required by applicable law or agreed to in writing, software
|
10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
+
# See the License for the specific language governing permissions and
|
13 |
+
# limitations under the License.
|
14 |
+
# ruff: noqa: F401
|
15 |
+
"""Contains helpers to serialize tensors."""
|
16 |
+
|
17 |
+
from ._base import StateDictSplit, split_state_dict_into_shards_factory
|
18 |
+
from ._numpy import split_numpy_state_dict_into_shards
|
19 |
+
from ._tensorflow import split_tf_state_dict_into_shards
|
20 |
+
from ._torch import split_torch_state_dict_into_shards
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/serialization/__pycache__/__init__.cpython-310.pyc
ADDED
Binary file (545 Bytes). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/serialization/__pycache__/_base.cpython-310.pyc
ADDED
Binary file (4.7 kB). View file
|
|
llmeval-env/lib/python3.10/site-packages/huggingface_hub/serialization/__pycache__/_numpy.cpython-310.pyc
ADDED
Binary file (2.3 kB). View file
|
|