Instructions to use onnx-community/ultravox-v0_5-llama-3_2-1b-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/ultravox-v0_5-llama-3_2-1b-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('audio-text-to-text', 'onnx-community/ultravox-v0_5-llama-3_2-1b-ONNX');
Create processor_config.json
Browse files- processor_config.json +8 -0
processor_config.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"audio_context_size": 3000,
|
| 3 |
+
"audio_padding": "longest",
|
| 4 |
+
"audio_placeholder": "<|audio|>",
|
| 5 |
+
"encoder_ds_factor": 320,
|
| 6 |
+
"processor_class": "UltravoxProcessor",
|
| 7 |
+
"stack_factor": 8
|
| 8 |
+
}
|