Instructions to use Core23/haki with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Core23/haki with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Core23/haki", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 452 Bytes
038270e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | """Entry point for launching an IPython kernel.
This is separate from the ipykernel package so we can avoid doing imports until
after removing the cwd from sys.path.
"""
import sys
if __name__ == "__main__":
# Remove the CWD from sys.path while we load stuff.
# This is added back by InteractiveShellApp.init_path()
if sys.path[0] == "":
del sys.path[0]
from ipykernel import kernelapp as app
app.launch_new_instance()
|