Instructions to use OpenVoiceOS/dolphin-small-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ESPnet
How to use OpenVoiceOS/dolphin-small-onnx with ESPnet:
from espnet2.bin.asr_inference import Speech2Text model = Speech2Text.from_pretrained( "OpenVoiceOS/dolphin-small-onnx" ) speech, rate = soundfile.read("speech.wav") text, *_ = model(speech)[0] - Notebooks
- Google Colab
- Kaggle
File size: 2,165 Bytes
7200c95 9e4775f 7200c95 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | {
"model_type": "espnet-aed",
"preprocessor": "identity",
"subsampling_factor": 4,
"max_sequence_length": 200,
"sos_token": "<sos>",
"eos_token": "<eos>",
"prompt_tokens": [
"{language}",
"{region}",
"<asr>",
"<notimestamp>"
],
"languages": [
"zh-CN",
"zh-TW",
"zh-WU",
"zh-SICHUAN",
"zh-SHANXI",
"zh-ANHUI",
"zh-TIANJIN",
"zh-NINGXIA",
"zh-SHAANXI",
"zh-HEBEI",
"zh-SHANDONG",
"zh-GUANGDONG",
"zh-SHANGHAI",
"zh-HUBEI",
"zh-LIAONING",
"zh-GANSU",
"zh-FUJIAN",
"zh-HUNAN",
"zh-HENAN",
"zh-YUNNAN",
"zh-MINNAN",
"zh-WENZHOU",
"ja-JP",
"th-TH",
"ru-RU",
"ko-KR",
"id-ID",
"vi-VN",
"ct-NULL",
"ct-HK",
"ct-GZ",
"hi-IN",
"ur-IN",
"ur-PK",
"ms-MY",
"uz-UZ",
"ar-MA",
"ar-GLA",
"ar-SA",
"ar-EG",
"ar-KW",
"ar-LY",
"ar-JO",
"ar-AE",
"ar-LVT",
"fa-IR",
"bn-BD",
"ta-SG",
"ta-LK",
"ta-IN",
"ta-MY",
"te-IN",
"ug-NULL",
"ug-CN",
"gu-IN",
"my-MM",
"tl-PH",
"kk-KZ",
"or-IN",
"ne-NP",
"mn-MN",
"km-KH",
"jv-ID",
"lo-LA",
"si-LK",
"fil-PH",
"ps-AF",
"pa-IN",
"kab-NULL",
"ba-NULL",
"ks-IN",
"tg-TJ",
"su-ID",
"mr-IN",
"ky-KG",
"az-AZ"
],
"language_aliases": {
"zh": "zh-CN",
"ja": "ja-JP",
"th": "th-TH",
"ru": "ru-RU",
"ko": "ko-KR",
"id": "id-ID",
"vi": "vi-VN",
"ct": "ct-NULL",
"hi": "hi-IN",
"ur": "ur-IN",
"ms": "ms-MY",
"uz": "uz-UZ",
"ar": "ar-MA",
"fa": "fa-IR",
"bn": "bn-BD",
"ta": "ta-SG",
"te": "te-IN",
"ug": "ug-NULL",
"gu": "gu-IN",
"my": "my-MM",
"tl": "tl-PH",
"kk": "kk-KZ",
"or": "or-IN",
"ne": "ne-NP",
"mn": "mn-MN",
"km": "km-KH",
"jv": "jv-ID",
"lo": "lo-LA",
"si": "si-LK",
"fil": "fil-PH",
"ps": "ps-AF",
"pa": "pa-IN",
"kab": "kab-NULL",
"ba": "ba-NULL",
"ks": "ks-IN",
"tg": "tg-TJ",
"su": "su-ID",
"mr": "mr-IN",
"ky": "ky-KG",
"az": "az-AZ"
}
} |