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/setuptools/compat/py312.py from jonl521/modeling_simple: direct link, hf CLI and curl.
- Browser
- Download file 366 Bytes
-
https://huggingface.co/jonl521/modeling_simple/resolve/main/.venv/lib/python3.14/site-packages/setuptools/compat/py312.py
- Command line
-
hf download hf://jonl521/modeling_simple/.venv/lib/python3.14/site-packages/setuptools/compat/py312.py
-
curl -L -o py312.py https://huggingface.co/jonl521/modeling_simple/resolve/main/.venv/lib/python3.14/site-packages/setuptools/compat/py312.py
366 Bytes
| from __future__ import annotations | |
| import sys | |
| if sys.version_info >= (3, 12, 4): | |
| # Python 3.13 should support `.pth` files encoded in UTF-8 | |
| # See discussion in https://github.com/python/cpython/issues/77102 | |
| PTH_ENCODING: str | None = "utf-8" | |
| else: | |
| from .py39 import LOCALE_ENCODING | |
| # PTH_ENCODING = "locale" | |
| PTH_ENCODING = LOCALE_ENCODING | |