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: 129 Bytes
291fd53 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:31699e522a95b79fcf13114f20ef996c0155ece44693323431591e4cef088555
size 6459
|