Spaces:
Sleeping
Sleeping
Merge branch 'main' into huggingface
Browse files
poetry.lock
CHANGED
@@ -238,7 +238,7 @@ version = "2024.12.14"
|
|
238 |
description = "Python package for providing Mozilla's CA Bundle."
|
239 |
optional = false
|
240 |
python-versions = ">=3.6"
|
241 |
-
groups = ["main"]
|
242 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
243 |
files = [
|
244 |
{file = "certifi-2024.12.14-py3-none-any.whl", hash = "sha256:1275f7a45be9464efc1173084eaa30f866fe2e47d389406136d332ed4967ec56"},
|
@@ -251,7 +251,7 @@ version = "3.4.1"
|
|
251 |
description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet."
|
252 |
optional = false
|
253 |
python-versions = ">=3.7"
|
254 |
-
groups = ["main"]
|
255 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
256 |
files = [
|
257 |
{file = "charset_normalizer-3.4.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:91b36a978b5ae0ee86c394f5a54d6ef44db1de0815eb43de826d41d21e4af3de"},
|
@@ -480,12 +480,12 @@ version = "0.4.6"
|
|
480 |
description = "Cross-platform colored terminal text."
|
481 |
optional = false
|
482 |
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7"
|
483 |
-
groups = ["main", "dev"]
|
484 |
files = [
|
485 |
{file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"},
|
486 |
{file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},
|
487 |
]
|
488 |
-
markers = {main = "python_version <= \"3.11\" or python_version >= \"3.12\"", dev = "python_version <= \"3.11\" and sys_platform == \"win32\" or python_version >= \"3.12\" and sys_platform == \"win32\""}
|
489 |
|
490 |
[[package]]
|
491 |
name = "coloredlogs"
|
@@ -688,7 +688,7 @@ version = "3.17.0"
|
|
688 |
description = "A platform independent file lock."
|
689 |
optional = false
|
690 |
python-versions = ">=3.9"
|
691 |
-
groups = ["main"]
|
692 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
693 |
files = [
|
694 |
{file = "filelock-3.17.0-py3-none-any.whl", hash = "sha256:533dc2f7ba78dc2f0f531fc6c4940addf7b70a481e269a5a3b93be94ffbe8338"},
|
@@ -719,7 +719,7 @@ version = "2024.12.0"
|
|
719 |
description = "File-system specification"
|
720 |
optional = false
|
721 |
python-versions = ">=3.8"
|
722 |
-
groups = ["main"]
|
723 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
724 |
files = [
|
725 |
{file = "fsspec-2024.12.0-py3-none-any.whl", hash = "sha256:b520aed47ad9804237ff878b504267a3b0b441e97508bd6d2d8774e3db85cee2"},
|
@@ -1145,7 +1145,7 @@ version = "0.27.1"
|
|
1145 |
description = "Client library to download and publish models, datasets and other repos on the huggingface.co hub"
|
1146 |
optional = false
|
1147 |
python-versions = ">=3.8.0"
|
1148 |
-
groups = ["main"]
|
1149 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
1150 |
files = [
|
1151 |
{file = "huggingface_hub-0.27.1-py3-none-any.whl", hash = "sha256:1c5155ca7d60b60c2e2fc38cbb3ffb7f7c3adf48f824015b219af9061771daec"},
|
@@ -1197,7 +1197,7 @@ version = "3.10"
|
|
1197 |
description = "Internationalized Domain Names in Applications (IDNA)"
|
1198 |
optional = false
|
1199 |
python-versions = ">=3.6"
|
1200 |
-
groups = ["main"]
|
1201 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
1202 |
files = [
|
1203 |
{file = "idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3"},
|
@@ -1272,7 +1272,7 @@ version = "3.1.5"
|
|
1272 |
description = "A very fast and expressive template engine."
|
1273 |
optional = false
|
1274 |
python-versions = ">=3.7"
|
1275 |
-
groups = ["main"]
|
1276 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
1277 |
files = [
|
1278 |
{file = "jinja2-3.1.5-py3-none-any.whl", hash = "sha256:aba0f4dc9ed8013c424088f68a5c226f7d6097ed89b246d7749c2ec4175c6adb"},
|
@@ -1504,7 +1504,7 @@ version = "2.1.5"
|
|
1504 |
description = "Safely add untrusted strings to HTML/XML markup."
|
1505 |
optional = false
|
1506 |
python-versions = ">=3.7"
|
1507 |
-
groups = ["main"]
|
1508 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
1509 |
files = [
|
1510 |
{file = "MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:a17a92de5231666cfbe003f0e4b9b3a7ae3afb1ec2845aadc2bacc93ff85febc"},
|
@@ -1725,7 +1725,7 @@ version = "1.3.0"
|
|
1725 |
description = "Python library for arbitrary-precision floating-point arithmetic"
|
1726 |
optional = false
|
1727 |
python-versions = "*"
|
1728 |
-
groups = ["main"]
|
1729 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
1730 |
files = [
|
1731 |
{file = "mpmath-1.3.0-py3-none-any.whl", hash = "sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c"},
|
@@ -1751,13 +1751,34 @@ files = [
|
|
1751 |
{file = "mypy_extensions-1.0.0.tar.gz", hash = "sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782"},
|
1752 |
]
|
1753 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1754 |
[[package]]
|
1755 |
name = "numpy"
|
1756 |
version = "2.2.2"
|
1757 |
description = "Fundamental package for array computing in Python"
|
1758 |
optional = false
|
1759 |
python-versions = ">=3.10"
|
1760 |
-
groups = ["main"]
|
1761 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
1762 |
files = [
|
1763 |
{file = "numpy-2.2.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:7079129b64cb78bdc8d611d1fd7e8002c0a2565da6a47c4df8062349fee90e3e"},
|
@@ -1817,6 +1838,198 @@ files = [
|
|
1817 |
{file = "numpy-2.2.2.tar.gz", hash = "sha256:ed6906f61834d687738d25988ae117683705636936cc605be0bb208b23df4d8f"},
|
1818 |
]
|
1819 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1820 |
[[package]]
|
1821 |
name = "oauthlib"
|
1822 |
version = "3.2.2"
|
@@ -2234,7 +2447,7 @@ version = "24.2"
|
|
2234 |
description = "Core utilities for Python packages"
|
2235 |
optional = false
|
2236 |
python-versions = ">=3.8"
|
2237 |
-
groups = ["main", "dev"]
|
2238 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
2239 |
files = [
|
2240 |
{file = "packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759"},
|
@@ -2926,7 +3139,7 @@ version = "6.0.2"
|
|
2926 |
description = "YAML parser and emitter for Python"
|
2927 |
optional = false
|
2928 |
python-versions = ">=3.8"
|
2929 |
-
groups = ["main"]
|
2930 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
2931 |
files = [
|
2932 |
{file = "PyYAML-6.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0a9a2848a5b7feac301353437eb7d5957887edbf81d56e903999a75a3d743086"},
|
@@ -2984,13 +3197,118 @@ files = [
|
|
2984 |
{file = "pyyaml-6.0.2.tar.gz", hash = "sha256:d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e"},
|
2985 |
]
|
2986 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2987 |
[[package]]
|
2988 |
name = "requests"
|
2989 |
version = "2.32.3"
|
2990 |
description = "Python HTTP for Humans."
|
2991 |
optional = false
|
2992 |
python-versions = ">=3.8"
|
2993 |
-
groups = ["main"]
|
2994 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
2995 |
files = [
|
2996 |
{file = "requests-2.32.3-py3-none-any.whl", hash = "sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6"},
|
@@ -3112,6 +3430,45 @@ httpx = "*"
|
|
3112 |
[package.extras]
|
3113 |
dev = ["pytest"]
|
3114 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3115 |
[[package]]
|
3116 |
name = "semantic-version"
|
3117 |
version = "2.10.0"
|
@@ -3129,6 +3486,28 @@ files = [
|
|
3129 |
dev = ["Django (>=1.11)", "check-manifest", "colorama (<=0.4.1)", "coverage", "flake8", "nose2", "readme-renderer (<25.0)", "tox", "wheel", "zest.releaser[recommended]"]
|
3130 |
doc = ["Sphinx", "sphinx-rtd-theme"]
|
3131 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3132 |
[[package]]
|
3133 |
name = "shellingham"
|
3134 |
version = "1.5.4"
|
@@ -3202,15 +3581,15 @@ full = ["httpx (>=0.27.0,<0.29.0)", "itsdangerous", "jinja2", "python-multipart
|
|
3202 |
|
3203 |
[[package]]
|
3204 |
name = "sympy"
|
3205 |
-
version = "1.13.
|
3206 |
description = "Computer algebra system (CAS) in Python"
|
3207 |
optional = false
|
3208 |
python-versions = ">=3.8"
|
3209 |
-
groups = ["main"]
|
3210 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
3211 |
files = [
|
3212 |
-
{file = "sympy-1.13.
|
3213 |
-
{file = "sympy-1.13.
|
3214 |
]
|
3215 |
|
3216 |
[package.dependencies]
|
@@ -3242,7 +3621,7 @@ version = "0.21.0"
|
|
3242 |
description = ""
|
3243 |
optional = false
|
3244 |
python-versions = ">=3.7"
|
3245 |
-
groups = ["main"]
|
3246 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
3247 |
files = [
|
3248 |
{file = "tokenizers-0.21.0-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:3c4c93eae637e7d2aaae3d376f06085164e1660f89304c0ab2b1d08a406636b2"},
|
@@ -3326,13 +3705,71 @@ files = [
|
|
3326 |
{file = "tomlkit-0.13.2.tar.gz", hash = "sha256:fff5fe59a87295b278abd31bec92c15d9bc4a06885ab12bcea52c71119392e79"},
|
3327 |
]
|
3328 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3329 |
[[package]]
|
3330 |
name = "tqdm"
|
3331 |
version = "4.67.1"
|
3332 |
description = "Fast, Extensible Progress Meter"
|
3333 |
optional = false
|
3334 |
python-versions = ">=3.7"
|
3335 |
-
groups = ["main"]
|
3336 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
3337 |
files = [
|
3338 |
{file = "tqdm-4.67.1-py3-none-any.whl", hash = "sha256:26445eca388f82e72884e0d580d5464cd801a3ea01e63e5601bdff9ba6a48de2"},
|
@@ -3349,6 +3786,77 @@ notebook = ["ipywidgets (>=6)"]
|
|
3349 |
slack = ["slack-sdk"]
|
3350 |
telegram = ["requests"]
|
3351 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3352 |
[[package]]
|
3353 |
name = "tree-sitter"
|
3354 |
version = "0.24.0"
|
@@ -3415,6 +3923,27 @@ files = [
|
|
3415 |
[package.extras]
|
3416 |
core = ["tree-sitter (>=0.22,<1.0)"]
|
3417 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3418 |
[[package]]
|
3419 |
name = "typer"
|
3420 |
version = "0.15.1"
|
@@ -3456,7 +3985,7 @@ version = "4.12.2"
|
|
3456 |
description = "Backported and Experimental Type Hints for Python 3.8+"
|
3457 |
optional = false
|
3458 |
python-versions = ">=3.8"
|
3459 |
-
groups = ["main"]
|
3460 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
3461 |
files = [
|
3462 |
{file = "typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d"},
|
@@ -3499,7 +4028,7 @@ version = "2.3.0"
|
|
3499 |
description = "HTTP library with thread-safe connection pooling, file post, and more."
|
3500 |
optional = false
|
3501 |
python-versions = ">=3.9"
|
3502 |
-
groups = ["main"]
|
3503 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
3504 |
files = [
|
3505 |
{file = "urllib3-2.3.0-py3-none-any.whl", hash = "sha256:1cee9ad369867bfdbbb48b7dd50374c0967a0bb7710050facf0dd6911440e3df"},
|
@@ -3890,4 +4419,4 @@ type = ["pytest-mypy"]
|
|
3890 |
[metadata]
|
3891 |
lock-version = "2.1"
|
3892 |
python-versions = ">=3.10, <4.0"
|
3893 |
-
content-hash = "
|
|
|
238 |
description = "Python package for providing Mozilla's CA Bundle."
|
239 |
optional = false
|
240 |
python-versions = ">=3.6"
|
241 |
+
groups = ["main", "huggingface"]
|
242 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
243 |
files = [
|
244 |
{file = "certifi-2024.12.14-py3-none-any.whl", hash = "sha256:1275f7a45be9464efc1173084eaa30f866fe2e47d389406136d332ed4967ec56"},
|
|
|
251 |
description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet."
|
252 |
optional = false
|
253 |
python-versions = ">=3.7"
|
254 |
+
groups = ["main", "huggingface"]
|
255 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
256 |
files = [
|
257 |
{file = "charset_normalizer-3.4.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:91b36a978b5ae0ee86c394f5a54d6ef44db1de0815eb43de826d41d21e4af3de"},
|
|
|
480 |
description = "Cross-platform colored terminal text."
|
481 |
optional = false
|
482 |
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7"
|
483 |
+
groups = ["main", "dev", "huggingface"]
|
484 |
files = [
|
485 |
{file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"},
|
486 |
{file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},
|
487 |
]
|
488 |
+
markers = {main = "python_version <= \"3.11\" or python_version >= \"3.12\"", dev = "python_version <= \"3.11\" and sys_platform == \"win32\" or python_version >= \"3.12\" and sys_platform == \"win32\"", huggingface = "python_version <= \"3.11\" and platform_system == \"Windows\" or python_version >= \"3.12\" and platform_system == \"Windows\""}
|
489 |
|
490 |
[[package]]
|
491 |
name = "coloredlogs"
|
|
|
688 |
description = "A platform independent file lock."
|
689 |
optional = false
|
690 |
python-versions = ">=3.9"
|
691 |
+
groups = ["main", "huggingface"]
|
692 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
693 |
files = [
|
694 |
{file = "filelock-3.17.0-py3-none-any.whl", hash = "sha256:533dc2f7ba78dc2f0f531fc6c4940addf7b70a481e269a5a3b93be94ffbe8338"},
|
|
|
719 |
description = "File-system specification"
|
720 |
optional = false
|
721 |
python-versions = ">=3.8"
|
722 |
+
groups = ["main", "huggingface"]
|
723 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
724 |
files = [
|
725 |
{file = "fsspec-2024.12.0-py3-none-any.whl", hash = "sha256:b520aed47ad9804237ff878b504267a3b0b441e97508bd6d2d8774e3db85cee2"},
|
|
|
1145 |
description = "Client library to download and publish models, datasets and other repos on the huggingface.co hub"
|
1146 |
optional = false
|
1147 |
python-versions = ">=3.8.0"
|
1148 |
+
groups = ["main", "huggingface"]
|
1149 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
1150 |
files = [
|
1151 |
{file = "huggingface_hub-0.27.1-py3-none-any.whl", hash = "sha256:1c5155ca7d60b60c2e2fc38cbb3ffb7f7c3adf48f824015b219af9061771daec"},
|
|
|
1197 |
description = "Internationalized Domain Names in Applications (IDNA)"
|
1198 |
optional = false
|
1199 |
python-versions = ">=3.6"
|
1200 |
+
groups = ["main", "huggingface"]
|
1201 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
1202 |
files = [
|
1203 |
{file = "idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3"},
|
|
|
1272 |
description = "A very fast and expressive template engine."
|
1273 |
optional = false
|
1274 |
python-versions = ">=3.7"
|
1275 |
+
groups = ["main", "huggingface"]
|
1276 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
1277 |
files = [
|
1278 |
{file = "jinja2-3.1.5-py3-none-any.whl", hash = "sha256:aba0f4dc9ed8013c424088f68a5c226f7d6097ed89b246d7749c2ec4175c6adb"},
|
|
|
1504 |
description = "Safely add untrusted strings to HTML/XML markup."
|
1505 |
optional = false
|
1506 |
python-versions = ">=3.7"
|
1507 |
+
groups = ["main", "huggingface"]
|
1508 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
1509 |
files = [
|
1510 |
{file = "MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:a17a92de5231666cfbe003f0e4b9b3a7ae3afb1ec2845aadc2bacc93ff85febc"},
|
|
|
1725 |
description = "Python library for arbitrary-precision floating-point arithmetic"
|
1726 |
optional = false
|
1727 |
python-versions = "*"
|
1728 |
+
groups = ["main", "huggingface"]
|
1729 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
1730 |
files = [
|
1731 |
{file = "mpmath-1.3.0-py3-none-any.whl", hash = "sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c"},
|
|
|
1751 |
{file = "mypy_extensions-1.0.0.tar.gz", hash = "sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782"},
|
1752 |
]
|
1753 |
|
1754 |
+
[[package]]
|
1755 |
+
name = "networkx"
|
1756 |
+
version = "3.4.2"
|
1757 |
+
description = "Python package for creating and manipulating graphs and networks"
|
1758 |
+
optional = false
|
1759 |
+
python-versions = ">=3.10"
|
1760 |
+
groups = ["huggingface"]
|
1761 |
+
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
1762 |
+
files = [
|
1763 |
+
{file = "networkx-3.4.2-py3-none-any.whl", hash = "sha256:df5d4365b724cf81b8c6a7312509d0c22386097011ad1abe274afd5e9d3bbc5f"},
|
1764 |
+
{file = "networkx-3.4.2.tar.gz", hash = "sha256:307c3669428c5362aab27c8a1260aa8f47c4e91d3891f48be0141738d8d053e1"},
|
1765 |
+
]
|
1766 |
+
|
1767 |
+
[package.extras]
|
1768 |
+
default = ["matplotlib (>=3.7)", "numpy (>=1.24)", "pandas (>=2.0)", "scipy (>=1.10,!=1.11.0,!=1.11.1)"]
|
1769 |
+
developer = ["changelist (==0.5)", "mypy (>=1.1)", "pre-commit (>=3.2)", "rtoml"]
|
1770 |
+
doc = ["intersphinx-registry", "myst-nb (>=1.1)", "numpydoc (>=1.8.0)", "pillow (>=9.4)", "pydata-sphinx-theme (>=0.15)", "sphinx (>=7.3)", "sphinx-gallery (>=0.16)", "texext (>=0.6.7)"]
|
1771 |
+
example = ["cairocffi (>=1.7)", "contextily (>=1.6)", "igraph (>=0.11)", "momepy (>=0.7.2)", "osmnx (>=1.9)", "scikit-learn (>=1.5)", "seaborn (>=0.13)"]
|
1772 |
+
extra = ["lxml (>=4.6)", "pydot (>=3.0.1)", "pygraphviz (>=1.14)", "sympy (>=1.10)"]
|
1773 |
+
test = ["pytest (>=7.2)", "pytest-cov (>=4.0)"]
|
1774 |
+
|
1775 |
[[package]]
|
1776 |
name = "numpy"
|
1777 |
version = "2.2.2"
|
1778 |
description = "Fundamental package for array computing in Python"
|
1779 |
optional = false
|
1780 |
python-versions = ">=3.10"
|
1781 |
+
groups = ["main", "huggingface"]
|
1782 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
1783 |
files = [
|
1784 |
{file = "numpy-2.2.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:7079129b64cb78bdc8d611d1fd7e8002c0a2565da6a47c4df8062349fee90e3e"},
|
|
|
1838 |
{file = "numpy-2.2.2.tar.gz", hash = "sha256:ed6906f61834d687738d25988ae117683705636936cc605be0bb208b23df4d8f"},
|
1839 |
]
|
1840 |
|
1841 |
+
[[package]]
|
1842 |
+
name = "nvidia-cublas-cu12"
|
1843 |
+
version = "12.4.5.8"
|
1844 |
+
description = "CUBLAS native runtime libraries"
|
1845 |
+
optional = false
|
1846 |
+
python-versions = ">=3"
|
1847 |
+
groups = ["huggingface"]
|
1848 |
+
markers = "python_version <= \"3.11\" and platform_system == \"Linux\" and platform_machine == \"x86_64\" or python_version >= \"3.12\" and platform_system == \"Linux\" and platform_machine == \"x86_64\""
|
1849 |
+
files = [
|
1850 |
+
{file = "nvidia_cublas_cu12-12.4.5.8-py3-none-manylinux2014_aarch64.whl", hash = "sha256:0f8aa1706812e00b9f19dfe0cdb3999b092ccb8ca168c0db5b8ea712456fd9b3"},
|
1851 |
+
{file = "nvidia_cublas_cu12-12.4.5.8-py3-none-manylinux2014_x86_64.whl", hash = "sha256:2fc8da60df463fdefa81e323eef2e36489e1c94335b5358bcb38360adf75ac9b"},
|
1852 |
+
{file = "nvidia_cublas_cu12-12.4.5.8-py3-none-win_amd64.whl", hash = "sha256:5a796786da89203a0657eda402bcdcec6180254a8ac22d72213abc42069522dc"},
|
1853 |
+
]
|
1854 |
+
|
1855 |
+
[[package]]
|
1856 |
+
name = "nvidia-cuda-cupti-cu12"
|
1857 |
+
version = "12.4.127"
|
1858 |
+
description = "CUDA profiling tools runtime libs."
|
1859 |
+
optional = false
|
1860 |
+
python-versions = ">=3"
|
1861 |
+
groups = ["huggingface"]
|
1862 |
+
markers = "python_version <= \"3.11\" and platform_system == \"Linux\" and platform_machine == \"x86_64\" or python_version >= \"3.12\" and platform_system == \"Linux\" and platform_machine == \"x86_64\""
|
1863 |
+
files = [
|
1864 |
+
{file = "nvidia_cuda_cupti_cu12-12.4.127-py3-none-manylinux2014_aarch64.whl", hash = "sha256:79279b35cf6f91da114182a5ce1864997fd52294a87a16179ce275773799458a"},
|
1865 |
+
{file = "nvidia_cuda_cupti_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl", hash = "sha256:9dec60f5ac126f7bb551c055072b69d85392b13311fcc1bcda2202d172df30fb"},
|
1866 |
+
{file = "nvidia_cuda_cupti_cu12-12.4.127-py3-none-win_amd64.whl", hash = "sha256:5688d203301ab051449a2b1cb6690fbe90d2b372f411521c86018b950f3d7922"},
|
1867 |
+
]
|
1868 |
+
|
1869 |
+
[[package]]
|
1870 |
+
name = "nvidia-cuda-nvrtc-cu12"
|
1871 |
+
version = "12.4.127"
|
1872 |
+
description = "NVRTC native runtime libraries"
|
1873 |
+
optional = false
|
1874 |
+
python-versions = ">=3"
|
1875 |
+
groups = ["huggingface"]
|
1876 |
+
markers = "python_version <= \"3.11\" and platform_system == \"Linux\" and platform_machine == \"x86_64\" or python_version >= \"3.12\" and platform_system == \"Linux\" and platform_machine == \"x86_64\""
|
1877 |
+
files = [
|
1878 |
+
{file = "nvidia_cuda_nvrtc_cu12-12.4.127-py3-none-manylinux2014_aarch64.whl", hash = "sha256:0eedf14185e04b76aa05b1fea04133e59f465b6f960c0cbf4e37c3cb6b0ea198"},
|
1879 |
+
{file = "nvidia_cuda_nvrtc_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl", hash = "sha256:a178759ebb095827bd30ef56598ec182b85547f1508941a3d560eb7ea1fbf338"},
|
1880 |
+
{file = "nvidia_cuda_nvrtc_cu12-12.4.127-py3-none-win_amd64.whl", hash = "sha256:a961b2f1d5f17b14867c619ceb99ef6fcec12e46612711bcec78eb05068a60ec"},
|
1881 |
+
]
|
1882 |
+
|
1883 |
+
[[package]]
|
1884 |
+
name = "nvidia-cuda-runtime-cu12"
|
1885 |
+
version = "12.4.127"
|
1886 |
+
description = "CUDA Runtime native Libraries"
|
1887 |
+
optional = false
|
1888 |
+
python-versions = ">=3"
|
1889 |
+
groups = ["huggingface"]
|
1890 |
+
markers = "python_version <= \"3.11\" and platform_system == \"Linux\" and platform_machine == \"x86_64\" or python_version >= \"3.12\" and platform_system == \"Linux\" and platform_machine == \"x86_64\""
|
1891 |
+
files = [
|
1892 |
+
{file = "nvidia_cuda_runtime_cu12-12.4.127-py3-none-manylinux2014_aarch64.whl", hash = "sha256:961fe0e2e716a2a1d967aab7caee97512f71767f852f67432d572e36cb3a11f3"},
|
1893 |
+
{file = "nvidia_cuda_runtime_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl", hash = "sha256:64403288fa2136ee8e467cdc9c9427e0434110899d07c779f25b5c068934faa5"},
|
1894 |
+
{file = "nvidia_cuda_runtime_cu12-12.4.127-py3-none-win_amd64.whl", hash = "sha256:09c2e35f48359752dfa822c09918211844a3d93c100a715d79b59591130c5e1e"},
|
1895 |
+
]
|
1896 |
+
|
1897 |
+
[[package]]
|
1898 |
+
name = "nvidia-cudnn-cu12"
|
1899 |
+
version = "9.1.0.70"
|
1900 |
+
description = "cuDNN runtime libraries"
|
1901 |
+
optional = false
|
1902 |
+
python-versions = ">=3"
|
1903 |
+
groups = ["huggingface"]
|
1904 |
+
markers = "python_version <= \"3.11\" and platform_system == \"Linux\" and platform_machine == \"x86_64\" or python_version >= \"3.12\" and platform_system == \"Linux\" and platform_machine == \"x86_64\""
|
1905 |
+
files = [
|
1906 |
+
{file = "nvidia_cudnn_cu12-9.1.0.70-py3-none-manylinux2014_x86_64.whl", hash = "sha256:165764f44ef8c61fcdfdfdbe769d687e06374059fbb388b6c89ecb0e28793a6f"},
|
1907 |
+
{file = "nvidia_cudnn_cu12-9.1.0.70-py3-none-win_amd64.whl", hash = "sha256:6278562929433d68365a07a4a1546c237ba2849852c0d4b2262a486e805b977a"},
|
1908 |
+
]
|
1909 |
+
|
1910 |
+
[package.dependencies]
|
1911 |
+
nvidia-cublas-cu12 = "*"
|
1912 |
+
|
1913 |
+
[[package]]
|
1914 |
+
name = "nvidia-cufft-cu12"
|
1915 |
+
version = "11.2.1.3"
|
1916 |
+
description = "CUFFT native runtime libraries"
|
1917 |
+
optional = false
|
1918 |
+
python-versions = ">=3"
|
1919 |
+
groups = ["huggingface"]
|
1920 |
+
markers = "python_version <= \"3.11\" and platform_system == \"Linux\" and platform_machine == \"x86_64\" or python_version >= \"3.12\" and platform_system == \"Linux\" and platform_machine == \"x86_64\""
|
1921 |
+
files = [
|
1922 |
+
{file = "nvidia_cufft_cu12-11.2.1.3-py3-none-manylinux2014_aarch64.whl", hash = "sha256:5dad8008fc7f92f5ddfa2101430917ce2ffacd86824914c82e28990ad7f00399"},
|
1923 |
+
{file = "nvidia_cufft_cu12-11.2.1.3-py3-none-manylinux2014_x86_64.whl", hash = "sha256:f083fc24912aa410be21fa16d157fed2055dab1cc4b6934a0e03cba69eb242b9"},
|
1924 |
+
{file = "nvidia_cufft_cu12-11.2.1.3-py3-none-win_amd64.whl", hash = "sha256:d802f4954291101186078ccbe22fc285a902136f974d369540fd4a5333d1440b"},
|
1925 |
+
]
|
1926 |
+
|
1927 |
+
[package.dependencies]
|
1928 |
+
nvidia-nvjitlink-cu12 = "*"
|
1929 |
+
|
1930 |
+
[[package]]
|
1931 |
+
name = "nvidia-curand-cu12"
|
1932 |
+
version = "10.3.5.147"
|
1933 |
+
description = "CURAND native runtime libraries"
|
1934 |
+
optional = false
|
1935 |
+
python-versions = ">=3"
|
1936 |
+
groups = ["huggingface"]
|
1937 |
+
markers = "python_version <= \"3.11\" and platform_system == \"Linux\" and platform_machine == \"x86_64\" or python_version >= \"3.12\" and platform_system == \"Linux\" and platform_machine == \"x86_64\""
|
1938 |
+
files = [
|
1939 |
+
{file = "nvidia_curand_cu12-10.3.5.147-py3-none-manylinux2014_aarch64.whl", hash = "sha256:1f173f09e3e3c76ab084aba0de819c49e56614feae5c12f69883f4ae9bb5fad9"},
|
1940 |
+
{file = "nvidia_curand_cu12-10.3.5.147-py3-none-manylinux2014_x86_64.whl", hash = "sha256:a88f583d4e0bb643c49743469964103aa59f7f708d862c3ddb0fc07f851e3b8b"},
|
1941 |
+
{file = "nvidia_curand_cu12-10.3.5.147-py3-none-win_amd64.whl", hash = "sha256:f307cc191f96efe9e8f05a87096abc20d08845a841889ef78cb06924437f6771"},
|
1942 |
+
]
|
1943 |
+
|
1944 |
+
[[package]]
|
1945 |
+
name = "nvidia-cusolver-cu12"
|
1946 |
+
version = "11.6.1.9"
|
1947 |
+
description = "CUDA solver native runtime libraries"
|
1948 |
+
optional = false
|
1949 |
+
python-versions = ">=3"
|
1950 |
+
groups = ["huggingface"]
|
1951 |
+
markers = "python_version <= \"3.11\" and platform_system == \"Linux\" and platform_machine == \"x86_64\" or python_version >= \"3.12\" and platform_system == \"Linux\" and platform_machine == \"x86_64\""
|
1952 |
+
files = [
|
1953 |
+
{file = "nvidia_cusolver_cu12-11.6.1.9-py3-none-manylinux2014_aarch64.whl", hash = "sha256:d338f155f174f90724bbde3758b7ac375a70ce8e706d70b018dd3375545fc84e"},
|
1954 |
+
{file = "nvidia_cusolver_cu12-11.6.1.9-py3-none-manylinux2014_x86_64.whl", hash = "sha256:19e33fa442bcfd085b3086c4ebf7e8debc07cfe01e11513cc6d332fd918ac260"},
|
1955 |
+
{file = "nvidia_cusolver_cu12-11.6.1.9-py3-none-win_amd64.whl", hash = "sha256:e77314c9d7b694fcebc84f58989f3aa4fb4cb442f12ca1a9bde50f5e8f6d1b9c"},
|
1956 |
+
]
|
1957 |
+
|
1958 |
+
[package.dependencies]
|
1959 |
+
nvidia-cublas-cu12 = "*"
|
1960 |
+
nvidia-cusparse-cu12 = "*"
|
1961 |
+
nvidia-nvjitlink-cu12 = "*"
|
1962 |
+
|
1963 |
+
[[package]]
|
1964 |
+
name = "nvidia-cusparse-cu12"
|
1965 |
+
version = "12.3.1.170"
|
1966 |
+
description = "CUSPARSE native runtime libraries"
|
1967 |
+
optional = false
|
1968 |
+
python-versions = ">=3"
|
1969 |
+
groups = ["huggingface"]
|
1970 |
+
markers = "python_version <= \"3.11\" and platform_system == \"Linux\" and platform_machine == \"x86_64\" or python_version >= \"3.12\" and platform_system == \"Linux\" and platform_machine == \"x86_64\""
|
1971 |
+
files = [
|
1972 |
+
{file = "nvidia_cusparse_cu12-12.3.1.170-py3-none-manylinux2014_aarch64.whl", hash = "sha256:9d32f62896231ebe0480efd8a7f702e143c98cfaa0e8a76df3386c1ba2b54df3"},
|
1973 |
+
{file = "nvidia_cusparse_cu12-12.3.1.170-py3-none-manylinux2014_x86_64.whl", hash = "sha256:ea4f11a2904e2a8dc4b1833cc1b5181cde564edd0d5cd33e3c168eff2d1863f1"},
|
1974 |
+
{file = "nvidia_cusparse_cu12-12.3.1.170-py3-none-win_amd64.whl", hash = "sha256:9bc90fb087bc7b4c15641521f31c0371e9a612fc2ba12c338d3ae032e6b6797f"},
|
1975 |
+
]
|
1976 |
+
|
1977 |
+
[package.dependencies]
|
1978 |
+
nvidia-nvjitlink-cu12 = "*"
|
1979 |
+
|
1980 |
+
[[package]]
|
1981 |
+
name = "nvidia-cusparselt-cu12"
|
1982 |
+
version = "0.6.2"
|
1983 |
+
description = "NVIDIA cuSPARSELt"
|
1984 |
+
optional = false
|
1985 |
+
python-versions = "*"
|
1986 |
+
groups = ["huggingface"]
|
1987 |
+
markers = "python_version <= \"3.11\" and platform_system == \"Linux\" and platform_machine == \"x86_64\" or python_version >= \"3.12\" and platform_system == \"Linux\" and platform_machine == \"x86_64\""
|
1988 |
+
files = [
|
1989 |
+
{file = "nvidia_cusparselt_cu12-0.6.2-py3-none-manylinux2014_aarch64.whl", hash = "sha256:067a7f6d03ea0d4841c85f0c6f1991c5dda98211f6302cb83a4ab234ee95bef8"},
|
1990 |
+
{file = "nvidia_cusparselt_cu12-0.6.2-py3-none-manylinux2014_x86_64.whl", hash = "sha256:df2c24502fd76ebafe7457dbc4716b2fec071aabaed4fb7691a201cde03704d9"},
|
1991 |
+
{file = "nvidia_cusparselt_cu12-0.6.2-py3-none-win_amd64.whl", hash = "sha256:0057c91d230703924c0422feabe4ce768841f9b4b44d28586b6f6d2eb86fbe70"},
|
1992 |
+
]
|
1993 |
+
|
1994 |
+
[[package]]
|
1995 |
+
name = "nvidia-nccl-cu12"
|
1996 |
+
version = "2.21.5"
|
1997 |
+
description = "NVIDIA Collective Communication Library (NCCL) Runtime"
|
1998 |
+
optional = false
|
1999 |
+
python-versions = ">=3"
|
2000 |
+
groups = ["huggingface"]
|
2001 |
+
markers = "python_version <= \"3.11\" and platform_system == \"Linux\" and platform_machine == \"x86_64\" or python_version >= \"3.12\" and platform_system == \"Linux\" and platform_machine == \"x86_64\""
|
2002 |
+
files = [
|
2003 |
+
{file = "nvidia_nccl_cu12-2.21.5-py3-none-manylinux2014_x86_64.whl", hash = "sha256:8579076d30a8c24988834445f8d633c697d42397e92ffc3f63fa26766d25e0a0"},
|
2004 |
+
]
|
2005 |
+
|
2006 |
+
[[package]]
|
2007 |
+
name = "nvidia-nvjitlink-cu12"
|
2008 |
+
version = "12.4.127"
|
2009 |
+
description = "Nvidia JIT LTO Library"
|
2010 |
+
optional = false
|
2011 |
+
python-versions = ">=3"
|
2012 |
+
groups = ["huggingface"]
|
2013 |
+
markers = "python_version <= \"3.11\" and platform_system == \"Linux\" and platform_machine == \"x86_64\" or python_version >= \"3.12\" and platform_system == \"Linux\" and platform_machine == \"x86_64\""
|
2014 |
+
files = [
|
2015 |
+
{file = "nvidia_nvjitlink_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl", hash = "sha256:06b3b9b25bf3f8af351d664978ca26a16d2c5127dbd53c0497e28d1fb9611d57"},
|
2016 |
+
{file = "nvidia_nvjitlink_cu12-12.4.127-py3-none-win_amd64.whl", hash = "sha256:fd9020c501d27d135f983c6d3e244b197a7ccad769e34df53a42e276b0e25fa1"},
|
2017 |
+
]
|
2018 |
+
|
2019 |
+
[[package]]
|
2020 |
+
name = "nvidia-nvtx-cu12"
|
2021 |
+
version = "12.4.127"
|
2022 |
+
description = "NVIDIA Tools Extension"
|
2023 |
+
optional = false
|
2024 |
+
python-versions = ">=3"
|
2025 |
+
groups = ["huggingface"]
|
2026 |
+
markers = "python_version <= \"3.11\" and platform_system == \"Linux\" and platform_machine == \"x86_64\" or python_version >= \"3.12\" and platform_system == \"Linux\" and platform_machine == \"x86_64\""
|
2027 |
+
files = [
|
2028 |
+
{file = "nvidia_nvtx_cu12-12.4.127-py3-none-manylinux2014_aarch64.whl", hash = "sha256:7959ad635db13edf4fc65c06a6e9f9e55fc2f92596db928d169c0bb031e88ef3"},
|
2029 |
+
{file = "nvidia_nvtx_cu12-12.4.127-py3-none-manylinux2014_x86_64.whl", hash = "sha256:781e950d9b9f60d8241ccea575b32f5105a5baf4c2351cab5256a24869f12a1a"},
|
2030 |
+
{file = "nvidia_nvtx_cu12-12.4.127-py3-none-win_amd64.whl", hash = "sha256:641dccaaa1139f3ffb0d3164b4b84f9d253397e38246a4f2f36728b48566d485"},
|
2031 |
+
]
|
2032 |
+
|
2033 |
[[package]]
|
2034 |
name = "oauthlib"
|
2035 |
version = "3.2.2"
|
|
|
2447 |
description = "Core utilities for Python packages"
|
2448 |
optional = false
|
2449 |
python-versions = ">=3.8"
|
2450 |
+
groups = ["main", "dev", "huggingface"]
|
2451 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
2452 |
files = [
|
2453 |
{file = "packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759"},
|
|
|
3139 |
description = "YAML parser and emitter for Python"
|
3140 |
optional = false
|
3141 |
python-versions = ">=3.8"
|
3142 |
+
groups = ["main", "huggingface"]
|
3143 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
3144 |
files = [
|
3145 |
{file = "PyYAML-6.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0a9a2848a5b7feac301353437eb7d5957887edbf81d56e903999a75a3d743086"},
|
|
|
3197 |
{file = "pyyaml-6.0.2.tar.gz", hash = "sha256:d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e"},
|
3198 |
]
|
3199 |
|
3200 |
+
[[package]]
|
3201 |
+
name = "regex"
|
3202 |
+
version = "2024.11.6"
|
3203 |
+
description = "Alternative regular expression module, to replace re."
|
3204 |
+
optional = false
|
3205 |
+
python-versions = ">=3.8"
|
3206 |
+
groups = ["huggingface"]
|
3207 |
+
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
3208 |
+
files = [
|
3209 |
+
{file = "regex-2024.11.6-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:ff590880083d60acc0433f9c3f713c51f7ac6ebb9adf889c79a261ecf541aa91"},
|
3210 |
+
{file = "regex-2024.11.6-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:658f90550f38270639e83ce492f27d2c8d2cd63805c65a13a14d36ca126753f0"},
|
3211 |
+
{file = "regex-2024.11.6-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:164d8b7b3b4bcb2068b97428060b2a53be050085ef94eca7f240e7947f1b080e"},
|
3212 |
+
{file = "regex-2024.11.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d3660c82f209655a06b587d55e723f0b813d3a7db2e32e5e7dc64ac2a9e86fde"},
|
3213 |
+
{file = "regex-2024.11.6-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d22326fcdef5e08c154280b71163ced384b428343ae16a5ab2b3354aed12436e"},
|
3214 |
+
{file = "regex-2024.11.6-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f1ac758ef6aebfc8943560194e9fd0fa18bcb34d89fd8bd2af18183afd8da3a2"},
|
3215 |
+
{file = "regex-2024.11.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:997d6a487ff00807ba810e0f8332c18b4eb8d29463cfb7c820dc4b6e7562d0cf"},
|
3216 |
+
{file = "regex-2024.11.6-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:02a02d2bb04fec86ad61f3ea7f49c015a0681bf76abb9857f945d26159d2968c"},
|
3217 |
+
{file = "regex-2024.11.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f02f93b92358ee3f78660e43b4b0091229260c5d5c408d17d60bf26b6c900e86"},
|
3218 |
+
{file = "regex-2024.11.6-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:06eb1be98df10e81ebaded73fcd51989dcf534e3c753466e4b60c4697a003b67"},
|
3219 |
+
{file = "regex-2024.11.6-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:040df6fe1a5504eb0f04f048e6d09cd7c7110fef851d7c567a6b6e09942feb7d"},
|
3220 |
+
{file = "regex-2024.11.6-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:fdabbfc59f2c6edba2a6622c647b716e34e8e3867e0ab975412c5c2f79b82da2"},
|
3221 |
+
{file = "regex-2024.11.6-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:8447d2d39b5abe381419319f942de20b7ecd60ce86f16a23b0698f22e1b70008"},
|
3222 |
+
{file = "regex-2024.11.6-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:da8f5fc57d1933de22a9e23eec290a0d8a5927a5370d24bda9a6abe50683fe62"},
|
3223 |
+
{file = "regex-2024.11.6-cp310-cp310-win32.whl", hash = "sha256:b489578720afb782f6ccf2840920f3a32e31ba28a4b162e13900c3e6bd3f930e"},
|
3224 |
+
{file = "regex-2024.11.6-cp310-cp310-win_amd64.whl", hash = "sha256:5071b2093e793357c9d8b2929dfc13ac5f0a6c650559503bb81189d0a3814519"},
|
3225 |
+
{file = "regex-2024.11.6-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:5478c6962ad548b54a591778e93cd7c456a7a29f8eca9c49e4f9a806dcc5d638"},
|
3226 |
+
{file = "regex-2024.11.6-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:2c89a8cc122b25ce6945f0423dc1352cb9593c68abd19223eebbd4e56612c5b7"},
|
3227 |
+
{file = "regex-2024.11.6-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:94d87b689cdd831934fa3ce16cc15cd65748e6d689f5d2b8f4f4df2065c9fa20"},
|
3228 |
+
{file = "regex-2024.11.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1062b39a0a2b75a9c694f7a08e7183a80c63c0d62b301418ffd9c35f55aaa114"},
|
3229 |
+
{file = "regex-2024.11.6-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:167ed4852351d8a750da48712c3930b031f6efdaa0f22fa1933716bfcd6bf4a3"},
|
3230 |
+
{file = "regex-2024.11.6-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2d548dafee61f06ebdb584080621f3e0c23fff312f0de1afc776e2a2ba99a74f"},
|
3231 |
+
{file = "regex-2024.11.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f2a19f302cd1ce5dd01a9099aaa19cae6173306d1302a43b627f62e21cf18ac0"},
|
3232 |
+
{file = "regex-2024.11.6-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bec9931dfb61ddd8ef2ebc05646293812cb6b16b60cf7c9511a832b6f1854b55"},
|
3233 |
+
{file = "regex-2024.11.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:9714398225f299aa85267fd222f7142fcb5c769e73d7733344efc46f2ef5cf89"},
|
3234 |
+
{file = "regex-2024.11.6-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:202eb32e89f60fc147a41e55cb086db2a3f8cb82f9a9a88440dcfc5d37faae8d"},
|
3235 |
+
{file = "regex-2024.11.6-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:4181b814e56078e9b00427ca358ec44333765f5ca1b45597ec7446d3a1ef6e34"},
|
3236 |
+
{file = "regex-2024.11.6-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:068376da5a7e4da51968ce4c122a7cd31afaaec4fccc7856c92f63876e57b51d"},
|
3237 |
+
{file = "regex-2024.11.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ac10f2c4184420d881a3475fb2c6f4d95d53a8d50209a2500723d831036f7c45"},
|
3238 |
+
{file = "regex-2024.11.6-cp311-cp311-win32.whl", hash = "sha256:c36f9b6f5f8649bb251a5f3f66564438977b7ef8386a52460ae77e6070d309d9"},
|
3239 |
+
{file = "regex-2024.11.6-cp311-cp311-win_amd64.whl", hash = "sha256:02e28184be537f0e75c1f9b2f8847dc51e08e6e171c6bde130b2687e0c33cf60"},
|
3240 |
+
{file = "regex-2024.11.6-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:52fb28f528778f184f870b7cf8f225f5eef0a8f6e3778529bdd40c7b3920796a"},
|
3241 |
+
{file = "regex-2024.11.6-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:fdd6028445d2460f33136c55eeb1f601ab06d74cb3347132e1c24250187500d9"},
|
3242 |
+
{file = "regex-2024.11.6-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:805e6b60c54bf766b251e94526ebad60b7de0c70f70a4e6210ee2891acb70bf2"},
|
3243 |
+
{file = "regex-2024.11.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b85c2530be953a890eaffde05485238f07029600e8f098cdf1848d414a8b45e4"},
|
3244 |
+
{file = "regex-2024.11.6-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bb26437975da7dc36b7efad18aa9dd4ea569d2357ae6b783bf1118dabd9ea577"},
|
3245 |
+
{file = "regex-2024.11.6-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:abfa5080c374a76a251ba60683242bc17eeb2c9818d0d30117b4486be10c59d3"},
|
3246 |
+
{file = "regex-2024.11.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:70b7fa6606c2881c1db9479b0eaa11ed5dfa11c8d60a474ff0e095099f39d98e"},
|
3247 |
+
{file = "regex-2024.11.6-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0c32f75920cf99fe6b6c539c399a4a128452eaf1af27f39bce8909c9a3fd8cbe"},
|
3248 |
+
{file = "regex-2024.11.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:982e6d21414e78e1f51cf595d7f321dcd14de1f2881c5dc6a6e23bbbbd68435e"},
|
3249 |
+
{file = "regex-2024.11.6-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:a7c2155f790e2fb448faed6dd241386719802296ec588a8b9051c1f5c481bc29"},
|
3250 |
+
{file = "regex-2024.11.6-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:149f5008d286636e48cd0b1dd65018548944e495b0265b45e1bffecce1ef7f39"},
|
3251 |
+
{file = "regex-2024.11.6-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:e5364a4502efca094731680e80009632ad6624084aff9a23ce8c8c6820de3e51"},
|
3252 |
+
{file = "regex-2024.11.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:0a86e7eeca091c09e021db8eb72d54751e527fa47b8d5787caf96d9831bd02ad"},
|
3253 |
+
{file = "regex-2024.11.6-cp312-cp312-win32.whl", hash = "sha256:32f9a4c643baad4efa81d549c2aadefaeba12249b2adc5af541759237eee1c54"},
|
3254 |
+
{file = "regex-2024.11.6-cp312-cp312-win_amd64.whl", hash = "sha256:a93c194e2df18f7d264092dc8539b8ffb86b45b899ab976aa15d48214138e81b"},
|
3255 |
+
{file = "regex-2024.11.6-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:a6ba92c0bcdf96cbf43a12c717eae4bc98325ca3730f6b130ffa2e3c3c723d84"},
|
3256 |
+
{file = "regex-2024.11.6-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:525eab0b789891ac3be914d36893bdf972d483fe66551f79d3e27146191a37d4"},
|
3257 |
+
{file = "regex-2024.11.6-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:086a27a0b4ca227941700e0b31425e7a28ef1ae8e5e05a33826e17e47fbfdba0"},
|
3258 |
+
{file = "regex-2024.11.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bde01f35767c4a7899b7eb6e823b125a64de314a8ee9791367c9a34d56af18d0"},
|
3259 |
+
{file = "regex-2024.11.6-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b583904576650166b3d920d2bcce13971f6f9e9a396c673187f49811b2769dc7"},
|
3260 |
+
{file = "regex-2024.11.6-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1c4de13f06a0d54fa0d5ab1b7138bfa0d883220965a29616e3ea61b35d5f5fc7"},
|
3261 |
+
{file = "regex-2024.11.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3cde6e9f2580eb1665965ce9bf17ff4952f34f5b126beb509fee8f4e994f143c"},
|
3262 |
+
{file = "regex-2024.11.6-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0d7f453dca13f40a02b79636a339c5b62b670141e63efd511d3f8f73fba162b3"},
|
3263 |
+
{file = "regex-2024.11.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:59dfe1ed21aea057a65c6b586afd2a945de04fc7db3de0a6e3ed5397ad491b07"},
|
3264 |
+
{file = "regex-2024.11.6-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:b97c1e0bd37c5cd7902e65f410779d39eeda155800b65fc4d04cc432efa9bc6e"},
|
3265 |
+
{file = "regex-2024.11.6-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:f9d1e379028e0fc2ae3654bac3cbbef81bf3fd571272a42d56c24007979bafb6"},
|
3266 |
+
{file = "regex-2024.11.6-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:13291b39131e2d002a7940fb176e120bec5145f3aeb7621be6534e46251912c4"},
|
3267 |
+
{file = "regex-2024.11.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:4f51f88c126370dcec4908576c5a627220da6c09d0bff31cfa89f2523843316d"},
|
3268 |
+
{file = "regex-2024.11.6-cp313-cp313-win32.whl", hash = "sha256:63b13cfd72e9601125027202cad74995ab26921d8cd935c25f09c630436348ff"},
|
3269 |
+
{file = "regex-2024.11.6-cp313-cp313-win_amd64.whl", hash = "sha256:2b3361af3198667e99927da8b84c1b010752fa4b1115ee30beaa332cabc3ef1a"},
|
3270 |
+
{file = "regex-2024.11.6-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:3a51ccc315653ba012774efca4f23d1d2a8a8f278a6072e29c7147eee7da446b"},
|
3271 |
+
{file = "regex-2024.11.6-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ad182d02e40de7459b73155deb8996bbd8e96852267879396fb274e8700190e3"},
|
3272 |
+
{file = "regex-2024.11.6-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:ba9b72e5643641b7d41fa1f6d5abda2c9a263ae835b917348fc3c928182ad467"},
|
3273 |
+
{file = "regex-2024.11.6-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:40291b1b89ca6ad8d3f2b82782cc33807f1406cf68c8d440861da6304d8ffbbd"},
|
3274 |
+
{file = "regex-2024.11.6-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cdf58d0e516ee426a48f7b2c03a332a4114420716d55769ff7108c37a09951bf"},
|
3275 |
+
{file = "regex-2024.11.6-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a36fdf2af13c2b14738f6e973aba563623cb77d753bbbd8d414d18bfaa3105dd"},
|
3276 |
+
{file = "regex-2024.11.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d1cee317bfc014c2419a76bcc87f071405e3966da434e03e13beb45f8aced1a6"},
|
3277 |
+
{file = "regex-2024.11.6-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:50153825ee016b91549962f970d6a4442fa106832e14c918acd1c8e479916c4f"},
|
3278 |
+
{file = "regex-2024.11.6-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:ea1bfda2f7162605f6e8178223576856b3d791109f15ea99a9f95c16a7636fb5"},
|
3279 |
+
{file = "regex-2024.11.6-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:df951c5f4a1b1910f1a99ff42c473ff60f8225baa1cdd3539fe2819d9543e9df"},
|
3280 |
+
{file = "regex-2024.11.6-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:072623554418a9911446278f16ecb398fb3b540147a7828c06e2011fa531e773"},
|
3281 |
+
{file = "regex-2024.11.6-cp38-cp38-musllinux_1_2_ppc64le.whl", hash = "sha256:f654882311409afb1d780b940234208a252322c24a93b442ca714d119e68086c"},
|
3282 |
+
{file = "regex-2024.11.6-cp38-cp38-musllinux_1_2_s390x.whl", hash = "sha256:89d75e7293d2b3e674db7d4d9b1bee7f8f3d1609428e293771d1a962617150cc"},
|
3283 |
+
{file = "regex-2024.11.6-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:f65557897fc977a44ab205ea871b690adaef6b9da6afda4790a2484b04293a5f"},
|
3284 |
+
{file = "regex-2024.11.6-cp38-cp38-win32.whl", hash = "sha256:6f44ec28b1f858c98d3036ad5d7d0bfc568bdd7a74f9c24e25f41ef1ebfd81a4"},
|
3285 |
+
{file = "regex-2024.11.6-cp38-cp38-win_amd64.whl", hash = "sha256:bb8f74f2f10dbf13a0be8de623ba4f9491faf58c24064f32b65679b021ed0001"},
|
3286 |
+
{file = "regex-2024.11.6-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:5704e174f8ccab2026bd2f1ab6c510345ae8eac818b613d7d73e785f1310f839"},
|
3287 |
+
{file = "regex-2024.11.6-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:220902c3c5cc6af55d4fe19ead504de80eb91f786dc102fbd74894b1551f095e"},
|
3288 |
+
{file = "regex-2024.11.6-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:5e7e351589da0850c125f1600a4c4ba3c722efefe16b297de54300f08d734fbf"},
|
3289 |
+
{file = "regex-2024.11.6-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5056b185ca113c88e18223183aa1a50e66507769c9640a6ff75859619d73957b"},
|
3290 |
+
{file = "regex-2024.11.6-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2e34b51b650b23ed3354b5a07aab37034d9f923db2a40519139af34f485f77d0"},
|
3291 |
+
{file = "regex-2024.11.6-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5670bce7b200273eee1840ef307bfa07cda90b38ae56e9a6ebcc9f50da9c469b"},
|
3292 |
+
{file = "regex-2024.11.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:08986dce1339bc932923e7d1232ce9881499a0e02925f7402fb7c982515419ef"},
|
3293 |
+
{file = "regex-2024.11.6-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:93c0b12d3d3bc25af4ebbf38f9ee780a487e8bf6954c115b9f015822d3bb8e48"},
|
3294 |
+
{file = "regex-2024.11.6-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:764e71f22ab3b305e7f4c21f1a97e1526a25ebdd22513e251cf376760213da13"},
|
3295 |
+
{file = "regex-2024.11.6-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:f056bf21105c2515c32372bbc057f43eb02aae2fda61052e2f7622c801f0b4e2"},
|
3296 |
+
{file = "regex-2024.11.6-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:69ab78f848845569401469da20df3e081e6b5a11cb086de3eed1d48f5ed57c95"},
|
3297 |
+
{file = "regex-2024.11.6-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:86fddba590aad9208e2fa8b43b4c098bb0ec74f15718bb6a704e3c63e2cef3e9"},
|
3298 |
+
{file = "regex-2024.11.6-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:684d7a212682996d21ca12ef3c17353c021fe9de6049e19ac8481ec35574a70f"},
|
3299 |
+
{file = "regex-2024.11.6-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:a03e02f48cd1abbd9f3b7e3586d97c8f7a9721c436f51a5245b3b9483044480b"},
|
3300 |
+
{file = "regex-2024.11.6-cp39-cp39-win32.whl", hash = "sha256:41758407fc32d5c3c5de163888068cfee69cb4c2be844e7ac517a52770f9af57"},
|
3301 |
+
{file = "regex-2024.11.6-cp39-cp39-win_amd64.whl", hash = "sha256:b2837718570f95dd41675328e111345f9b7095d821bac435aac173ac80b19983"},
|
3302 |
+
{file = "regex-2024.11.6.tar.gz", hash = "sha256:7ab159b063c52a0333c884e4679f8d7a85112ee3078fe3d9004b2dd875585519"},
|
3303 |
+
]
|
3304 |
+
|
3305 |
[[package]]
|
3306 |
name = "requests"
|
3307 |
version = "2.32.3"
|
3308 |
description = "Python HTTP for Humans."
|
3309 |
optional = false
|
3310 |
python-versions = ">=3.8"
|
3311 |
+
groups = ["main", "huggingface"]
|
3312 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
3313 |
files = [
|
3314 |
{file = "requests-2.32.3-py3-none-any.whl", hash = "sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6"},
|
|
|
3430 |
[package.extras]
|
3431 |
dev = ["pytest"]
|
3432 |
|
3433 |
+
[[package]]
|
3434 |
+
name = "safetensors"
|
3435 |
+
version = "0.5.2"
|
3436 |
+
description = ""
|
3437 |
+
optional = false
|
3438 |
+
python-versions = ">=3.7"
|
3439 |
+
groups = ["huggingface"]
|
3440 |
+
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
3441 |
+
files = [
|
3442 |
+
{file = "safetensors-0.5.2-cp38-abi3-macosx_10_12_x86_64.whl", hash = "sha256:45b6092997ceb8aa3801693781a71a99909ab9cc776fbc3fa9322d29b1d3bef2"},
|
3443 |
+
{file = "safetensors-0.5.2-cp38-abi3-macosx_11_0_arm64.whl", hash = "sha256:6d0d6a8ee2215a440e1296b843edf44fd377b055ba350eaba74655a2fe2c4bae"},
|
3444 |
+
{file = "safetensors-0.5.2-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:86016d40bcaa3bcc9a56cd74d97e654b5f4f4abe42b038c71e4f00a089c4526c"},
|
3445 |
+
{file = "safetensors-0.5.2-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:990833f70a5f9c7d3fc82c94507f03179930ff7d00941c287f73b6fcbf67f19e"},
|
3446 |
+
{file = "safetensors-0.5.2-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3dfa7c2f3fe55db34eba90c29df94bcdac4821043fc391cb5d082d9922013869"},
|
3447 |
+
{file = "safetensors-0.5.2-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:46ff2116150ae70a4e9c490d2ab6b6e1b1b93f25e520e540abe1b81b48560c3a"},
|
3448 |
+
{file = "safetensors-0.5.2-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3ab696dfdc060caffb61dbe4066b86419107a24c804a4e373ba59be699ebd8d5"},
|
3449 |
+
{file = "safetensors-0.5.2-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:03c937100f38c9ff4c1507abea9928a6a9b02c9c1c9c3609ed4fb2bf413d4975"},
|
3450 |
+
{file = "safetensors-0.5.2-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:a00e737948791b94dad83cf0eafc09a02c4d8c2171a239e8c8572fe04e25960e"},
|
3451 |
+
{file = "safetensors-0.5.2-cp38-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:d3a06fae62418ec8e5c635b61a8086032c9e281f16c63c3af46a6efbab33156f"},
|
3452 |
+
{file = "safetensors-0.5.2-cp38-abi3-musllinux_1_2_i686.whl", hash = "sha256:1506e4c2eda1431099cebe9abf6c76853e95d0b7a95addceaa74c6019c65d8cf"},
|
3453 |
+
{file = "safetensors-0.5.2-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:5c5b5d9da594f638a259fca766046f44c97244cc7ab8bef161b3e80d04becc76"},
|
3454 |
+
{file = "safetensors-0.5.2-cp38-abi3-win32.whl", hash = "sha256:fe55c039d97090d1f85277d402954dd6ad27f63034fa81985a9cc59655ac3ee2"},
|
3455 |
+
{file = "safetensors-0.5.2-cp38-abi3-win_amd64.whl", hash = "sha256:78abdddd03a406646107f973c7843276e7b64e5e32623529dc17f3d94a20f589"},
|
3456 |
+
{file = "safetensors-0.5.2.tar.gz", hash = "sha256:cb4a8d98ba12fa016f4241932b1fc5e702e5143f5374bba0bbcf7ddc1c4cf2b8"},
|
3457 |
+
]
|
3458 |
+
|
3459 |
+
[package.extras]
|
3460 |
+
all = ["safetensors[jax]", "safetensors[numpy]", "safetensors[paddlepaddle]", "safetensors[pinned-tf]", "safetensors[quality]", "safetensors[testing]", "safetensors[torch]"]
|
3461 |
+
dev = ["safetensors[all]"]
|
3462 |
+
jax = ["flax (>=0.6.3)", "jax (>=0.3.25)", "jaxlib (>=0.3.25)", "safetensors[numpy]"]
|
3463 |
+
mlx = ["mlx (>=0.0.9)"]
|
3464 |
+
numpy = ["numpy (>=1.21.6)"]
|
3465 |
+
paddlepaddle = ["paddlepaddle (>=2.4.1)", "safetensors[numpy]"]
|
3466 |
+
pinned-tf = ["safetensors[numpy]", "tensorflow (==2.18.0)"]
|
3467 |
+
quality = ["black (==22.3)", "click (==8.0.4)", "flake8 (>=3.8.3)", "isort (>=5.5.4)"]
|
3468 |
+
tensorflow = ["safetensors[numpy]", "tensorflow (>=2.11.0)"]
|
3469 |
+
testing = ["h5py (>=3.7.0)", "huggingface-hub (>=0.12.1)", "hypothesis (>=6.70.2)", "pytest (>=7.2.0)", "pytest-benchmark (>=4.0.0)", "safetensors[numpy]", "setuptools-rust (>=1.5.2)"]
|
3470 |
+
torch = ["safetensors[numpy]", "torch (>=1.10)"]
|
3471 |
+
|
3472 |
[[package]]
|
3473 |
name = "semantic-version"
|
3474 |
version = "2.10.0"
|
|
|
3486 |
dev = ["Django (>=1.11)", "check-manifest", "colorama (<=0.4.1)", "coverage", "flake8", "nose2", "readme-renderer (<25.0)", "tox", "wheel", "zest.releaser[recommended]"]
|
3487 |
doc = ["Sphinx", "sphinx-rtd-theme"]
|
3488 |
|
3489 |
+
[[package]]
|
3490 |
+
name = "setuptools"
|
3491 |
+
version = "75.8.0"
|
3492 |
+
description = "Easily download, build, install, upgrade, and uninstall Python packages"
|
3493 |
+
optional = false
|
3494 |
+
python-versions = ">=3.9"
|
3495 |
+
groups = ["huggingface"]
|
3496 |
+
markers = "python_version >= \"3.12\""
|
3497 |
+
files = [
|
3498 |
+
{file = "setuptools-75.8.0-py3-none-any.whl", hash = "sha256:e3982f444617239225d675215d51f6ba05f845d4eec313da4418fdbb56fb27e3"},
|
3499 |
+
{file = "setuptools-75.8.0.tar.gz", hash = "sha256:c5afc8f407c626b8313a86e10311dd3f661c6cd9c09d4bf8c15c0e11f9f2b0e6"},
|
3500 |
+
]
|
3501 |
+
|
3502 |
+
[package.extras]
|
3503 |
+
check = ["pytest-checkdocs (>=2.4)", "pytest-ruff (>=0.2.1)", "ruff (>=0.8.0)"]
|
3504 |
+
core = ["importlib_metadata (>=6)", "jaraco.collections", "jaraco.functools (>=4)", "jaraco.text (>=3.7)", "more_itertools", "more_itertools (>=8.8)", "packaging", "packaging (>=24.2)", "platformdirs (>=4.2.2)", "tomli (>=2.0.1)", "wheel (>=0.43.0)"]
|
3505 |
+
cover = ["pytest-cov"]
|
3506 |
+
doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "pyproject-hooks (!=1.1)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier", "towncrier (<24.7)"]
|
3507 |
+
enabler = ["pytest-enabler (>=2.2)"]
|
3508 |
+
test = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "ini2toml[lite] (>=0.14)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.7.2)", "jaraco.test (>=5.5)", "packaging (>=24.2)", "pip (>=19.1)", "pyproject-hooks (!=1.1)", "pytest (>=6,!=8.1.*)", "pytest-home (>=0.5)", "pytest-perf", "pytest-subprocess", "pytest-timeout", "pytest-xdist (>=3)", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel (>=0.44.0)"]
|
3509 |
+
type = ["importlib_metadata (>=7.0.2)", "jaraco.develop (>=7.21)", "mypy (==1.14.*)", "pytest-mypy"]
|
3510 |
+
|
3511 |
[[package]]
|
3512 |
name = "shellingham"
|
3513 |
version = "1.5.4"
|
|
|
3581 |
|
3582 |
[[package]]
|
3583 |
name = "sympy"
|
3584 |
+
version = "1.13.1"
|
3585 |
description = "Computer algebra system (CAS) in Python"
|
3586 |
optional = false
|
3587 |
python-versions = ">=3.8"
|
3588 |
+
groups = ["main", "huggingface"]
|
3589 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
3590 |
files = [
|
3591 |
+
{file = "sympy-1.13.1-py3-none-any.whl", hash = "sha256:db36cdc64bf61b9b24578b6f7bab1ecdd2452cf008f34faa33776680c26d66f8"},
|
3592 |
+
{file = "sympy-1.13.1.tar.gz", hash = "sha256:9cebf7e04ff162015ce31c9c6c9144daa34a93bd082f54fd8f12deca4f47515f"},
|
3593 |
]
|
3594 |
|
3595 |
[package.dependencies]
|
|
|
3621 |
description = ""
|
3622 |
optional = false
|
3623 |
python-versions = ">=3.7"
|
3624 |
+
groups = ["main", "huggingface"]
|
3625 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
3626 |
files = [
|
3627 |
{file = "tokenizers-0.21.0-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:3c4c93eae637e7d2aaae3d376f06085164e1660f89304c0ab2b1d08a406636b2"},
|
|
|
3705 |
{file = "tomlkit-0.13.2.tar.gz", hash = "sha256:fff5fe59a87295b278abd31bec92c15d9bc4a06885ab12bcea52c71119392e79"},
|
3706 |
]
|
3707 |
|
3708 |
+
[[package]]
|
3709 |
+
name = "torch"
|
3710 |
+
version = "2.6.0"
|
3711 |
+
description = "Tensors and Dynamic neural networks in Python with strong GPU acceleration"
|
3712 |
+
optional = false
|
3713 |
+
python-versions = ">=3.9.0"
|
3714 |
+
groups = ["huggingface"]
|
3715 |
+
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
3716 |
+
files = [
|
3717 |
+
{file = "torch-2.6.0-cp310-cp310-manylinux1_x86_64.whl", hash = "sha256:6860df13d9911ac158f4c44031609700e1eba07916fff62e21e6ffa0a9e01961"},
|
3718 |
+
{file = "torch-2.6.0-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:c4f103a49830ce4c7561ef4434cc7926e5a5fe4e5eb100c19ab36ea1e2b634ab"},
|
3719 |
+
{file = "torch-2.6.0-cp310-cp310-win_amd64.whl", hash = "sha256:56eeaf2ecac90da5d9e35f7f35eb286da82673ec3c582e310a8d1631a1c02341"},
|
3720 |
+
{file = "torch-2.6.0-cp310-none-macosx_11_0_arm64.whl", hash = "sha256:09e06f9949e1a0518c5b09fe95295bc9661f219d9ecb6f9893e5123e10696628"},
|
3721 |
+
{file = "torch-2.6.0-cp311-cp311-manylinux1_x86_64.whl", hash = "sha256:7979834102cd5b7a43cc64e87f2f3b14bd0e1458f06e9f88ffa386d07c7446e1"},
|
3722 |
+
{file = "torch-2.6.0-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:ccbd0320411fe1a3b3fec7b4d3185aa7d0c52adac94480ab024b5c8f74a0bf1d"},
|
3723 |
+
{file = "torch-2.6.0-cp311-cp311-win_amd64.whl", hash = "sha256:46763dcb051180ce1ed23d1891d9b1598e07d051ce4c9d14307029809c4d64f7"},
|
3724 |
+
{file = "torch-2.6.0-cp311-none-macosx_11_0_arm64.whl", hash = "sha256:94fc63b3b4bedd327af588696559f68c264440e2503cc9e6954019473d74ae21"},
|
3725 |
+
{file = "torch-2.6.0-cp312-cp312-manylinux1_x86_64.whl", hash = "sha256:2bb8987f3bb1ef2675897034402373ddfc8f5ef0e156e2d8cfc47cacafdda4a9"},
|
3726 |
+
{file = "torch-2.6.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:b789069020c5588c70d5c2158ac0aa23fd24a028f34a8b4fcb8fcb4d7efcf5fb"},
|
3727 |
+
{file = "torch-2.6.0-cp312-cp312-win_amd64.whl", hash = "sha256:7e1448426d0ba3620408218b50aa6ada88aeae34f7a239ba5431f6c8774b1239"},
|
3728 |
+
{file = "torch-2.6.0-cp312-none-macosx_11_0_arm64.whl", hash = "sha256:9a610afe216a85a8b9bc9f8365ed561535c93e804c2a317ef7fabcc5deda0989"},
|
3729 |
+
{file = "torch-2.6.0-cp313-cp313-manylinux1_x86_64.whl", hash = "sha256:4874a73507a300a5d089ceaff616a569e7bb7c613c56f37f63ec3ffac65259cf"},
|
3730 |
+
{file = "torch-2.6.0-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:a0d5e1b9874c1a6c25556840ab8920569a7a4137afa8a63a32cee0bc7d89bd4b"},
|
3731 |
+
{file = "torch-2.6.0-cp313-cp313-win_amd64.whl", hash = "sha256:510c73251bee9ba02ae1cb6c9d4ee0907b3ce6020e62784e2d7598e0cfa4d6cc"},
|
3732 |
+
{file = "torch-2.6.0-cp313-none-macosx_11_0_arm64.whl", hash = "sha256:ff96f4038f8af9f7ec4231710ed4549da1bdebad95923953a25045dcf6fd87e2"},
|
3733 |
+
{file = "torch-2.6.0-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:9ea955317cfcd3852b1402b62af258ce735c2edeee42ca9419b6bc889e5ae053"},
|
3734 |
+
{file = "torch-2.6.0-cp39-cp39-manylinux_2_28_aarch64.whl", hash = "sha256:bb2c6c3e65049f081940f5ab15c9136c7de40d3f01192541c920a07c7c585b7e"},
|
3735 |
+
{file = "torch-2.6.0-cp39-cp39-win_amd64.whl", hash = "sha256:683410f97984103148e31b38a8631acf31c3034c020c0f4d26171e7626d8317a"},
|
3736 |
+
{file = "torch-2.6.0-cp39-none-macosx_11_0_arm64.whl", hash = "sha256:265f70de5fd45b864d924b64be1797f86e76c8e48a02c2a3a6fc7ec247d2226c"},
|
3737 |
+
]
|
3738 |
+
|
3739 |
+
[package.dependencies]
|
3740 |
+
filelock = "*"
|
3741 |
+
fsspec = "*"
|
3742 |
+
jinja2 = "*"
|
3743 |
+
networkx = "*"
|
3744 |
+
nvidia-cublas-cu12 = {version = "12.4.5.8", markers = "platform_system == \"Linux\" and platform_machine == \"x86_64\""}
|
3745 |
+
nvidia-cuda-cupti-cu12 = {version = "12.4.127", markers = "platform_system == \"Linux\" and platform_machine == \"x86_64\""}
|
3746 |
+
nvidia-cuda-nvrtc-cu12 = {version = "12.4.127", markers = "platform_system == \"Linux\" and platform_machine == \"x86_64\""}
|
3747 |
+
nvidia-cuda-runtime-cu12 = {version = "12.4.127", markers = "platform_system == \"Linux\" and platform_machine == \"x86_64\""}
|
3748 |
+
nvidia-cudnn-cu12 = {version = "9.1.0.70", markers = "platform_system == \"Linux\" and platform_machine == \"x86_64\""}
|
3749 |
+
nvidia-cufft-cu12 = {version = "11.2.1.3", markers = "platform_system == \"Linux\" and platform_machine == \"x86_64\""}
|
3750 |
+
nvidia-curand-cu12 = {version = "10.3.5.147", markers = "platform_system == \"Linux\" and platform_machine == \"x86_64\""}
|
3751 |
+
nvidia-cusolver-cu12 = {version = "11.6.1.9", markers = "platform_system == \"Linux\" and platform_machine == \"x86_64\""}
|
3752 |
+
nvidia-cusparse-cu12 = {version = "12.3.1.170", markers = "platform_system == \"Linux\" and platform_machine == \"x86_64\""}
|
3753 |
+
nvidia-cusparselt-cu12 = {version = "0.6.2", markers = "platform_system == \"Linux\" and platform_machine == \"x86_64\""}
|
3754 |
+
nvidia-nccl-cu12 = {version = "2.21.5", markers = "platform_system == \"Linux\" and platform_machine == \"x86_64\""}
|
3755 |
+
nvidia-nvjitlink-cu12 = {version = "12.4.127", markers = "platform_system == \"Linux\" and platform_machine == \"x86_64\""}
|
3756 |
+
nvidia-nvtx-cu12 = {version = "12.4.127", markers = "platform_system == \"Linux\" and platform_machine == \"x86_64\""}
|
3757 |
+
setuptools = {version = "*", markers = "python_version >= \"3.12\""}
|
3758 |
+
sympy = {version = "1.13.1", markers = "python_version >= \"3.9\""}
|
3759 |
+
triton = {version = "3.2.0", markers = "platform_system == \"Linux\" and platform_machine == \"x86_64\""}
|
3760 |
+
typing-extensions = ">=4.10.0"
|
3761 |
+
|
3762 |
+
[package.extras]
|
3763 |
+
opt-einsum = ["opt-einsum (>=3.3)"]
|
3764 |
+
optree = ["optree (>=0.13.0)"]
|
3765 |
+
|
3766 |
[[package]]
|
3767 |
name = "tqdm"
|
3768 |
version = "4.67.1"
|
3769 |
description = "Fast, Extensible Progress Meter"
|
3770 |
optional = false
|
3771 |
python-versions = ">=3.7"
|
3772 |
+
groups = ["main", "huggingface"]
|
3773 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
3774 |
files = [
|
3775 |
{file = "tqdm-4.67.1-py3-none-any.whl", hash = "sha256:26445eca388f82e72884e0d580d5464cd801a3ea01e63e5601bdff9ba6a48de2"},
|
|
|
3786 |
slack = ["slack-sdk"]
|
3787 |
telegram = ["requests"]
|
3788 |
|
3789 |
+
[[package]]
|
3790 |
+
name = "transformers"
|
3791 |
+
version = "4.48.2"
|
3792 |
+
description = "State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow"
|
3793 |
+
optional = false
|
3794 |
+
python-versions = ">=3.9.0"
|
3795 |
+
groups = ["huggingface"]
|
3796 |
+
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
3797 |
+
files = [
|
3798 |
+
{file = "transformers-4.48.2-py3-none-any.whl", hash = "sha256:493bc5b0268b116eff305edf6656367fc89cf570e7a9d5891369e04751db698a"},
|
3799 |
+
{file = "transformers-4.48.2.tar.gz", hash = "sha256:dcfb73473e61f22fb3366fe2471ed2e42779ecdd49527a1bdf1937574855d516"},
|
3800 |
+
]
|
3801 |
+
|
3802 |
+
[package.dependencies]
|
3803 |
+
filelock = "*"
|
3804 |
+
huggingface-hub = ">=0.24.0,<1.0"
|
3805 |
+
numpy = ">=1.17"
|
3806 |
+
packaging = ">=20.0"
|
3807 |
+
pyyaml = ">=5.1"
|
3808 |
+
regex = "!=2019.12.17"
|
3809 |
+
requests = "*"
|
3810 |
+
safetensors = ">=0.4.1"
|
3811 |
+
tokenizers = ">=0.21,<0.22"
|
3812 |
+
tqdm = ">=4.27"
|
3813 |
+
|
3814 |
+
[package.extras]
|
3815 |
+
accelerate = ["accelerate (>=0.26.0)"]
|
3816 |
+
agents = ["Pillow (>=10.0.1,<=15.0)", "accelerate (>=0.26.0)", "datasets (!=2.5.0)", "diffusers", "opencv-python", "sentencepiece (>=0.1.91,!=0.1.92)", "torch (>=2.0)"]
|
3817 |
+
all = ["Pillow (>=10.0.1,<=15.0)", "accelerate (>=0.26.0)", "av (==9.2.0)", "codecarbon (>=2.8.1)", "flax (>=0.4.1,<=0.7.0)", "jax (>=0.4.1,<=0.4.13)", "jaxlib (>=0.4.1,<=0.4.13)", "kenlm", "keras-nlp (>=0.3.1,<0.14.0)", "librosa", "onnxconverter-common", "optax (>=0.0.8,<=0.1.4)", "optuna", "phonemizer", "protobuf", "pyctcdecode (>=0.4.0)", "ray[tune] (>=2.7.0)", "scipy (<1.13.0)", "sentencepiece (>=0.1.91,!=0.1.92)", "sigopt", "tensorflow (>2.9,<2.16)", "tensorflow-text (<2.16)", "tf2onnx", "timm (<=1.0.11)", "tokenizers (>=0.21,<0.22)", "torch (>=2.0)", "torchaudio", "torchvision"]
|
3818 |
+
audio = ["kenlm", "librosa", "phonemizer", "pyctcdecode (>=0.4.0)"]
|
3819 |
+
benchmark = ["optimum-benchmark (>=0.3.0)"]
|
3820 |
+
codecarbon = ["codecarbon (>=2.8.1)"]
|
3821 |
+
deepspeed = ["accelerate (>=0.26.0)", "deepspeed (>=0.9.3)"]
|
3822 |
+
deepspeed-testing = ["GitPython (<3.1.19)", "accelerate (>=0.26.0)", "beautifulsoup4", "cookiecutter (==1.7.3)", "datasets (!=2.5.0)", "deepspeed (>=0.9.3)", "dill (<0.3.5)", "evaluate (>=0.2.0)", "faiss-cpu", "nltk (<=3.8.1)", "optuna", "parameterized", "protobuf", "psutil", "pydantic", "pytest (>=7.2.0,<8.0.0)", "pytest-asyncio", "pytest-rich", "pytest-timeout", "pytest-xdist", "rjieba", "rouge-score (!=0.0.7,!=0.0.8,!=0.1,!=0.1.1)", "ruff (==0.5.1)", "sacrebleu (>=1.4.12,<2.0.0)", "sacremoses", "sentencepiece (>=0.1.91,!=0.1.92)", "tensorboard", "timeout-decorator"]
|
3823 |
+
dev = ["GitPython (<3.1.19)", "Pillow (>=10.0.1,<=15.0)", "accelerate (>=0.26.0)", "av (==9.2.0)", "beautifulsoup4", "codecarbon (>=2.8.1)", "cookiecutter (==1.7.3)", "datasets (!=2.5.0)", "dill (<0.3.5)", "evaluate (>=0.2.0)", "faiss-cpu", "flax (>=0.4.1,<=0.7.0)", "fugashi (>=1.0)", "ipadic (>=1.0.0,<2.0)", "isort (>=5.5.4)", "jax (>=0.4.1,<=0.4.13)", "jaxlib (>=0.4.1,<=0.4.13)", "kenlm", "keras-nlp (>=0.3.1,<0.14.0)", "libcst", "librosa", "nltk (<=3.8.1)", "onnxconverter-common", "optax (>=0.0.8,<=0.1.4)", "optuna", "parameterized", "phonemizer", "protobuf", "psutil", "pyctcdecode (>=0.4.0)", "pydantic", "pytest (>=7.2.0,<8.0.0)", "pytest-asyncio", "pytest-rich", "pytest-timeout", "pytest-xdist", "ray[tune] (>=2.7.0)", "rhoknp (>=1.1.0,<1.3.1)", "rich", "rjieba", "rouge-score (!=0.0.7,!=0.0.8,!=0.1,!=0.1.1)", "ruff (==0.5.1)", "sacrebleu (>=1.4.12,<2.0.0)", "sacremoses", "scikit-learn", "scipy (<1.13.0)", "sentencepiece (>=0.1.91,!=0.1.92)", "sigopt", "sudachidict-core (>=20220729)", "sudachipy (>=0.6.6)", "tensorboard", "tensorflow (>2.9,<2.16)", "tensorflow-text (<2.16)", "tf2onnx", "timeout-decorator", "timm (<=1.0.11)", "tokenizers (>=0.21,<0.22)", "torch (>=2.0)", "torchaudio", "torchvision", "unidic (>=1.0.2)", "unidic-lite (>=1.0.7)", "urllib3 (<2.0.0)"]
|
3824 |
+
dev-tensorflow = ["GitPython (<3.1.19)", "Pillow (>=10.0.1,<=15.0)", "beautifulsoup4", "cookiecutter (==1.7.3)", "datasets (!=2.5.0)", "dill (<0.3.5)", "evaluate (>=0.2.0)", "faiss-cpu", "isort (>=5.5.4)", "kenlm", "keras-nlp (>=0.3.1,<0.14.0)", "libcst", "librosa", "nltk (<=3.8.1)", "onnxconverter-common", "onnxruntime (>=1.4.0)", "onnxruntime-tools (>=1.4.2)", "parameterized", "phonemizer", "protobuf", "psutil", "pyctcdecode (>=0.4.0)", "pydantic", "pytest (>=7.2.0,<8.0.0)", "pytest-asyncio", "pytest-rich", "pytest-timeout", "pytest-xdist", "rich", "rjieba", "rouge-score (!=0.0.7,!=0.0.8,!=0.1,!=0.1.1)", "ruff (==0.5.1)", "sacrebleu (>=1.4.12,<2.0.0)", "sacremoses", "scikit-learn", "sentencepiece (>=0.1.91,!=0.1.92)", "tensorboard", "tensorflow (>2.9,<2.16)", "tensorflow-text (<2.16)", "tf2onnx", "timeout-decorator", "tokenizers (>=0.21,<0.22)", "urllib3 (<2.0.0)"]
|
3825 |
+
dev-torch = ["GitPython (<3.1.19)", "Pillow (>=10.0.1,<=15.0)", "accelerate (>=0.26.0)", "beautifulsoup4", "codecarbon (>=2.8.1)", "cookiecutter (==1.7.3)", "datasets (!=2.5.0)", "dill (<0.3.5)", "evaluate (>=0.2.0)", "faiss-cpu", "fugashi (>=1.0)", "ipadic (>=1.0.0,<2.0)", "isort (>=5.5.4)", "kenlm", "libcst", "librosa", "nltk (<=3.8.1)", "onnxruntime (>=1.4.0)", "onnxruntime-tools (>=1.4.2)", "optuna", "parameterized", "phonemizer", "protobuf", "psutil", "pyctcdecode (>=0.4.0)", "pydantic", "pytest (>=7.2.0,<8.0.0)", "pytest-asyncio", "pytest-rich", "pytest-timeout", "pytest-xdist", "ray[tune] (>=2.7.0)", "rhoknp (>=1.1.0,<1.3.1)", "rich", "rjieba", "rouge-score (!=0.0.7,!=0.0.8,!=0.1,!=0.1.1)", "ruff (==0.5.1)", "sacrebleu (>=1.4.12,<2.0.0)", "sacremoses", "scikit-learn", "sentencepiece (>=0.1.91,!=0.1.92)", "sigopt", "sudachidict-core (>=20220729)", "sudachipy (>=0.6.6)", "tensorboard", "timeout-decorator", "timm (<=1.0.11)", "tokenizers (>=0.21,<0.22)", "torch (>=2.0)", "torchaudio", "torchvision", "unidic (>=1.0.2)", "unidic-lite (>=1.0.7)", "urllib3 (<2.0.0)"]
|
3826 |
+
flax = ["flax (>=0.4.1,<=0.7.0)", "jax (>=0.4.1,<=0.4.13)", "jaxlib (>=0.4.1,<=0.4.13)", "optax (>=0.0.8,<=0.1.4)", "scipy (<1.13.0)"]
|
3827 |
+
flax-speech = ["kenlm", "librosa", "phonemizer", "pyctcdecode (>=0.4.0)"]
|
3828 |
+
ftfy = ["ftfy"]
|
3829 |
+
integrations = ["optuna", "ray[tune] (>=2.7.0)", "sigopt"]
|
3830 |
+
ja = ["fugashi (>=1.0)", "ipadic (>=1.0.0,<2.0)", "rhoknp (>=1.1.0,<1.3.1)", "sudachidict-core (>=20220729)", "sudachipy (>=0.6.6)", "unidic (>=1.0.2)", "unidic-lite (>=1.0.7)"]
|
3831 |
+
modelcreation = ["cookiecutter (==1.7.3)"]
|
3832 |
+
natten = ["natten (>=0.14.6,<0.15.0)"]
|
3833 |
+
onnx = ["onnxconverter-common", "onnxruntime (>=1.4.0)", "onnxruntime-tools (>=1.4.2)", "tf2onnx"]
|
3834 |
+
onnxruntime = ["onnxruntime (>=1.4.0)", "onnxruntime-tools (>=1.4.2)"]
|
3835 |
+
optuna = ["optuna"]
|
3836 |
+
quality = ["GitPython (<3.1.19)", "datasets (!=2.5.0)", "isort (>=5.5.4)", "libcst", "rich", "ruff (==0.5.1)", "urllib3 (<2.0.0)"]
|
3837 |
+
ray = ["ray[tune] (>=2.7.0)"]
|
3838 |
+
retrieval = ["datasets (!=2.5.0)", "faiss-cpu"]
|
3839 |
+
ruff = ["ruff (==0.5.1)"]
|
3840 |
+
sagemaker = ["sagemaker (>=2.31.0)"]
|
3841 |
+
sentencepiece = ["protobuf", "sentencepiece (>=0.1.91,!=0.1.92)"]
|
3842 |
+
serving = ["fastapi", "pydantic", "starlette", "uvicorn"]
|
3843 |
+
sigopt = ["sigopt"]
|
3844 |
+
sklearn = ["scikit-learn"]
|
3845 |
+
speech = ["kenlm", "librosa", "phonemizer", "pyctcdecode (>=0.4.0)", "torchaudio"]
|
3846 |
+
testing = ["GitPython (<3.1.19)", "beautifulsoup4", "cookiecutter (==1.7.3)", "datasets (!=2.5.0)", "dill (<0.3.5)", "evaluate (>=0.2.0)", "faiss-cpu", "nltk (<=3.8.1)", "parameterized", "psutil", "pydantic", "pytest (>=7.2.0,<8.0.0)", "pytest-asyncio", "pytest-rich", "pytest-timeout", "pytest-xdist", "rjieba", "rouge-score (!=0.0.7,!=0.0.8,!=0.1,!=0.1.1)", "ruff (==0.5.1)", "sacrebleu (>=1.4.12,<2.0.0)", "sacremoses", "sentencepiece (>=0.1.91,!=0.1.92)", "tensorboard", "timeout-decorator"]
|
3847 |
+
tf = ["keras-nlp (>=0.3.1,<0.14.0)", "onnxconverter-common", "tensorflow (>2.9,<2.16)", "tensorflow-text (<2.16)", "tf2onnx"]
|
3848 |
+
tf-cpu = ["keras (>2.9,<2.16)", "keras-nlp (>=0.3.1,<0.14.0)", "onnxconverter-common", "tensorflow-cpu (>2.9,<2.16)", "tensorflow-probability (<0.24)", "tensorflow-text (<2.16)", "tf2onnx"]
|
3849 |
+
tf-speech = ["kenlm", "librosa", "phonemizer", "pyctcdecode (>=0.4.0)"]
|
3850 |
+
tiktoken = ["blobfile", "tiktoken"]
|
3851 |
+
timm = ["timm (<=1.0.11)"]
|
3852 |
+
tokenizers = ["tokenizers (>=0.21,<0.22)"]
|
3853 |
+
torch = ["accelerate (>=0.26.0)", "torch (>=2.0)"]
|
3854 |
+
torch-speech = ["kenlm", "librosa", "phonemizer", "pyctcdecode (>=0.4.0)", "torchaudio"]
|
3855 |
+
torch-vision = ["Pillow (>=10.0.1,<=15.0)", "torchvision"]
|
3856 |
+
torchhub = ["filelock", "huggingface-hub (>=0.24.0,<1.0)", "importlib-metadata", "numpy (>=1.17)", "packaging (>=20.0)", "protobuf", "regex (!=2019.12.17)", "requests", "sentencepiece (>=0.1.91,!=0.1.92)", "tokenizers (>=0.21,<0.22)", "torch (>=2.0)", "tqdm (>=4.27)"]
|
3857 |
+
video = ["av (==9.2.0)"]
|
3858 |
+
vision = ["Pillow (>=10.0.1,<=15.0)"]
|
3859 |
+
|
3860 |
[[package]]
|
3861 |
name = "tree-sitter"
|
3862 |
version = "0.24.0"
|
|
|
3923 |
[package.extras]
|
3924 |
core = ["tree-sitter (>=0.22,<1.0)"]
|
3925 |
|
3926 |
+
[[package]]
|
3927 |
+
name = "triton"
|
3928 |
+
version = "3.2.0"
|
3929 |
+
description = "A language and compiler for custom Deep Learning operations"
|
3930 |
+
optional = false
|
3931 |
+
python-versions = "*"
|
3932 |
+
groups = ["huggingface"]
|
3933 |
+
markers = "python_version <= \"3.11\" and platform_system == \"Linux\" and platform_machine == \"x86_64\" or python_version >= \"3.12\" and platform_system == \"Linux\" and platform_machine == \"x86_64\""
|
3934 |
+
files = [
|
3935 |
+
{file = "triton-3.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b3e54983cd51875855da7c68ec05c05cf8bb08df361b1d5b69e05e40b0c9bd62"},
|
3936 |
+
{file = "triton-3.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8009a1fb093ee8546495e96731336a33fb8856a38e45bb4ab6affd6dbc3ba220"},
|
3937 |
+
{file = "triton-3.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d9b215efc1c26fa7eefb9a157915c92d52e000d2bf83e5f69704047e63f125c"},
|
3938 |
+
{file = "triton-3.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e5dfa23ba84541d7c0a531dfce76d8bcd19159d50a4a8b14ad01e91734a5c1b0"},
|
3939 |
+
{file = "triton-3.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:30ceed0eff2c4a73b14eb63e052992f44bbdf175f3fad21e1ac8097a772de7ee"},
|
3940 |
+
]
|
3941 |
+
|
3942 |
+
[package.extras]
|
3943 |
+
build = ["cmake (>=3.20)", "lit"]
|
3944 |
+
tests = ["autopep8", "flake8", "isort", "llnl-hatchet", "numpy", "pytest", "scipy (>=1.7.1)"]
|
3945 |
+
tutorials = ["matplotlib", "pandas", "tabulate"]
|
3946 |
+
|
3947 |
[[package]]
|
3948 |
name = "typer"
|
3949 |
version = "0.15.1"
|
|
|
3985 |
description = "Backported and Experimental Type Hints for Python 3.8+"
|
3986 |
optional = false
|
3987 |
python-versions = ">=3.8"
|
3988 |
+
groups = ["main", "huggingface"]
|
3989 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
3990 |
files = [
|
3991 |
{file = "typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d"},
|
|
|
4028 |
description = "HTTP library with thread-safe connection pooling, file post, and more."
|
4029 |
optional = false
|
4030 |
python-versions = ">=3.9"
|
4031 |
+
groups = ["main", "huggingface"]
|
4032 |
markers = "python_version <= \"3.11\" or python_version >= \"3.12\""
|
4033 |
files = [
|
4034 |
{file = "urllib3-2.3.0-py3-none-any.whl", hash = "sha256:1cee9ad369867bfdbbb48b7dd50374c0967a0bb7710050facf0dd6911440e3df"},
|
|
|
4419 |
[metadata]
|
4420 |
lock-version = "2.1"
|
4421 |
python-versions = ">=3.10, <4.0"
|
4422 |
+
content-hash = "ed37bda9891fbefaa9fa3eb73382a1887aec8cfdec3506df79da7bcceaadc63b"
|
pyproject.toml
CHANGED
@@ -32,6 +32,13 @@ packages = [
|
|
32 |
pytest = "^8.3.4"
|
33 |
pytest-asyncio = "^0.25.2"
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
[build-system]
|
36 |
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
37 |
build-backend = "poetry.core.masonry.api"
|
|
|
32 |
pytest = "^8.3.4"
|
33 |
pytest-asyncio = "^0.25.2"
|
34 |
|
35 |
+
[tool.poetry.group.huggingface]
|
36 |
+
optional=true
|
37 |
+
|
38 |
+
[tool.poetry.group.huggingface.dependencies]
|
39 |
+
torch = "^2.6.0"
|
40 |
+
transformers = "^4.48.2"
|
41 |
+
|
42 |
[build-system]
|
43 |
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
44 |
build-backend = "poetry.core.masonry.api"
|
src/know_lang_bot/chat_bot/__main__.py
CHANGED
@@ -19,7 +19,6 @@ async def test_chat_processing():
|
|
19 |
)
|
20 |
|
21 |
print(f"Answer: {result.answer}")
|
22 |
-
print(f"References: {result.references_md}")
|
23 |
|
24 |
if __name__ == "__main__":
|
25 |
asyncio.run(test_chat_processing())
|
|
|
19 |
)
|
20 |
|
21 |
print(f"Answer: {result.answer}")
|
|
|
22 |
|
23 |
if __name__ == "__main__":
|
24 |
asyncio.run(test_chat_processing())
|
src/know_lang_bot/chat_bot/chat_graph.py
CHANGED
@@ -12,8 +12,11 @@ from pydantic_ai import Agent
|
|
12 |
import logfire
|
13 |
from pprint import pformat
|
14 |
from enum import Enum
|
|
|
|
|
15 |
|
16 |
LOG = FancyLogger(__name__)
|
|
|
17 |
|
18 |
class ChatStatus(str, Enum):
|
19 |
"""Enum for tracking chat progress status"""
|
@@ -128,7 +131,10 @@ Example Output: "Where is the configuration file or configuration settings store
|
|
128 |
async def run(self, ctx: GraphRunContext[ChatGraphState, ChatGraphDeps]) -> RetrieveContextNode:
|
129 |
# Create an agent for question polishing
|
130 |
polish_agent = Agent(
|
131 |
-
|
|
|
|
|
|
|
132 |
system_prompt=self.system_prompt
|
133 |
)
|
134 |
prompt = f"""Original question: "{ctx.state.original_question}"
|
@@ -203,7 +209,10 @@ Remember: Your primary goal is answering the user's specific question, not expla
|
|
203 |
|
204 |
async def run(self, ctx: GraphRunContext[ChatGraphState, ChatGraphDeps]) -> End[ChatResult]:
|
205 |
answer_agent = Agent(
|
206 |
-
|
|
|
|
|
|
|
207 |
system_prompt=self.system_prompt
|
208 |
)
|
209 |
|
@@ -267,6 +276,8 @@ async def process_chat(
|
|
267 |
)
|
268 |
except Exception as e:
|
269 |
LOG.error(f"Error processing chat in graph: {e}")
|
|
|
|
|
270 |
result = ChatResult(
|
271 |
answer="I encountered an error processing your question. Please try again."
|
272 |
)
|
|
|
12 |
import logfire
|
13 |
from pprint import pformat
|
14 |
from enum import Enum
|
15 |
+
from rich.console import Console
|
16 |
+
from know_lang_bot.utils.model_provider import create_pydantic_model
|
17 |
|
18 |
LOG = FancyLogger(__name__)
|
19 |
+
console = Console()
|
20 |
|
21 |
class ChatStatus(str, Enum):
|
22 |
"""Enum for tracking chat progress status"""
|
|
|
131 |
async def run(self, ctx: GraphRunContext[ChatGraphState, ChatGraphDeps]) -> RetrieveContextNode:
|
132 |
# Create an agent for question polishing
|
133 |
polish_agent = Agent(
|
134 |
+
create_pydantic_model(
|
135 |
+
model_provider=ctx.deps.config.llm.model_provider,
|
136 |
+
model_name=ctx.deps.config.llm.model_name
|
137 |
+
),
|
138 |
system_prompt=self.system_prompt
|
139 |
)
|
140 |
prompt = f"""Original question: "{ctx.state.original_question}"
|
|
|
209 |
|
210 |
async def run(self, ctx: GraphRunContext[ChatGraphState, ChatGraphDeps]) -> End[ChatResult]:
|
211 |
answer_agent = Agent(
|
212 |
+
create_pydantic_model(
|
213 |
+
model_provider=ctx.deps.config.llm.model_provider,
|
214 |
+
model_name=ctx.deps.config.llm.model_name
|
215 |
+
),
|
216 |
system_prompt=self.system_prompt
|
217 |
)
|
218 |
|
|
|
276 |
)
|
277 |
except Exception as e:
|
278 |
LOG.error(f"Error processing chat in graph: {e}")
|
279 |
+
console.print_exception()
|
280 |
+
|
281 |
result = ChatResult(
|
282 |
answer="I encountered an error processing your question. Please try again."
|
283 |
)
|
src/know_lang_bot/models/huggingface.py
ADDED
@@ -0,0 +1,193 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from __future__ import annotations
|
2 |
+
|
3 |
+
import asyncio
|
4 |
+
from dataclasses import dataclass, field
|
5 |
+
from datetime import datetime, timezone
|
6 |
+
from typing import AsyncIterator, Optional
|
7 |
+
from contextlib import asynccontextmanager
|
8 |
+
|
9 |
+
from pydantic_ai.models import (
|
10 |
+
AgentModel,
|
11 |
+
ModelMessage,
|
12 |
+
ModelResponse,
|
13 |
+
StreamedResponse,
|
14 |
+
Usage,
|
15 |
+
Model,
|
16 |
+
check_allow_model_requests
|
17 |
+
)
|
18 |
+
from pydantic_ai.tools import ToolDefinition
|
19 |
+
from pydantic_ai.messages import (
|
20 |
+
ModelResponsePart, TextPart, SystemPromptPart,
|
21 |
+
UserPromptPart, ToolReturnPart, ModelResponseStreamEvent
|
22 |
+
)
|
23 |
+
from pydantic_ai.settings import ModelSettings
|
24 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
|
25 |
+
import torch
|
26 |
+
|
27 |
+
|
28 |
+
@dataclass(init=False)
|
29 |
+
class HuggingFaceModel(Model):
|
30 |
+
"""A model that uses HuggingFace models locally.
|
31 |
+
|
32 |
+
For MVP, this implements basic functionality without streaming or advanced features.
|
33 |
+
"""
|
34 |
+
|
35 |
+
model_name: str
|
36 |
+
model: AutoModelForCausalLM = field(repr=False)
|
37 |
+
tokenizer: AutoTokenizer = field(repr=False)
|
38 |
+
device: str = field(default="cuda" if torch.cuda.is_available() else "cpu")
|
39 |
+
|
40 |
+
def __init__(
|
41 |
+
self,
|
42 |
+
model_name: str,
|
43 |
+
*,
|
44 |
+
device: Optional[str] = None,
|
45 |
+
max_new_tokens: int = 512,
|
46 |
+
):
|
47 |
+
"""Initialize a HuggingFace model.
|
48 |
+
|
49 |
+
Args:
|
50 |
+
model_name: Name of the model on HuggingFace Hub
|
51 |
+
device: Device to run model on ('cuda' or 'cpu')
|
52 |
+
max_new_tokens: Maximum number of tokens to generate
|
53 |
+
"""
|
54 |
+
self.model_name = model_name
|
55 |
+
self.device = device or ("cuda" if torch.cuda.is_available() else "cpu")
|
56 |
+
self.max_new_tokens = max_new_tokens
|
57 |
+
|
58 |
+
# Load model and tokenizer
|
59 |
+
self.model = AutoModelForCausalLM.from_pretrained(model_name)
|
60 |
+
self.model.to(self.device)
|
61 |
+
self.tokenizer = AutoTokenizer.from_pretrained(model_name)
|
62 |
+
if not self.tokenizer.pad_token:
|
63 |
+
self.tokenizer.pad_token = self.tokenizer.eos_token
|
64 |
+
|
65 |
+
async def agent_model(
|
66 |
+
self,
|
67 |
+
*,
|
68 |
+
function_tools: list[ToolDefinition],
|
69 |
+
allow_text_result: bool,
|
70 |
+
result_tools: list[ToolDefinition],
|
71 |
+
) -> AgentModel:
|
72 |
+
"""Create an agent model for each step of an agent run."""
|
73 |
+
check_allow_model_requests()
|
74 |
+
|
75 |
+
return HuggingFaceAgentModel(
|
76 |
+
model=self.model,
|
77 |
+
tokenizer=self.tokenizer,
|
78 |
+
model_name=self.model_name,
|
79 |
+
device=self.device,
|
80 |
+
max_new_tokens=self.max_new_tokens,
|
81 |
+
tools=function_tools if function_tools else None
|
82 |
+
)
|
83 |
+
|
84 |
+
def name(self) -> str:
|
85 |
+
return f"huggingface:{self.model_name}"
|
86 |
+
|
87 |
+
@dataclass
|
88 |
+
class HuggingFaceAgentModel(AgentModel):
|
89 |
+
"""Implementation of AgentModel for HuggingFace models."""
|
90 |
+
|
91 |
+
model: AutoModelForCausalLM
|
92 |
+
tokenizer: AutoTokenizer
|
93 |
+
model_name: str
|
94 |
+
device: str
|
95 |
+
max_new_tokens: int
|
96 |
+
tools: Optional[list[ToolDefinition]] = None
|
97 |
+
|
98 |
+
def _format_messages(self, messages: list[ModelMessage]) -> str:
|
99 |
+
"""Format messages into a prompt the model can understand."""
|
100 |
+
formatted = []
|
101 |
+
for message in messages:
|
102 |
+
for part in message.parts:
|
103 |
+
if isinstance(part, SystemPromptPart):
|
104 |
+
formatted.append(f"<|system|>{part.content}")
|
105 |
+
elif isinstance(part, UserPromptPart):
|
106 |
+
formatted.append(f"<|user|>{part.content}")
|
107 |
+
else:
|
108 |
+
# For MVP, we'll just pass through other message types
|
109 |
+
formatted.append(str(part.content))
|
110 |
+
formatted.append("<|assistant|>")
|
111 |
+
return "\n".join(formatted)
|
112 |
+
|
113 |
+
async def request(
|
114 |
+
self, messages: list[ModelMessage], model_settings: ModelSettings | None
|
115 |
+
) -> tuple[ModelResponse, Usage]:
|
116 |
+
"""Make a request to the model."""
|
117 |
+
prompt = self._format_messages(messages)
|
118 |
+
inputs = self.tokenizer(prompt, return_tensors="pt").to(self.device)
|
119 |
+
|
120 |
+
with torch.no_grad():
|
121 |
+
outputs = self.model.generate(
|
122 |
+
**inputs,
|
123 |
+
max_new_tokens=self.max_new_tokens,
|
124 |
+
pad_token_id=self.tokenizer.pad_token_id,
|
125 |
+
)
|
126 |
+
|
127 |
+
response_text = self.tokenizer.decode(outputs[0], skip_special_tokens=True)
|
128 |
+
response_text = response_text[len(prompt):] # Remove the prompt
|
129 |
+
|
130 |
+
timestamp = datetime.now(timezone.utc)
|
131 |
+
response = ModelResponse(
|
132 |
+
parts=[TextPart(response_text)],
|
133 |
+
model_name=self.model_name,
|
134 |
+
timestamp=timestamp
|
135 |
+
)
|
136 |
+
|
137 |
+
usage_stats = Usage(
|
138 |
+
requests=1,
|
139 |
+
request_tokens=inputs.input_ids.shape[1],
|
140 |
+
response_tokens=len(outputs[0]) - inputs.input_ids.shape[1],
|
141 |
+
total_tokens=len(outputs[0])
|
142 |
+
)
|
143 |
+
|
144 |
+
return response, usage_stats
|
145 |
+
|
146 |
+
@asynccontextmanager
|
147 |
+
async def request_stream(
|
148 |
+
self, messages: list[ModelMessage], model_settings: ModelSettings | None
|
149 |
+
) -> AsyncIterator[StreamedResponse]:
|
150 |
+
"""Make a streaming request to the model."""
|
151 |
+
prompt = self._format_messages(messages)
|
152 |
+
inputs = self.tokenizer(prompt, return_tensors="pt").to(self.device)
|
153 |
+
|
154 |
+
streamer = TextIteratorStreamer(self.tokenizer, skip_special_tokens=True)
|
155 |
+
|
156 |
+
generation_kwargs = dict(
|
157 |
+
input_ids=inputs.input_ids,
|
158 |
+
max_new_tokens=self.max_new_tokens,
|
159 |
+
pad_token_id=self.tokenizer.pad_token_id,
|
160 |
+
streamer=streamer,
|
161 |
+
)
|
162 |
+
|
163 |
+
thread = torch.jit.fork(self.model.generate, **generation_kwargs)
|
164 |
+
|
165 |
+
try:
|
166 |
+
yield HuggingFaceStreamedResponse(
|
167 |
+
_model_name=self.model_name,
|
168 |
+
_streamer=streamer,
|
169 |
+
_timestamp=datetime.now(timezone.utc),
|
170 |
+
)
|
171 |
+
finally:
|
172 |
+
torch.jit.wait(thread)
|
173 |
+
|
174 |
+
@dataclass
|
175 |
+
class HuggingFaceStreamedResponse(StreamedResponse):
|
176 |
+
"""Implementation of StreamedResponse for HuggingFace models."""
|
177 |
+
|
178 |
+
_streamer: TextIteratorStreamer
|
179 |
+
_timestamp: datetime
|
180 |
+
|
181 |
+
async def _get_event_iterator(self) -> AsyncIterator[ModelResponseStreamEvent]:
|
182 |
+
"""Stream tokens from the model."""
|
183 |
+
for new_text in self._streamer:
|
184 |
+
self._usage.response_tokens += len(new_text)
|
185 |
+
self._usage.total_tokens = self._usage.request_tokens + self._usage.response_tokens
|
186 |
+
|
187 |
+
yield self._parts_manager.handle_text_delta(
|
188 |
+
vendor_part_id='content',
|
189 |
+
content=new_text
|
190 |
+
)
|
191 |
+
|
192 |
+
def timestamp(self) -> datetime:
|
193 |
+
return self._timestamp
|
src/know_lang_bot/summarizer/summarizer.py
CHANGED
@@ -10,6 +10,7 @@ from rich.progress import Progress
|
|
10 |
from know_lang_bot.config import AppConfig
|
11 |
from know_lang_bot.core.types import CodeChunk, ModelProvider
|
12 |
from know_lang_bot.utils.fancy_log import FancyLogger
|
|
|
13 |
|
14 |
LOG = FancyLogger(__name__)
|
15 |
|
@@ -50,7 +51,10 @@ Provide a clean, concise and focused summary. Don't include unnecessary nor gene
|
|
50 |
"""
|
51 |
|
52 |
self.agent = Agent(
|
53 |
-
|
|
|
|
|
|
|
54 |
system_prompt=system_prompt,
|
55 |
model_settings=self.config.llm.model_settings
|
56 |
)
|
|
|
10 |
from know_lang_bot.config import AppConfig
|
11 |
from know_lang_bot.core.types import CodeChunk, ModelProvider
|
12 |
from know_lang_bot.utils.fancy_log import FancyLogger
|
13 |
+
from know_lang_bot.utils.model_provider import create_pydantic_model
|
14 |
|
15 |
LOG = FancyLogger(__name__)
|
16 |
|
|
|
51 |
"""
|
52 |
|
53 |
self.agent = Agent(
|
54 |
+
create_pydantic_model(
|
55 |
+
model_provider=self.config.llm.model_provider,
|
56 |
+
model_name=self.config.llm.model_name
|
57 |
+
),
|
58 |
system_prompt=system_prompt,
|
59 |
model_settings=self.config.llm.model_settings
|
60 |
)
|
src/know_lang_bot/utils/model_provider.py
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from pydantic_ai.models import Model, KnownModelName
|
2 |
+
from know_lang_bot.core.types import ModelProvider
|
3 |
+
from know_lang_bot.models.huggingface import HuggingFaceModel
|
4 |
+
from typing import get_args
|
5 |
+
|
6 |
+
def create_pydantic_model(
|
7 |
+
model_provider: ModelProvider,
|
8 |
+
model_name: str,
|
9 |
+
) -> Model | KnownModelName:
|
10 |
+
model_str = f"{model_provider}:{model_name}"
|
11 |
+
|
12 |
+
if model_str in get_args(KnownModelName):
|
13 |
+
return model_str
|
14 |
+
elif model_provider == ModelProvider.HUGGINGFACE:
|
15 |
+
return HuggingFaceModel(model_name=model_name)
|
16 |
+
else:
|
17 |
+
raise NotImplementedError(f"Model {model_provider}:{model_name} is not supported")
|