Instructions to use akashiclibrary-dev/larger_clap_music with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use akashiclibrary-dev/larger_clap_music with Transformers.js:
// ⚠️ Unknown pipeline tag
YAML Metadata Warning:The pipeline tag "zero-shot-audio-classification" is not in the official list: text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, feature-extraction, text-generation, fill-mask, sentence-similarity, text-to-speech, text-to-audio, automatic-speech-recognition, audio-to-audio, audio-classification, audio-text-to-text, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, image-to-video, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-ranking, text-retrieval, time-series-forecasting, text-to-video, image-text-to-text, image-text-to-image, image-text-to-video, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, mask-generation, zero-shot-object-detection, text-to-3d, image-to-3d, image-feature-extraction, video-text-to-text, keypoint-detection, visual-document-retrieval, any-to-any, video-to-video, other
larger_clap_music (ONNX, for transformers.js)
A conversion of LAION's laion/larger_clap_music to ONNX, so it runs in transformers.js - used by Akashic Library's Listen.
onnx/text_model.onnx:ClapTextModelWithProjection(inputsinput_ids,attention_mask; outputtext_embeds)onnx/audio_model.onnx:ClapAudioModelWithProjection(inputinput_features; outputaudio_embeds)
Changes from the original: the weights are LAION's, unchanged (fp32). The model was split into its text and audio halves and exported to ONNX (opset 17) with PyTorch; nothing was retrained. The config, tokenizer and processor files are LAION's, re-saved.
Licence: Apache-2.0, as LAION's original (see LICENSE). The model is by LAION (CLAP; Wu, Chen et al., Large-scale Contrastive Language-Audio Pretraining with Feature Fusion and Keyword-to-Caption Augmentation, ICASSP 2023).
- Downloads last month
- 24
Model tree for akashiclibrary-dev/larger_clap_music
Base model
laion/larger_clap_music