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
File size: 524 Bytes
2216aae | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | from .compat.numpy import ( # noqa: F401
_default_compilers,
compiler_class,
)
from .compilers.C import base
from .compilers.C.base import (
gen_lib_options,
gen_preprocess_options,
get_default_compiler,
new_compiler,
show_compilers,
)
from .compilers.C.errors import CompileError, LinkError
__all__ = [
'CompileError',
'LinkError',
'gen_lib_options',
'gen_preprocess_options',
'get_default_compiler',
'new_compiler',
'show_compilers',
]
CCompiler = base.Compiler
|