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: 335 Bytes
2216aae | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | import warnings
from .compilers.C import msvc
__all__ = ["MSVCCompiler"]
MSVCCompiler = msvc.Compiler
def __getattr__(name):
if name == '_get_vc_env':
warnings.warn(
"_get_vc_env is private; find an alternative (pypa/distutils#340)"
)
return msvc._get_vc_env
raise AttributeError(name)
|