Instructions to use jonl521/modeling_simple with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jonl521/modeling_simple with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("jonl521/modeling_simple", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download .venv/lib/python3.14/site-packages/numpy/_utils/_pep440.pyi from jonl521/modeling_simple: direct link, hf CLI and curl.
- Browser
- Download file 3.85 kB
-
https://huggingface.co/jonl521/modeling_simple/resolve/main/.venv/lib/python3.14/site-packages/numpy/_utils/_pep440.pyi
- Command line
-
hf download hf://jonl521/modeling_simple/.venv/lib/python3.14/site-packages/numpy/_utils/_pep440.pyi
-
curl -L -o _pep440.pyi https://huggingface.co/jonl521/modeling_simple/resolve/main/.venv/lib/python3.14/site-packages/numpy/_utils/_pep440.pyi
3.85 kB
| import re | |
| from collections.abc import Callable | |
| from typing import ( | |
| Any, | |
| ClassVar, | |
| Final, | |
| Generic, | |
| Literal as L, | |
| NamedTuple, | |
| TypeVar, | |
| final, | |
| type_check_only, | |
| ) | |
| from typing_extensions import TypeIs | |
| __all__ = ["VERSION_PATTERN", "InvalidVersion", "LegacyVersion", "Version", "parse"] | |
| ### | |
| _CmpKeyT = TypeVar("_CmpKeyT", bound=tuple[object, ...]) | |
| _CmpKeyT_co = TypeVar("_CmpKeyT_co", bound=tuple[object, ...], default=tuple[Any, ...], covariant=True) | |
| ### | |
| VERSION_PATTERN: Final[str] = ... | |
| class InvalidVersion(ValueError): ... | |
| class _InfinityType: | |
| def __hash__(self) -> int: ... | |
| def __eq__(self, other: object, /) -> TypeIs[_InfinityType]: ... | |
| def __ne__(self, other: object, /) -> bool: ... | |
| def __lt__(self, other: object, /) -> L[False]: ... | |
| def __le__(self, other: object, /) -> L[False]: ... | |
| def __gt__(self, other: object, /) -> L[True]: ... | |
| def __ge__(self, other: object, /) -> L[True]: ... | |
| def __neg__(self) -> _NegativeInfinityType: ... | |
| Infinity: Final[_InfinityType] = ... | |
| class _NegativeInfinityType: | |
| def __hash__(self) -> int: ... | |
| def __eq__(self, other: object, /) -> TypeIs[_NegativeInfinityType]: ... | |
| def __ne__(self, other: object, /) -> bool: ... | |
| def __lt__(self, other: object, /) -> L[True]: ... | |
| def __le__(self, other: object, /) -> L[True]: ... | |
| def __gt__(self, other: object, /) -> L[False]: ... | |
| def __ge__(self, other: object, /) -> L[False]: ... | |
| def __neg__(self) -> _InfinityType: ... | |
| NegativeInfinity: Final[_NegativeInfinityType] = ... | |
| class _Version(NamedTuple): | |
| epoch: int | |
| release: tuple[int, ...] | |
| dev: tuple[str, int] | None | |
| pre: tuple[str, int] | None | |
| post: tuple[str, int] | None | |
| local: tuple[str | int, ...] | None | |
| class _BaseVersion(Generic[_CmpKeyT_co]): | |
| _key: _CmpKeyT_co | |
| def __hash__(self) -> int: ... | |
| def __eq__(self, other: _BaseVersion, /) -> bool: ... # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride] | |
| def __ne__(self, other: _BaseVersion, /) -> bool: ... # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride] | |
| def __lt__(self, other: _BaseVersion, /) -> bool: ... | |
| def __le__(self, other: _BaseVersion, /) -> bool: ... | |
| def __ge__(self, other: _BaseVersion, /) -> bool: ... | |
| def __gt__(self, other: _BaseVersion, /) -> bool: ... | |
| def _compare(self, /, other: _BaseVersion[_CmpKeyT], method: Callable[[_CmpKeyT_co, _CmpKeyT], bool]) -> bool: ... | |
| class LegacyVersion(_BaseVersion[tuple[L[-1], tuple[str, ...]]]): | |
| _version: Final[str] | |
| def __init__(self, /, version: str) -> None: ... | |
| def public(self) -> str: ... | |
| def base_version(self) -> str: ... | |
| def local(self) -> None: ... | |
| def is_prerelease(self) -> L[False]: ... | |
| def is_postrelease(self) -> L[False]: ... | |
| class Version( | |
| _BaseVersion[ | |
| tuple[ | |
| int, # epoch | |
| tuple[int, ...], # release | |
| tuple[str, int] | _InfinityType | _NegativeInfinityType, # pre | |
| tuple[str, int] | _NegativeInfinityType, # post | |
| tuple[str, int] | _InfinityType, # dev | |
| tuple[tuple[int, L[""]] | tuple[_NegativeInfinityType, str], ...] | _NegativeInfinityType, # local | |
| ], | |
| ], | |
| ): | |
| _regex: ClassVar[re.Pattern[str]] = ... | |
| _version: Final[str] | |
| def __init__(self, /, version: str) -> None: ... | |
| def public(self) -> str: ... | |
| def base_version(self) -> str: ... | |
| def local(self) -> str | None: ... | |
| def is_prerelease(self) -> bool: ... | |
| def is_postrelease(self) -> bool: ... | |
| # | |
| def parse(version: str) -> Version | LegacyVersion: ... | |