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
Download tokenizer.model from m-a-p/Kun-PrimaryChatModel: direct link, hf CLI and curl.
- Browser
- Download file 1.03 MB
-
https://huggingface.co/m-a-p/Kun-PrimaryChatModel/resolve/main/tokenizer.model
- Command line
-
hf download hf://m-a-p/Kun-PrimaryChatModel/tokenizer.model
-
curl -L -o tokenizer.model https://huggingface.co/m-a-p/Kun-PrimaryChatModel/resolve/main/tokenizer.model
1.03 MB
- Xet hash:
- 515fb3e0fe5f36cdd967a91eace081f39f379f869c95afff03a52be0fed5da6a
- Size of remote file:
- 1.03 MB
- SHA256:
- 386c49cf943d71aa110361135338c50e38beeff0a66593480421f37b319e1a39
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.