Instructions to use maghrane/MiniCPM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use maghrane/MiniCPM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="maghrane/MiniCPM", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("maghrane/MiniCPM", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.safetensors from maghrane/MiniCPM: direct link, hf CLI and curl.
- Browser
- Download file 109 MB
-
https://huggingface.co/maghrane/MiniCPM/resolve/main/adapter_model.safetensors
- Command line
-
hf download hf://maghrane/MiniCPM/adapter_model.safetensors
-
curl -L -o adapter_model.safetensors https://huggingface.co/maghrane/MiniCPM/resolve/main/adapter_model.safetensors
109 MB
- Xet hash:
- b0cdb37349848628b21c07097ce44185dca270a2193f47569a03e07816e35421
- Size of remote file:
- 109 MB
- SHA256:
- c887772756b3dc3789d0c10e97c868dca52b9c1ff43d15c0ca9934a9e7314812
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.