Model
ankit/nemotron-3.5-asr-streaming-0.6b
- Task:Automatic Speech Recognition
- Libraries:nemotransformers
- Formats:safetensors
- Languages:ArabicBulgarianCzechDanishGermanGreek+26
- arXiv:arXiv:2312.17279arXiv:2305.05084
Dedicated endpoint
Sign in to deployInference Providers
This hub serves this model on demand.
Try itSpaces
Create a Space with this modelUse this model
Choose individual files there, or download a full snapshot with the Python example below.
Download with the whiteduck client
pip install https://provyd.xyz/clients/whiteduck-0.1.0-py3-none-any.whl
wd login --host 'https://api.provyd.xyz'
wd download 'ankit/nemotron-3.5-asr-streaming-0.6b'Using the Hugging Face client instead
Install huggingface_hub with pip install huggingface_hub, then download this pinned snapshot. Set HF_TOKEN (the variable the Hugging Face client reads) to a whiteduck Read token for private repositories. Running the downloaded model requires software that supports its architecture.
Keep your whiteduck token away from calls that ignore HF_ENDPOINT, such as list_inference_endpoints: they send it to Hugging Face. See Docs.
from huggingface_hub import snapshot_download
import os
path = snapshot_download(
repo_id='ankit/nemotron-3.5-asr-streaming-0.6b',
revision='8b4a6b28684f9b3a5fe3bddca6654b48e6766334',
endpoint='https://api.provyd.xyz',
token=os.environ.get("HF_TOKEN") or False,
)Load with transformers
import os
os.environ["HF_ENDPOINT"] = 'https://api.provyd.xyz'
from transformers import AutoModel, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained('ankit/nemotron-3.5-asr-streaming-0.6b')
model = AutoModel.from_pretrained('ankit/nemotron-3.5-asr-streaming-0.6b')Use with local apps
This hub is self-hosted, so each command points the tool at it. Add a whiteduck access token as HF_TOKEN (the variable the Hugging Face client reads) for private repositories.
vLLM
# vLLM downloads through huggingface_hub, which honours HF_ENDPOINT; set HF_TOKEN for a private repository.
HF_ENDPOINT='https://api.provyd.xyz' vllm serve 'ankit/nemotron-3.5-asr-streaming-0.6b'Clone with git
git clone 'https://api.provyd.xyz/ankit/nemotron-3.5-asr-streaming-0.6b'Clone with git over SSH
git clone 'ssh://git@wd.provyd.xyz:2222/ankit/nemotron-3.5-asr-streaming-0.6b'Needs an SSH key on your account. Add an SSH key
Use the API
Read repository metadata at this commit. Set HF_TOKEN (the variable the Hugging Face client reads) to a whiteduck Read token. Tokens grant account-level access, not access to just this model.
curl 'https://api.provyd.xyz/api/models/ankit/nemotron-3.5-asr-streaming-0.6b/revision/8b4a6b28684f9b3a5fe3bddca6654b48e6766334' \
-H "Authorization: Bearer $HF_TOKEN"Inference is separate from file storage. The owner must configure and start a supported model using the inference controls. To call it you need a model API key (made on the model page), or a token of any scope (Read or stronger) from the model owner. Visitors can use the try box only when the owner allows it. A token cannot enable unavailable GPU hardware.
Blame for processor_config.json at 8b4a6b2
| Line | Commit | Author | Date | Code |
|---|---|---|---|---|
| 1 | Copy of nvidia/nemotron-3.5-asr-streaming-0.6b (Transformers files; .nemo and .gguf omitted)8b4a6b2 | ankit | { | |
| 2 | "blank_token": "<blank>", | |||
| 3 | "default_num_lookahead_tokens": 3, | |||
| 4 | "feature_extractor": { | |||
| 5 | "feature_extractor_type": "NemotronAsrStreamingFeatureExtractor", | |||
| 6 | "feature_size": 128, | |||
| 7 | "hop_length": 160, | |||
| 8 | "n_fft": 512, | |||
| 9 | "padding_side": "right", | |||
| 10 | "padding_value": 0.0, | |||
| 11 | "preemphasis": 0.97, | |||
| 12 | "return_attention_mask": true, | |||
| 13 | "sampling_rate": 16000, | |||
| 14 | "win_length": 400 | |||
| 15 | }, | |||
| 16 | "num_prompts": 128, | |||
| 17 | "processor_class": "Nemotron3_5AsrProcessor", | |||
| 18 | "prompt_dictionary": { | |||
| 19 | "af-ZA": 54, | |||
| 20 | "am-ET": 49, | |||
| 21 | "ar": 7, | |||
| 22 | "ar-AR": 7, | |||
| 23 | "auto": 101, | |||
| 24 | "ay-BO": 81, | |||
| 25 | "az-AZ": 66, | |||
| 26 | "bg": 30, | |||
| 27 | "bg-BG": 30, | |||
| 28 | "bn-IN": 36, | |||
| 29 | "cs": 22, | |||
| 30 | "cs-CZ": 22, | |||
| 31 | "da": 25, | |||
| 32 | "da-DK": 25, | |||
| 33 | "de": 9, | |||
| 34 | "de-DE": 9, | |||
| 35 | "el": 21, | |||
| 36 | "el-GR": 21, | |||
| 37 | "en": 0, | |||
| 38 | "en-GB": 1, | |||
| 39 | "en-US": 0, | |||
| 40 | "enGB": 1, | |||
| 41 | "es": 3, | |||
| 42 | "es-ES": 2, | |||
| 43 | "es-US": 3, | |||
| 44 | "esES": 2, | |||
| 45 | "et": 60, | |||
| 46 | "et-EE": 60, | |||
| 47 | "fa-IR": 38, | |||
| 48 | "fi": 26, | |||
| 49 | "fi-FI": 26, | |||
| 50 | "fr": 8, | |||
| 51 | "fr-CA": 100, | |||
| 52 | "fr-FR": 8, | |||
| 53 | "gn-PY": 82, | |||
| 54 | "gu-IN": 42, | |||
| 55 | "ha-NG": 50, | |||
| 56 | "haw-US": 97, | |||
| 57 | "he-IL": 64, | |||
| 58 | "hi": 6, | |||
| 59 | "hi-HI": 6, | |||
| 60 | "hi-IN": 6, | |||
| 61 | "hr": 29, | |||
| 62 | "hr-HR": 29, | |||
| 63 | "hu": 23, | |||
| 64 | "hu-HU": 23, | |||
| 65 | "hy-AM": 68, | |||
| 66 | "id-ID": 34, | |||
| 67 | "ig-NG": 53, | |||
| 68 | "it": 15, | |||
| 69 | "it-IT": 15, | |||
| 70 | "ja-JA": 10, | |||
| 71 | "ja-JP": 10, | |||
| 72 | "ka-GE": 67, | |||
| 73 | "km-KH": 47, | |||
| 74 | "kn-IN": 43, | |||
| 75 | "ko": 14, | |||
| 76 | "ko-KO": 14, | |||
| 77 | "ko-KR": 14, | |||
| 78 | "ku-TR": 65, | |||
| 79 | "ky-KG": 71, | |||
| 80 | "ln-CD": 58, | |||
| 81 | "lt": 31, | |||
| 82 | "lt-LT": 31, | |||
| 83 | "lv": 61, | |||
| 84 | "lv-LV": 61, | |||
| 85 | "mi-NZ": 96, | |||
| 86 | "ml-IN": 44, | |||
| 87 | "mr-IN": 41, | |||
| 88 | "ms-MY": 35, | |||
| 89 | "mt-MT": 102, | |||
| 90 | "nah-MX": 83, | |||
| 91 | "nb": 103, | |||
| 92 | "nb-NO": 103, | |||
| 93 | "ne-NP": 46, | |||
| 94 | "nl": 16, | |||
| 95 | "nl-NL": 16, | |||
| 96 | "nn": 104, | |||
| 97 | "nn-NO": 104, | |||
| 98 | "no": 27, | |||
| 99 | "no-NO": 27, | |||
| 100 | "ny-MW": 57, | |||
| 101 | "or-KE": 59, | |||
| 102 | "pl": 17, | |||
| 103 | "pl-PL": 17, | |||
| 104 | "pt": 13, | |||
| 105 | "pt-BR": 12, | |||
| 106 | "pt-PT": 13, | |||
| 107 | "qu-PE": 80, | |||
| 108 | "ro": 20, | |||
| 109 | "ro-RO": 20, | |||
| 110 | "ru": 11, | |||
| 111 | "ru-RU": 11, | |||
| 112 | "rw-RW": 55, | |||
| 113 | "si-LK": 45, | |||
| 114 | "sk": 28, | |||
| 115 | "sk-SK": 28, | |||
| 116 | "sl": 62, | |||
| 117 | "sl-SI": 62, | |||
| 118 | "sm-WS": 98, | |||
| 119 | "so-SO": 56, | |||
| 120 | "sv": 24, | |||
| 121 | "sv-SE": 24, | |||
| 122 | "sw-KE": 48, | |||
| 123 | "ta-IN": 39, | |||
| 124 | "te-IN": 40, | |||
| 125 | "tg-TJ": 70, | |||
| 126 | "th-TH": 32, | |||
| 127 | "to-TO": 99, | |||
| 128 | "tr": 18, | |||
| 129 | "tr-TR": 18, | |||
| 130 | "uk": 19, | |||
| 131 | "uk-UA": 19, | |||
| 132 | "ur-PK": 37, | |||
| 133 | "uz-UZ": 69, | |||
| 134 | "vi-VN": 33, | |||
| 135 | "yo-NG": 52, | |||
| 136 | "zh-CN": 4, | |||
| 137 | "zh-TW": 5, | |||
| 138 | "zh-ZH": 4, | |||
| 139 | "zu-ZA": 51 | |||
| 140 | }, | |||
| 141 | "supported_num_lookahead_tokens": [ | |||
| 142 | 3, | |||
| 143 | 0, | |||
| 144 | 6, | |||
| 145 | 13 | |||
| 146 | ] | |||
| 147 | } |