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/command/__init__.py from jonl521/modeling_simple: direct link, hf CLI and curl.
- Browser
- Download file 803 Bytes
-
https://huggingface.co/jonl521/modeling_simple/resolve/main/.venv/lib/python3.14/site-packages/setuptools/command/__init__.py
- Command line
-
hf download hf://jonl521/modeling_simple/.venv/lib/python3.14/site-packages/setuptools/command/__init__.py
-
curl -L -o __init__.py https://huggingface.co/jonl521/modeling_simple/resolve/main/.venv/lib/python3.14/site-packages/setuptools/command/__init__.py
803 Bytes
| # mypy: disable_error_code=call-overload | |
| # pyright: reportCallIssue=false, reportArgumentType=false | |
| # Can't disable on the exact line because distutils doesn't exists on Python 3.12 | |
| # and type-checkers aren't aware of distutils_hack, | |
| # causing distutils.command.bdist.bdist.format_commands to be Any. | |
| import sys | |
| from distutils.command.bdist import bdist | |
| if 'egg' not in bdist.format_commands: | |
| try: | |
| # format_commands is a dict in vendored distutils | |
| # It used to be a list in older (stdlib) distutils | |
| # We support both for backwards compatibility | |
| bdist.format_commands['egg'] = ('bdist_egg', "Python .egg file") | |
| except TypeError: | |
| bdist.format_command['egg'] = ('bdist_egg', "Python .egg file") | |
| bdist.format_commands.append('egg') | |
| del bdist, sys | |