Instructions to use onnx-community/glm-edge-1.5b-chat-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/glm-edge-1.5b-chat-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'onnx-community/glm-edge-1.5b-chat-ONNX');
| { | |
| "_from_model_config": true, | |
| "eos_token_id": [ | |
| 59246, | |
| 59253, | |
| 59255 | |
| ], | |
| "pad_token_id": 59246, | |
| "transformers_version": "4.49.0.dev0" | |
| } | |