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');
File size: 213 Bytes
04a6c49 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | {
"_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"
}
|