代码拉取完成,页面将自动刷新
同步操作将从 Gitee 极速下载/huggingface-hub 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
InferenceClient.chat_completion
+ use new types for text-g…
[tool.mypy]
ignore_missing_imports = true
no_implicit_optional = true
scripts_are_modules = true
[tool.pytest.ini_options]
# Add the specified `OPTS` to the set of command line arguments as if they had
# been specified by the user.
addopts = "-Werror::FutureWarning --log-cli-level=INFO -sv --durations=0"
# The defined variables will be added to the environment before any tests are
# run, part of pytest-env plugin
env = [
"DISABLE_SYMLINKS_IN_WINDOWS_TESTS=1",
"HF_TOKEN=",
"HUGGINGFACE_CO_STAGING=1",
"HUGGING_FACE_HUB_TOKEN=",
]
[tool.ruff]
exclude = [
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".venv*",
"__pypackages__",
"_build",
"build",
"dist",
"venv",
]
line-length = 119
# Ignored rules:
# "E501" -> line length violation
lint.ignore = ["E501"]
lint.select = ["E", "F", "I", "W"]
[tool.ruff.lint.isort]
known-first-party = ["huggingface_hub"]
lines-after-imports = 2
[tool.tomlsort]
all = true
in_place = true
spaces_before_inline_comment = 2 # Match Python PEP 8
spaces_indent_inline_array = 4 # Match Python PEP 8
trailing_comma_inline_array = true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。