content stringlengths 1 103k ⌀ | path stringlengths 8 216 | filename stringlengths 2 179 | language stringclasses 15
values | size_bytes int64 2 189k | quality_score float64 0.5 0.95 | complexity float64 0 1 | documentation_ratio float64 0 1 | repository stringclasses 5
values | stars int64 0 1k | created_date stringdate 2023-07-10 19:21:08 2025-07-09 19:11:45 | license stringclasses 4
values | is_test bool 2
classes | file_hash stringlengths 32 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
\n\n | .venv\Lib\site-packages\huggingface_hub\commands\__pycache__\huggingface_cli.cpython-313.pyc | huggingface_cli.cpython-313.pyc | Other | 2,648 | 0.8 | 0 | 0 | awesome-app | 580 | 2023-09-07T17:48:26.935817 | BSD-3-Clause | false | 012fc0c8eb43a6966cd5814cbcb34cae |
\n\n | .venv\Lib\site-packages\huggingface_hub\commands\__pycache__\lfs.cpython-313.pyc | lfs.cpython-313.pyc | Other | 8,357 | 0.8 | 0.104762 | 0 | awesome-app | 593 | 2023-11-21T20:31:35.527456 | BSD-3-Clause | false | 620700b165c63dbb4b70b0ca2cec1b0b |
\n\n | .venv\Lib\site-packages\huggingface_hub\commands\__pycache__\repo.cpython-313.pyc | repo.cpython-313.pyc | Other | 6,764 | 0.8 | 0.089286 | 0.043478 | react-lib | 78 | 2025-03-19T06:43:56.162606 | MIT | false | 3279ed90b2d80413b000c4968d867ac8 |
\n\n | .venv\Lib\site-packages\huggingface_hub\commands\__pycache__\repo_files.cpython-313.pyc | repo_files.cpython-313.pyc | Other | 5,572 | 0.95 | 0.015152 | 0.101695 | awesome-app | 688 | 2024-11-07T08:30:34.990002 | BSD-3-Clause | false | 5bb5b52f33663f9352b374db1cb4b0f8 |
\n\n | .venv\Lib\site-packages\huggingface_hub\commands\__pycache__\scan_cache.cpython-313.pyc | scan_cache.cpython-313.pyc | Other | 9,632 | 0.95 | 0.027778 | 0 | react-lib | 721 | 2024-09-10T20:09:25.751555 | GPL-3.0 | false | a3dcee86d4b0bfaa3c0ba9e384169b7d |
\n\n | .venv\Lib\site-packages\huggingface_hub\commands\__pycache__\tag.cpython-313.pyc | tag.cpython-313.pyc | Other | 10,403 | 0.8 | 0.073529 | 0 | react-lib | 759 | 2024-04-28T13:37:51.655811 | Apache-2.0 | false | b282644631e5f6bbb9e0e013cfa8e894 |
\n\n | .venv\Lib\site-packages\huggingface_hub\commands\__pycache__\upload.cpython-313.pyc | upload.cpython-313.pyc | Other | 14,933 | 0.8 | 0.05303 | 0.090909 | vue-tools | 56 | 2024-01-28T07:35:29.425399 | Apache-2.0 | false | bd9c083af92155fcb60589264126b755 |
\n\n | .venv\Lib\site-packages\huggingface_hub\commands\__pycache__\upload_large_folder.cpython-313.pyc | upload_large_folder.cpython-313.pyc | Other | 6,611 | 0.8 | 0.096774 | 0 | python-kit | 235 | 2024-06-28T19:52:23.619732 | GPL-3.0 | false | 3e19eaddb3aede4eaa88b71311161d49 |
\n\n | .venv\Lib\site-packages\huggingface_hub\commands\__pycache__\user.cpython-313.pyc | user.cpython-313.pyc | Other | 10,304 | 0.8 | 0.078652 | 0.064935 | vue-tools | 930 | 2024-09-27T15:15:16.826572 | BSD-3-Clause | false | f50c376f9139b7aa4f39182d0b3f7210 |
\n\n | .venv\Lib\site-packages\huggingface_hub\commands\__pycache__\version.cpython-313.pyc | version.cpython-313.pyc | Other | 1,525 | 0.8 | 0 | 0 | node-utils | 160 | 2024-02-06T15:29:22.488272 | BSD-3-Clause | false | 66718cf4049d58c6da5ac99f69f5331c |
\n\n | .venv\Lib\site-packages\huggingface_hub\commands\__pycache__\_cli_utils.cpython-313.pyc | _cli_utils.cpython-313.pyc | Other | 3,436 | 0.8 | 0.068966 | 0 | python-kit | 574 | 2024-04-21T12:26:14.567672 | MIT | false | 412dd812db103663b7fbadeb549f3c15 |
\n\n | .venv\Lib\site-packages\huggingface_hub\commands\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 1,031 | 0.8 | 0 | 0 | react-lib | 162 | 2024-08-27T04:57:20.828537 | BSD-3-Clause | false | c035f3c148051f7e89f0471eca1dbbde |
# coding=utf-8\n# Copyright 2023-present, the HuggingFace Inc. team.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless requ... | .venv\Lib\site-packages\huggingface_hub\inference\_common.py | _common.py | Python | 14,781 | 0.95 | 0.173302 | 0.178788 | react-lib | 301 | 2025-02-08T10:01:26.748005 | BSD-3-Clause | false | 69a7c78f4d18bcd6025117a5a91e880c |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import L... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\audio_classification.py | audio_classification.py | Python | 1,573 | 0.95 | 0.209302 | 0.16129 | react-lib | 180 | 2023-10-17T06:20:26.019579 | MIT | false | 8dd808633fc17c2470669acbf686a760 |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import A... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\audio_to_audio.py | audio_to_audio.py | Python | 891 | 0.95 | 0.133333 | 0.217391 | vue-tools | 635 | 2023-10-31T14:53:46.035214 | Apache-2.0 | false | 11f1d199997ea372cadfe248703d35cb |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import L... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\automatic_speech_recognition.py | automatic_speech_recognition.py | Python | 5,515 | 0.95 | 0.168142 | 0.052083 | python-kit | 529 | 2025-03-04T15:17:47.717045 | GPL-3.0 | false | 9c95b3f65b3eb0ad2bde29b7f01c0b64 |
# Copyright 2024 The HuggingFace Team. All rights reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by a... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\base.py | base.py | Python | 6,751 | 0.95 | 0.285714 | 0.224806 | python-kit | 105 | 2024-02-03T19:49:12.284381 | GPL-3.0 | false | a13828852539ca0582f9047d629ad04f |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import A... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\chat_completion.py | chat_completion.py | Python | 11,182 | 0.95 | 0.130435 | 0.01845 | react-lib | 525 | 2023-07-23T19:23:23.012695 | GPL-3.0 | false | ef4ef2c3807e032ff7c897f41c249d06 |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import A... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\depth_estimation.py | depth_estimation.py | Python | 929 | 0.95 | 0.178571 | 0.238095 | react-lib | 84 | 2024-03-31T10:31:46.626214 | Apache-2.0 | false | 68be7b047b531e205c3ae0251915e3f9 |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import A... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\document_question_answering.py | document_question_answering.py | Python | 3,202 | 0.95 | 0.1625 | 0.074627 | react-lib | 440 | 2024-12-29T09:44:10.774819 | Apache-2.0 | false | 7dc0ecd20b5fcc5eda2c1c2069569f2f |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import L... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\feature_extraction.py | feature_extraction.py | Python | 1,537 | 0.95 | 0.083333 | 0.166667 | python-kit | 67 | 2025-07-07T01:58:05.334197 | MIT | false | cdfd860795c8abb189fc338b841b0747 |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import A... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\fill_mask.py | fill_mask.py | Python | 1,708 | 0.95 | 0.148936 | 0.135135 | python-kit | 985 | 2024-11-20T01:30:50.896586 | GPL-3.0 | false | 64aa62288dd79bc06cba5b31affda27e |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import L... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\image_classification.py | image_classification.py | Python | 1,585 | 0.95 | 0.209302 | 0.16129 | react-lib | 328 | 2024-07-27T06:02:43.116625 | BSD-3-Clause | false | e33d497904c6b389fd89b24553692726 |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import L... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\image_segmentation.py | image_segmentation.py | Python | 1,950 | 0.95 | 0.137255 | 0.128205 | node-utils | 100 | 2024-09-08T22:27:17.640573 | MIT | false | 934203eb59d29d586e29b0e9c4a2d6e0 |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import A... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\image_to_image.py | image_to_image.py | Python | 2,044 | 0.95 | 0.142857 | 0.116279 | node-utils | 697 | 2025-01-24T10:56:36.939031 | Apache-2.0 | false | 0b1e2bb886f3db76092c8edb14c7ba8c |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import A... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\image_to_text.py | image_to_text.py | Python | 4,810 | 0.95 | 0.18 | 0.058824 | awesome-app | 473 | 2023-10-25T06:33:07.151105 | GPL-3.0 | false | b1730b75a0a79eab3998074c5b327966 |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import O... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\object_detection.py | object_detection.py | Python | 2,000 | 0.95 | 0.155172 | 0.111111 | node-utils | 363 | 2024-06-24T17:14:48.658406 | MIT | false | 56fa2f97690c8fa9c1257535b5a4d1ea |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import O... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\question_answering.py | question_answering.py | Python | 2,898 | 0.95 | 0.175676 | 0.081967 | awesome-app | 479 | 2023-07-19T05:25:46.471011 | MIT | false | de7768f6cc6efc35c3e1537030435346 |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import A... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\sentence_similarity.py | sentence_similarity.py | Python | 1,052 | 0.95 | 0.148148 | 0.238095 | vue-tools | 879 | 2024-03-23T05:45:11.599998 | Apache-2.0 | false | 8eee9377727972ec57bd667815c707d1 |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import A... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\summarization.py | summarization.py | Python | 1,487 | 0.95 | 0.170732 | 0.172414 | node-utils | 904 | 2023-07-12T20:17:13.675552 | Apache-2.0 | false | e08bb89d7f049f00346aba82cb83991a |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import D... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\table_question_answering.py | table_question_answering.py | Python | 2,293 | 0.95 | 0.145161 | 0.106383 | python-kit | 867 | 2025-02-06T19:39:10.162561 | BSD-3-Clause | false | 3e6427b7f1ae0487e651c1cd3fd2093d |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import A... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\text2text_generation.py | text2text_generation.py | Python | 1,609 | 0.95 | 0.166667 | 0.166667 | awesome-app | 62 | 2024-01-01T04:30:45.645730 | GPL-3.0 | false | 2ea42a6502b9f7c265120165b1ad82c0 |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import L... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\text_classification.py | text_classification.py | Python | 1,445 | 0.95 | 0.219512 | 0.172414 | awesome-app | 604 | 2024-10-22T20:21:59.611995 | BSD-3-Clause | false | 2c3621bbdba9d7fad157cf50620eaaa2 |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import A... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\text_generation.py | text_generation.py | Python | 5,922 | 0.95 | 0.130952 | 0.036232 | vue-tools | 704 | 2023-11-12T16:16:59.095198 | GPL-3.0 | false | 0674754b1fe32518bf38dfea1c366c1c |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import A... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\text_to_audio.py | text_to_audio.py | Python | 4,741 | 0.95 | 0.181818 | 0.059524 | python-kit | 154 | 2024-02-18T20:51:07.861351 | MIT | false | 522ab51ff616d9c582318e94cd39942d |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import A... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\text_to_image.py | text_to_image.py | Python | 1,903 | 0.95 | 0.16 | 0.125 | awesome-app | 358 | 2024-03-14T22:40:28.765433 | Apache-2.0 | false | 401ca4cf2a45fbf0a1854504d0f8b548 |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import A... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\text_to_speech.py | text_to_speech.py | Python | 4,760 | 0.95 | 0.181818 | 0.059524 | awesome-app | 666 | 2025-04-04T23:10:46.598538 | MIT | false | 38bfee6251533d3803808d34d54aa581 |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import A... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\text_to_video.py | text_to_video.py | Python | 1,790 | 0.95 | 0.173913 | 0.138889 | awesome-app | 795 | 2023-08-16T08:50:36.297164 | Apache-2.0 | false | bb0f4c0ff9a87a56e3e62734fdfdfb9b |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import L... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\token_classification.py | token_classification.py | Python | 1,915 | 0.95 | 0.176471 | 0.128205 | python-kit | 949 | 2025-01-12T00:14:40.406288 | BSD-3-Clause | false | 2935050b06ea55888bce688b834792e4 |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import A... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\translation.py | translation.py | Python | 1,763 | 0.95 | 0.183673 | 0.135135 | node-utils | 189 | 2023-12-12T04:25:18.440435 | BSD-3-Clause | false | fd3a289fd1d1e66b7c2685d7d19dde36 |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import A... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\video_classification.py | video_classification.py | Python | 1,680 | 0.95 | 0.222222 | 0.151515 | node-utils | 825 | 2024-04-27T23:31:00.201626 | BSD-3-Clause | false | 09ff1db62dcf532a56b18902d2e3cd38 |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import A... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\visual_question_answering.py | visual_question_answering.py | Python | 1,673 | 0.95 | 0.183673 | 0.138889 | awesome-app | 321 | 2024-07-05T04:12:46.969953 | MIT | false | 5b4bd0939b49be5da38b6910c3027728 |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import L... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\zero_shot_classification.py | zero_shot_classification.py | Python | 1,738 | 0.95 | 0.244444 | 0.142857 | react-lib | 849 | 2023-09-06T03:25:33.032859 | GPL-3.0 | false | 0e90ad8f872470ea9ddf2cdbc2e6f2df |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import L... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\zero_shot_image_classification.py | zero_shot_image_classification.py | Python | 1,487 | 0.95 | 0.225 | 0.166667 | vue-tools | 220 | 2024-04-21T19:26:10.957443 | Apache-2.0 | false | da63211672d73a109da4104142b73770 |
# Inference code generated from the JSON schema spec in @huggingface/tasks.\n#\n# See:\n# - script: https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-codegen.ts\n# - specs: https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks.\nfrom typing import L... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\zero_shot_object_detection.py | zero_shot_object_detection.py | Python | 1,630 | 0.95 | 0.173077 | 0.128205 | react-lib | 287 | 2025-07-08T14:59:06.728719 | GPL-3.0 | false | ee005f1a0b4239fe589bb76b13995d34 |
# This file is auto-generated by `utils/generate_inference_types.py`.\n# Do not modify it manually.\n#\n# ruff: noqa: F401\n\nfrom .audio_classification import (\n AudioClassificationInput,\n AudioClassificationOutputElement,\n AudioClassificationOutputTransform,\n AudioClassificationParameters,\n)\nfrom .a... | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__init__.py | __init__.py | Python | 6,443 | 0.95 | 0 | 0.021053 | node-utils | 218 | 2024-02-02T13:41:41.600001 | Apache-2.0 | false | 7b83acd3402476deda943b7e435f5e3c |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\audio_classification.cpython-313.pyc | audio_classification.cpython-313.pyc | Other | 1,714 | 0.95 | 0.375 | 0 | awesome-app | 763 | 2025-06-16T02:52:09.435902 | GPL-3.0 | false | 29abfc15169be04dff23d419a1d8264e |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\audio_to_audio.cpython-313.pyc | audio_to_audio.cpython-313.pyc | Other | 1,148 | 0.8 | 0.2 | 0 | react-lib | 586 | 2024-01-12T05:15:47.202420 | GPL-3.0 | false | 19219f4ac133a6b7228ccf713919532b |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\automatic_speech_recognition.cpython-313.pyc | automatic_speech_recognition.cpython-313.pyc | Other | 3,487 | 0.8 | 0.115385 | 0 | vue-tools | 395 | 2025-01-20T14:02:41.537317 | BSD-3-Clause | false | ac5c915c5ea03472d004034dbdd1bc49 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\base.cpython-313.pyc | base.cpython-313.pyc | Other | 7,827 | 0.95 | 0.092105 | 0 | node-utils | 1 | 2024-09-22T21:35:05.628471 | Apache-2.0 | false | d6fd95c7ad9cae750503ccd6dba052d3 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\chat_completion.cpython-313.pyc | chat_completion.cpython-313.pyc | Other | 13,035 | 0.95 | 0.008547 | 0 | vue-tools | 50 | 2024-08-28T22:55:25.632723 | MIT | false | fbed7af6a6c2d391787e35ea3273085c |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\depth_estimation.cpython-313.pyc | depth_estimation.cpython-313.pyc | Other | 1,208 | 0.7 | 0.2 | 0 | node-utils | 945 | 2025-02-23T17:31:16.264681 | Apache-2.0 | false | b943609f6c450a259102ef888542df31 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\document_question_answering.cpython-313.pyc | document_question_answering.cpython-313.pyc | Other | 2,561 | 0.8 | 0.1875 | 0.066667 | awesome-app | 343 | 2024-03-01T18:40:48.849402 | GPL-3.0 | false | b73e848c121c991e631d3a4db4ef71d4 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\feature_extraction.cpython-313.pyc | feature_extraction.cpython-313.pyc | Other | 1,305 | 0.95 | 0 | 0 | python-kit | 718 | 2024-08-08T23:38:20.161791 | BSD-3-Clause | false | 8f7e7aed8713dabccaf2a5bc92257b66 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\fill_mask.cpython-313.pyc | fill_mask.cpython-313.pyc | Other | 1,721 | 0.8 | 0.12 | 0 | node-utils | 407 | 2023-11-01T19:37:00.837567 | MIT | false | 469dc6ec293ef3bce30f97ae4f3602f7 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\image_classification.cpython-313.pyc | image_classification.cpython-313.pyc | Other | 1,726 | 0.95 | 0.375 | 0 | node-utils | 357 | 2024-06-01T13:57:23.756699 | MIT | false | 18fc1d981bd89f20f4ad2f633620d793 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\image_segmentation.cpython-313.pyc | image_segmentation.cpython-313.pyc | Other | 1,919 | 0.8 | 0.136364 | 0 | react-lib | 391 | 2023-07-25T16:34:44.571835 | GPL-3.0 | false | b68395073410a755fef28e5dfcc32eb0 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\image_to_image.cpython-313.pyc | image_to_image.cpython-313.pyc | Other | 2,078 | 0.8 | 0.142857 | 0 | react-lib | 726 | 2024-01-30T12:07:04.952368 | Apache-2.0 | false | 1b11c1eecf78f28af9930e634c92868a |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\image_to_text.cpython-313.pyc | image_to_text.cpython-313.pyc | Other | 3,014 | 0.8 | 0.136364 | 0 | awesome-app | 200 | 2023-08-12T06:46:00.152236 | MIT | false | 8b9588590de7ce9bda8577e80a2302eb |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\object_detection.cpython-313.pyc | object_detection.cpython-313.pyc | Other | 2,012 | 0.8 | 0.125 | 0 | awesome-app | 517 | 2023-11-22T23:59:13.282351 | GPL-3.0 | false | 38b27c3b68ebca20b119a0e07ab5a0eb |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\question_answering.cpython-313.pyc | question_answering.cpython-313.pyc | Other | 2,329 | 0.8 | 0.125 | 0 | node-utils | 724 | 2025-02-19T18:59:56.602842 | GPL-3.0 | false | 02b8c71c8d69521a3d9eda99fd13f3fc |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\sentence_similarity.cpython-313.pyc | sentence_similarity.cpython-313.pyc | Other | 1,200 | 0.7 | 0.142857 | 0 | awesome-app | 50 | 2024-05-15T23:03:14.337782 | GPL-3.0 | false | 56e8d13a52c6f9f69cb6657d9b8bc214 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\summarization.cpython-313.pyc | summarization.cpython-313.pyc | Other | 1,817 | 0.8 | 0.25 | 0 | vue-tools | 286 | 2023-12-08T17:45:51.018735 | Apache-2.0 | false | 39decc4b844bf117279c1304723863d4 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\table_question_answering.cpython-313.pyc | table_question_answering.cpython-313.pyc | Other | 2,337 | 0.8 | 0.15 | 0 | react-lib | 899 | 2024-02-24T13:44:32.443607 | GPL-3.0 | false | 8a2a7cce213b68c57742f76738b885bb |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\text2text_generation.cpython-313.pyc | text2text_generation.cpython-313.pyc | Other | 1,968 | 0.8 | 0.230769 | 0 | react-lib | 755 | 2023-09-14T11:25:17.088873 | BSD-3-Clause | false | e43cc570d0e3d3ae86219d791df9285f |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\text_classification.cpython-313.pyc | text_classification.cpython-313.pyc | Other | 1,714 | 0.95 | 0.375 | 0 | python-kit | 517 | 2023-12-28T00:52:58.100163 | Apache-2.0 | false | f155082a0ede8c9618d5c0b155949563 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\text_generation.cpython-313.pyc | text_generation.cpython-313.pyc | Other | 6,471 | 0.95 | 0 | 0 | react-lib | 32 | 2024-01-17T04:28:17.863045 | MIT | false | db44cd82620a48169a7f1180e644c48d |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\text_to_audio.cpython-313.pyc | text_to_audio.cpython-313.pyc | Other | 2,904 | 0.8 | 0.136364 | 0 | react-lib | 67 | 2023-07-12T10:04:14.747099 | Apache-2.0 | false | 00e448c886cdf04e17f4ae8b6072b42d |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\text_to_image.cpython-313.pyc | text_to_image.cpython-313.pyc | Other | 1,829 | 0.8 | 0.214286 | 0 | node-utils | 673 | 2023-11-30T12:20:46.585619 | MIT | false | dad3a876c5c4890902539315b278e85c |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\text_to_speech.cpython-313.pyc | text_to_speech.cpython-313.pyc | Other | 2,941 | 0.8 | 0.130435 | 0 | python-kit | 302 | 2025-03-23T07:46:16.927003 | GPL-3.0 | false | 3799f5afbe14296771deff3174d08c36 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\text_to_video.cpython-313.pyc | text_to_video.cpython-313.pyc | Other | 1,761 | 0.8 | 0.166667 | 0 | node-utils | 780 | 2023-12-10T08:56:45.198005 | GPL-3.0 | false | e6d1adf1c11cda05951e0e4316997112 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\token_classification.cpython-313.pyc | token_classification.cpython-313.pyc | Other | 2,013 | 0.8 | 0.1875 | 0 | react-lib | 697 | 2024-11-26T23:44:28.729550 | Apache-2.0 | false | ab45b39e227410cbce039ad31e8c28b3 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\translation.cpython-313.pyc | translation.cpython-313.pyc | Other | 1,921 | 0.8 | 0.230769 | 0 | python-kit | 176 | 2024-04-04T05:15:24.862001 | Apache-2.0 | false | 8880f77e88f165998c51cc315b94565d |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\video_classification.cpython-313.pyc | video_classification.cpython-313.pyc | Other | 1,861 | 0.95 | 0.15 | 0 | vue-tools | 674 | 2025-01-17T14:02:55.498833 | Apache-2.0 | false | 25c44cea3692791f55895b27978ae5c0 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\visual_question_answering.cpython-313.pyc | visual_question_answering.cpython-313.pyc | Other | 1,976 | 0.8 | 0.166667 | 0 | node-utils | 733 | 2025-07-05T02:41:23.703180 | GPL-3.0 | false | 3846598b5d07a87cc164916fa1462cab |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\zero_shot_classification.cpython-313.pyc | zero_shot_classification.cpython-313.pyc | Other | 1,692 | 0.8 | 0.272727 | 0 | react-lib | 54 | 2025-01-19T10:30:50.542621 | Apache-2.0 | false | cb3d94c45337ed1881ac0c1d09092926 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\zero_shot_image_classification.cpython-313.pyc | zero_shot_image_classification.cpython-313.pyc | Other | 1,664 | 0.8 | 0.25 | 0 | awesome-app | 931 | 2023-10-05T15:41:02.394540 | Apache-2.0 | false | f146080d75a06aa8ec049acdcd29d608 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\zero_shot_object_detection.cpython-313.pyc | zero_shot_object_detection.cpython-313.pyc | Other | 2,022 | 0.8 | 0.142857 | 0 | node-utils | 353 | 2024-10-17T01:43:52.400954 | Apache-2.0 | false | ea4b4af42fd8f378e9d67a7eaba4d4dc |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\types\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 7,635 | 0.8 | 0 | 0 | react-lib | 750 | 2024-09-08T08:52:01.388467 | MIT | false | c2eb7185783d3e4e71769c69e855976c |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_generated\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 211 | 0.7 | 0 | 0 | vue-tools | 279 | 2024-03-23T15:41:13.548123 | GPL-3.0 | false | 4b2c454252402803dd36cdac05de4afa |
from __future__ import annotations\n\nimport asyncio\nfrom typing import AsyncGenerator, Dict, Iterable, List, Optional, Union\n\nfrom huggingface_hub import ChatCompletionInputMessage, ChatCompletionStreamOutput, MCPClient\n\nfrom .._providers import PROVIDER_OR_POLICY_T\nfrom .constants import DEFAULT_SYSTEM_PROMPT, ... | .venv\Lib\site-packages\huggingface_hub\inference\_mcp\agent.py | agent.py | Python | 4,281 | 0.95 | 0.203883 | 0.02439 | awesome-app | 797 | 2024-04-25T15:19:05.486725 | Apache-2.0 | false | c72d266aed5de1e65dec707bfed38af3 |
import asyncio\nimport os\nimport signal\nimport traceback\nfrom typing import Optional\n\nimport typer\nfrom rich import print\n\nfrom ._cli_hacks import _async_prompt, _patch_anyio_open_process\nfrom .agent import Agent\nfrom .utils import _load_agent_config\n\n\napp = typer.Typer(\n rich_markup_mode="rich",\n ... | .venv\Lib\site-packages\huggingface_hub\inference\_mcp\cli.py | cli.py | Python | 9,031 | 0.95 | 0.213974 | 0.041451 | awesome-app | 504 | 2023-12-22T21:46:41.435565 | MIT | false | b6230ea3a60bceb3857d030b20e74cc8 |
from __future__ import annotations\n\nimport sys\nfrom pathlib import Path\nfrom typing import List\n\nfrom huggingface_hub import ChatCompletionInputTool\n\n\nFILENAME_CONFIG = "agent.json"\nFILENAME_PROMPT = "PROMPT.md"\n\nDEFAULT_AGENT = {\n "model": "Qwen/Qwen2.5-72B-Instruct",\n "provider": "nebius",\n "s... | .venv\Lib\site-packages\huggingface_hub\inference\_mcp\constants.py | constants.py | Python | 2,511 | 0.95 | 0.125 | 0 | react-lib | 868 | 2024-01-16T00:24:41.816711 | BSD-3-Clause | false | 521070d1e65c008e470cc089ee83ef3d |
import json\nimport logging\nfrom contextlib import AsyncExitStack\nfrom datetime import timedelta\nfrom pathlib import Path\nfrom typing import TYPE_CHECKING, Any, AsyncIterable, Dict, List, Literal, Optional, Union, overload\n\nfrom typing_extensions import NotRequired, TypeAlias, TypedDict, Unpack\n\nfrom ...utils._... | .venv\Lib\site-packages\huggingface_hub\inference\_mcp\mcp_client.py | mcp_client.py | Python | 15,788 | 0.95 | 0.227642 | 0.090032 | vue-tools | 118 | 2024-10-16T00:34:03.635358 | Apache-2.0 | false | a6a12867f7dc5577e855f82771129143 |
from typing import Dict, List, Literal, TypedDict, Union\n\n\nclass InputConfig(TypedDict, total=False):\n id: str\n description: str\n type: str\n password: bool\n\n\nclass StdioServerConfig(TypedDict):\n type: Literal["stdio"]\n command: str\n args: List[str]\n env: Dict[str, str]\n cwd: st... | .venv\Lib\site-packages\huggingface_hub\inference\_mcp\types.py | types.py | Python | 743 | 0.95 | 0.128205 | 0.037037 | react-lib | 162 | 2025-02-09T12:04:24.678154 | MIT | false | 776be91270daeaed7a4e439a84fddd1e |
"""\nUtility functions for MCPClient and Tiny Agents.\n\nFormatting utilities taken from the JS SDK: https://github.com/huggingface/huggingface.js/blob/main/packages/mcp-client/src/ResultFormatter.ts.\n"""\n\nimport json\nfrom pathlib import Path\nfrom typing import TYPE_CHECKING, List, Optional, Tuple\n\nfrom huggingf... | .venv\Lib\site-packages\huggingface_hub\inference\_mcp\utils.py | utils.py | Python | 4,093 | 0.95 | 0.145161 | 0.021739 | awesome-app | 510 | 2024-02-25T20:02:24.712536 | MIT | false | 5e65f100d2d62524ade513bf7a1cad4a |
import asyncio\nimport sys\nfrom functools import partial\n\nimport typer\n\n\ndef _patch_anyio_open_process():\n """\n Patch anyio.open_process to allow detached processes on Windows and Unix-like systems.\n\n This is necessary to prevent the MCP client from being interrupted by Ctrl+C when running in the CLI... | .venv\Lib\site-packages\huggingface_hub\inference\_mcp\_cli_hacks.py | _cli_hacks.py | Python | 3,182 | 0.95 | 0.181818 | 0.134328 | vue-tools | 489 | 2023-10-18T00:52:40.222054 | MIT | false | 9ad1112417a49b7fdecea425ab3dbde1 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_mcp\__pycache__\agent.cpython-313.pyc | agent.cpython-313.pyc | Other | 5,442 | 0.95 | 0.095238 | 0 | awesome-app | 95 | 2024-11-30T11:28:04.235294 | BSD-3-Clause | false | 19f73bd4f4cefef0d404f055c231f3de |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_mcp\__pycache__\cli.cpython-313.pyc | cli.cpython-313.pyc | Other | 11,701 | 0.95 | 0.007752 | 0 | awesome-app | 663 | 2024-08-31T05:39:31.571456 | BSD-3-Clause | false | 26e961e2d3feef9401429e138657638f |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_mcp\__pycache__\constants.cpython-313.pyc | constants.cpython-313.pyc | Other | 2,491 | 0.95 | 0.171429 | 0 | python-kit | 948 | 2024-10-26T19:58:09.835158 | GPL-3.0 | false | 58c7d114184e20e3ce8fda799bf0f702 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_mcp\__pycache__\mcp_client.cpython-313.pyc | mcp_client.cpython-313.pyc | Other | 17,166 | 0.95 | 0.072165 | 0.010989 | vue-tools | 784 | 2024-05-05T01:06:38.746751 | GPL-3.0 | false | 2492328c58d21d30f4ac18fd0082757f |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_mcp\__pycache__\types.cpython-313.pyc | types.cpython-313.pyc | Other | 2,005 | 0.8 | 0 | 0 | react-lib | 539 | 2024-11-05T18:22:47.636386 | GPL-3.0 | false | d9ab46ef02d42ff50d45cfddeae3f00a |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_mcp\__pycache__\utils.cpython-313.pyc | utils.cpython-313.pyc | Other | 5,411 | 0.95 | 0.015385 | 0 | python-kit | 162 | 2023-09-19T05:52:17.966132 | BSD-3-Clause | false | 5fee6d1317cf12f01cf4610323a3717a |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_mcp\__pycache__\_cli_hacks.cpython-313.pyc | _cli_hacks.cpython-313.pyc | Other | 3,956 | 0.95 | 0.093023 | 0 | python-kit | 211 | 2024-07-30T20:48:51.886876 | MIT | false | 028d67edfece5654ed9b6cc91873f333 |
\n\n | .venv\Lib\site-packages\huggingface_hub\inference\_mcp\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 205 | 0.7 | 0 | 0 | react-lib | 479 | 2024-08-03T03:12:22.478625 | GPL-3.0 | false | db7001e4a3dec42a17fe936a181401db |
import time\nfrom typing import Any, Dict, Optional, Union\n\nfrom huggingface_hub.hf_api import InferenceProviderMapping\nfrom huggingface_hub.inference._common import RequestParameters, _as_dict\nfrom huggingface_hub.inference._providers._common import TaskProviderHelper, filter_none\nfrom huggingface_hub.utils impor... | .venv\Lib\site-packages\huggingface_hub\inference\_providers\black_forest_labs.py | black_forest_labs.py | Python | 2,842 | 0.95 | 0.188406 | 0 | node-utils | 571 | 2025-07-05T01:48:56.966475 | GPL-3.0 | false | c83d7ebf8dad682742d605fc9cd82282 |
from ._common import BaseConversationalTask\n\n\nclass CerebrasConversationalTask(BaseConversationalTask):\n def __init__(self):\n super().__init__(provider="cerebras", base_url="https://api.cerebras.ai")\n | .venv\Lib\site-packages\huggingface_hub\inference\_providers\cerebras.py | cerebras.py | Python | 210 | 0.95 | 0.333333 | 0 | python-kit | 439 | 2025-01-14T07:12:59.433290 | Apache-2.0 | false | 4db8afa189d09fff48ff3f7428ba24cf |
from typing import Any, Dict, Optional\n\nfrom huggingface_hub.hf_api import InferenceProviderMapping\n\nfrom ._common import BaseConversationalTask\n\n\n_PROVIDER = "cohere"\n_BASE_URL = "https://api.cohere.com"\n\n\nclass CohereConversationalTask(BaseConversationalTask):\n def __init__(self):\n super().__in... | .venv\Lib\site-packages\huggingface_hub\inference\_providers\cohere.py | cohere.py | Python | 1,253 | 0.95 | 0.1875 | 0 | python-kit | 469 | 2025-04-01T08:18:07.224372 | BSD-3-Clause | false | 7dbf01668a22043b2a7c8496718c6fbb |
import base64\nimport time\nfrom abc import ABC\nfrom typing import Any, Dict, Optional, Union\nfrom urllib.parse import urlparse\n\nfrom huggingface_hub import constants\nfrom huggingface_hub.hf_api import InferenceProviderMapping\nfrom huggingface_hub.inference._common import RequestParameters, _as_dict\nfrom hugging... | .venv\Lib\site-packages\huggingface_hub\inference\_providers\fal_ai.py | fal_ai.py | Python | 7,162 | 0.95 | 0.232558 | 0.07971 | node-utils | 43 | 2024-06-25T02:04:21.524853 | MIT | false | 7c34bbc76cdb2ad77ada5039cee0c328 |
from typing import Any, Dict, Optional, Union\n\nfrom huggingface_hub.hf_api import InferenceProviderMapping\nfrom huggingface_hub.inference._common import RequestParameters, _as_dict\n\nfrom ._common import BaseConversationalTask, BaseTextGenerationTask, filter_none\n\n\n_PROVIDER = "featherless-ai"\n_BASE_URL = "http... | .venv\Lib\site-packages\huggingface_hub\inference\_providers\featherless_ai.py | featherless_ai.py | Python | 1,382 | 0.95 | 0.157895 | 0 | awesome-app | 980 | 2025-05-28T09:40:23.162530 | BSD-3-Clause | false | d3f3e6ac469d88a4ea7522f3903b6230 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.