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: 149 Bytes
b8b1172 | 1 2 3 4 5 6 7 8 9 | {
"do_sample": true,
"eos_token_id": 163586,
"max_length": 262144,
"temperature": 1.0,
"top_p": 0.95,
"transformers_version": "5.14.1"
}
|