Find every "uh", "um" and "hmm" in an audio file, down to 20ms. Uhm runs on device, does not require ASR, and is trained on English with acoustic transfer to Spanish, French, German, and Dutch.
uhm.mlmodelc/
is a compiled Core ML model directory. The Swift SDK downloads it with the Hugging Face Hub snapshot API, so only changed files are re-fetched on model updates.
The shipped model is a DistilHuBERT fine-tune, the smaller and more precise Uhm runtime model; the older HuBERT-base tier is no longer published.
Use
Python (ONNX)
from huggingface_hub import hf_hub_download
import onnxruntime as ort
path = hf_hub_download("desert-ant-labs/uhm", "uhm-web-fp16.onnx")
session = ort.InferenceSession(path, providers=["CPUExecutionProvider"])
Swift
import Uhm
let uhm =tryawaitUhm()
let result =tryawait uhm.analyze(audioURL: url)
for filler in result.fillers {
print(filler.start, filler.end, filler.confidence, filler.type ?? .other)
}
Inputs and outputs
Input:
16kHz mono audio, up to 30-second windows.
Output:
per-frame softmax over 6 classes, one prediction every 20ms.
uhm huggingface.co is an AI model on huggingface.co that provides uhm's model effect (), which can be used instantly with this desert-ant-labs uhm model. huggingface.co supports a free trial of the uhm model, and also provides paid use of the uhm. Support call uhm model through api, including Node.js, Python, http.
uhm huggingface.co is an online trial and call api platform, which integrates uhm's modeling effects, including api services, and provides a free online trial of uhm, you can try uhm online for free by clicking the link below.
desert-ant-labs uhm online free url in huggingface.co:
uhm is an open source model from GitHub that offers a free installation service, and any user can find uhm on GitHub to install. At the same time, huggingface.co provides the effect of uhm install, users can directly use uhm installed effect in huggingface.co for debugging and trial. It also supports api for free installation.