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/sympy/codegen/tests/test_pyutils.py from jonl521/modeling_simple: direct link, hf CLI and curl.
- Browser
- Download file 299 Bytes
-
https://huggingface.co/jonl521/modeling_simple/resolve/main/.venv/lib/python3.14/site-packages/sympy/codegen/tests/test_pyutils.py
- Command line
-
hf download hf://jonl521/modeling_simple/.venv/lib/python3.14/site-packages/sympy/codegen/tests/test_pyutils.py
-
curl -L -o test_pyutils.py https://huggingface.co/jonl521/modeling_simple/resolve/main/.venv/lib/python3.14/site-packages/sympy/codegen/tests/test_pyutils.py
299 Bytes
| from sympy.codegen.ast import Print | |
| from sympy.codegen.pyutils import render_as_module | |
| def test_standard(): | |
| ast = Print('x y'.split(), r"coordinate: %12.5g %12.5g\n") | |
| assert render_as_module(ast, standard='python3') == \ | |
| '\n\nprint("coordinate: %12.5g %12.5g\\n" % (x, y), end="")' | |