Instructions to use Xenova/whisper-medium.en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/whisper-medium.en with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('automatic-speech-recognition', 'Xenova/whisper-medium.en');
Upload quant_config.json
Browse files1 unmodified line2345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788891 unmodified line"per_channel": false,"reduce_range": false,"per_model_config": {"encoder_model": {"op_types": ["ReduceMean","Sqrt","Reshape","Mul","Transpose","Shape","Gather","Sub","Add","Pow","Conv","Constant","MatMul","Erf","Concat","Unsqueeze","Softmax","Div"],"weight_type": "QUInt8"},"decoder_model": {"op_types": ["Shape","Range","Expand","Sub","Sqrt","Reshape","Gather","Transpose","Add","Pow","Constant","Concat","ReduceMean","Mul","Equal","MatMul","Less","Where","Slice","Squeeze","Cast","Erf","ConstantOfShape","Unsqueeze","Softmax","Div"],"weight_type": "QInt8"},"decoder_model_merged": {"op_types": ["If"],"weight_type": "QInt8"},"decoder_with_past_model": {"op_types": ["ReduceMean","Sqrt","Reshape","Gather","Mul","Shape","Transpose","Add","Pow","Constant","MatMul","Softmax","Div","Erf","Concat","Unsqueeze","Slice","Sub"],"weight_type": "QInt8"}}}1 unmodified line234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151 unmodified line"per_channel": false,"reduce_range": false,"per_model_config": {"decoder_model": {"op_types": ["Div","Concat","Gather","Less","ReduceMean","MatMul","Erf","Add","Expand","Sub","ConstantOfShape","Range","Sqrt","Slice","Squeeze","Cast","Equal","Where","Constant","Pow","Softmax","Shape","Reshape","Mul","Transpose","Unsqueeze"],"weight_type": "QInt8"},"decoder_model_merged": {"op_types": ["Div","Gather","Concat","Less","ReduceMean","MatMul","Erf","Add","Expand","Sub","ConstantOfShape","Range","Sqrt","Slice","Squeeze","Cast","Equal","Where","If","Constant","Pow","Softmax","Shape","Reshape","Mul","Transpose","Unsqueeze"],"weight_type": "QInt8"},"decoder_with_past_model": {"op_types": ["Div","Concat","Gather","Constant","Pow","Sub","Mul","Transpose","Add","MatMul","Softmax","Sqrt","Slice","Shape","Reshape","ReduceMean","Erf","Unsqueeze"],"weight_type": "QInt8"},"encoder_model": {"op_types": ["Div","Gather","Concat","Constant","Pow","Sub","Unsqueeze","Mul","Conv","Transpose","MatMul","Softmax","Sqrt","Shape","Reshape","ReduceMean","Erf","Add"],"weight_type": "QUInt8"}}}
quant_config.json+76-50