Instructions to use Mike0021/MiniCPM5-2B-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Mike0021/MiniCPM5-2B-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'Mike0021/MiniCPM5-2B-ONNX');
Download generation_config.json from Mike0021/MiniCPM5-2B-ONNX: direct link, hf CLI and curl.
- Browser
- Download file 213 Bytes
-
https://huggingface.co/Mike0021/MiniCPM5-2B-ONNX/resolve/main/generation_config.json
- Command line
-
hf download hf://Mike0021/MiniCPM5-2B-ONNX/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/Mike0021/MiniCPM5-2B-ONNX/resolve/main/generation_config.json
213 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 0, | |
| "eos_token_id": [ | |
| 1, | |
| 130073 | |
| ], | |
| "pad_token_id": 1, | |
| "do_sample": true, | |
| "temperature": 1.0, | |
| "top_p": 0.95, | |
| "transformers_version": "5.6.2" | |
| } | |