Instructions to use m-a-p/Kun-PrimaryChatModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use m-a-p/Kun-PrimaryChatModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="m-a-p/Kun-PrimaryChatModel", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("m-a-p/Kun-PrimaryChatModel", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
d945aef | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:386c49cf943d71aa110361135338c50e38beeff0a66593480421f37b319e1a39
size 1033105
|