mispeech / ced-base

huggingface.co
Total runs: 20.8K
24-hour runs: 47
7-day runs: -5.6K
30-day runs: -4.5K
Model's Last Updated: March 30 2026
audio-classification

Introduction of ced-base

Model Details of ced-base

CED-Base 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-base"
>>> 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-base on huggingface.co

20.8K
Total runs
47
24-hour runs
-3.6K
3-day runs
-5.6K
7-day runs
-4.5K
30-day runs

More Information About ced-base huggingface.co Model

More ced-base license Visit here:

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

ced-base huggingface.co

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

mispeech ced-base online free

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

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

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

ced-base install

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

ced-base install url in huggingface.co:

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

Url of ced-base

ced-base huggingface.co Url

Provider of ced-base huggingface.co

mispeech
ORGANIZATIONS

Other API from mispeech

huggingface.co

Total runs: 5.0K
Run Growth: -2.3K
Growth Rate: -45.25%
Updated:March 19 2026
huggingface.co

Total runs: 4.5K
Run Growth: -2.4K
Growth Rate: -52.54%
Updated:March 30 2026
huggingface.co

Total runs: 4.3K
Run Growth: 28
Growth Rate: 0.65%
Updated:March 30 2026
huggingface.co

Total runs: 1.9K
Run Growth: -1.6K
Growth Rate: -83.25%
Updated:March 30 2026
huggingface.co

Total runs: 333
Run Growth: -490
Growth Rate: -147.15%
Updated:March 26 2026
huggingface.co

Total runs: 73
Run Growth: -17
Growth Rate: -23.29%
Updated:March 29 2025