Instructions to use mispeech/ced-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mispeech/ced-tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="mispeech/ced-tiny", trust_remote_code=True)# Load model directly from transformers import AutoModelForAudioClassification model = AutoModelForAudioClassification.from_pretrained("mispeech/ced-tiny", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
got error on huggingface api
#2
by ritm77 - opened
The checkpoint you are trying to load has model type ced but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.
You may want to reinstall hf_transformers_custom_model_ced: pip install -U git+https://github.com/jimbozhang/hf_transformers_custom_model_ced.git, where the version of Transformers is set as 4.35.2 in its pyproject.toml.