Instructions to use onnx-community/AFM-4.5B-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/AFM-4.5B-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'onnx-community/AFM-4.5B-ONNX');
File size: 142 Bytes
11872f6 | 1 2 3 4 5 6 7 | {
"_from_model_config": true,
"bos_token_id": 128000,
"eos_token_id": 128003,
"transformers_version": "4.53.3",
"use_cache": false
} |