Instructions to use mixlayer/Kimi-K2.7-Code-0.7B-A0.4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mixlayer/Kimi-K2.7-Code-0.7B-A0.4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="mixlayer/Kimi-K2.7-Code-0.7B-A0.4B", trust_remote_code=True)# Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("mixlayer/Kimi-K2.7-Code-0.7B-A0.4B", trust_remote_code=True) model = AutoModel.from_pretrained("mixlayer/Kimi-K2.7-Code-0.7B-A0.4B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
b8b1172 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:b6c497a7469b33ced9c38afb1ad6e47f03f5e5dc05f15930799210ec050c5103
size 2795286
|