mispeech / ced-small

huggingface.co
Total runs: 226
24-hour runs: 0
7-day runs: -102
30-day runs: -168
Model's Last Updated: March 30 2026
audio-classification

Introduction of ced-small

Model Details of ced-small

CED-Small Model

CED are simple ViT-Transformer-based models for audio tagging. Notable differences from other available models include:

  1. Simplification for finetuning: Batchnormalization of Mel-Spectrograms. During finetuning one does not need to first compute mean/variance over the dataset, which is common for AST.
  2. Support for variable length inputs. Most other models use a static time-frequency position embedding, which hinders the model's generalization to segments shorter than 10s. Many previous transformers simply pad their input to 10s in order to avoid the performance impact, which in turn slows down training/inference drastically.
  3. Training/Inference speedup: 64-dimensional mel-filterbanks and 16x16 patches without overlap, leading to 248 patches from a 10s spectrogram. In comparison, AST uses 128 mel-filterbanks with 16x16 (10x10 overlap) convolution, leading to 1212 patches during training/inference. CED-Tiny runs on a common CPU as fast as a comparable MobileNetV3.
  4. Performance: CED with 10M parameters outperforms the majority of previous approaches (~80M).
Model Sources
Install
pip install git+https://github.com/jimbozhang/hf_transformers_custom_model_ced.git
Inference
>>> from ced_model.feature_extraction_ced import CedFeatureExtractor
>>> from ced_model.modeling_ced import CedForAudioClassification

>>> model_name = "mispeech/ced-small"
>>> feature_extractor = CedFeatureExtractor.from_pretrained(model_name)
>>> model = CedForAudioClassification.from_pretrained(model_name)

>>> import torchaudio
>>> audio, sampling_rate = torchaudio.load("resources/JeD5V5aaaoI_931_932.wav")
>>> assert sampling_rate == 16000
>>> inputs = feature_extractor(audio, sampling_rate=sampling_rate, return_tensors="pt")

>>> import torch
>>> with torch.no_grad():
...     logits = model(**inputs).logits

>>> predicted_class_id = torch.argmax(logits, dim=-1).item()
>>> model.config.id2label[predicted_class_id]
'Finger snapping'
Fine-tuning

example_finetune_esc50.ipynb demonstrates how to train a linear head on the ESC-50 dataset with the CED encoder frozen.

Runs of mispeech ced-small on huggingface.co

226
Total runs
0
24-hour runs
35
3-day runs
-102
7-day runs
-168
30-day runs

More Information About ced-small huggingface.co Model

More ced-small license Visit here:

https://choosealicense.com/licenses/apache-2.0

ced-small huggingface.co

ced-small huggingface.co is an AI model on huggingface.co that provides ced-small's model effect (), which can be used instantly with this mispeech ced-small model. huggingface.co supports a free trial of the ced-small model, and also provides paid use of the ced-small. Support call ced-small model through api, including Node.js, Python, http.

mispeech ced-small online free

ced-small huggingface.co is an online trial and call api platform, which integrates ced-small's modeling effects, including api services, and provides a free online trial of ced-small, you can try ced-small online for free by clicking the link below.

mispeech ced-small online free url in huggingface.co:

https://huggingface.co/mispeech/ced-small

ced-small install

ced-small is an open source model from GitHub that offers a free installation service, and any user can find ced-small on GitHub to install. At the same time, huggingface.co provides the effect of ced-small install, users can directly use ced-small installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

ced-small install url in huggingface.co:

https://huggingface.co/mispeech/ced-small

Url of ced-small

ced-small huggingface.co Url

Provider of ced-small huggingface.co

mispeech
ORGANIZATIONS

Other API from mispeech

huggingface.co

Total runs: 11.0K
Run Growth: 7.2K
Growth Rate: 66.19%
Updated:March 30 2026
huggingface.co

Total runs: 5.7K
Run Growth: 5.1K
Growth Rate: 94.60%
Updated:March 30 2026
huggingface.co

Total runs: 1.2K
Run Growth: -1.3K
Growth Rate: -105.80%
Updated:March 19 2026
huggingface.co

Total runs: 505
Run Growth: -682
Growth Rate: -135.86%
Updated:March 30 2026
huggingface.co

Total runs: 301
Run Growth: 238
Growth Rate: 85.00%
Updated:March 26 2026
huggingface.co

Total runs: 105
Run Growth: -110
Growth Rate: -152.78%
Updated:March 29 2025