AI SeedbankHelp preserve open and free AI for humanity's future

← All models

laion_larger_clap_general

laion · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: 1 · Leechers: 0

Observed 2026-09-02T13:56:39Z via announce.aitorrent.org:7070.

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


license: apache-2.0

Model

TL;DR

CLAP is to audio what CLIP is to image. This is an improved CLAP checkpoint, specifically trained on general audio, music and speech.

Description

CLAP (Contrastive Language-Audio Pretraining) is a neural network trained on a variety of (audio, text) pairs. It can be instructed in to predict the most relevant text snippet, given an audio, without directly optimizing for the task. The CLAP model uses a SWINTransformer to get audio features from a log-Mel spectrogram input, and a RoBERTa model to get text features. Both the text and audio features are then projected to a latent space with identical dimension. The dot product between the projected audio and text features is then used as a similar score.

Usage

You can use this model for zero shot audio classification or extracting audio and/or textual features.

Uses

Perform zero-shot audio classification

Using pipeline

from datasets import load_dataset
from transformers import pipeline

dataset = load_dataset("ashraq/esc50")
audio = dataset["train"]["audio"][-1]["array"]

audio_classifier = pipeline(task="zero-shot-audio-classification", model="laion/larger_clap_general")
output = audio_classifier(audio, candidate_labels=["Sound of a dog", "Sound of vaccum cleaner"])
print(output)
>>> [{"score": 0.999, "label": "Sound of a dog"}, {"score": 0.001, "label": "Sound of vaccum cleaner"}]

Run the model:

You can also get the audio and text embeddings using ClapModel

Run the model on CPU:

from datasets import load_dataset
from transformers import ClapModel, ClapProcessor

librispeech_dummy = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
audio_sample = librispeech_dummy[0]

model = ClapModel.from_pretrained("laion/larger_clap_general")
processor = ClapProcessor.from_pretrained("laion/larger_clap_general")

inputs = processor(audios=audio_sample["audio"]["array"], return_tensors="pt")
audio_embed = model.get_audio_features(**inputs)

Run the model on GPU:

from datasets import load_dataset
from transformers import ClapModel, ClapProcessor

librispeech_dummy = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
audio_sample = librispeech_dummy[0]

model = ClapModel.from_pretrained("laion/larger_clap_general").to(0)
processor = ClapProcessor.from_pretrained("laion/larger_clap_general")

inputs = processor(audios=audio_sample["audio"]["array"], return_tensors="pt").to(0)
audio_embed = model.get_audio_features(**inputs)

Citation

If you are using this model for your work, please consider citing the original paper:

@misc{https://doi.org/10.48550/arxiv.2211.06687,
  doi = {10.48550/ARXIV.2211.06687},
  url = {https://arxiv.org/abs/2211.06687},
  author = {Wu, Yusong and Chen, Ke and Zhang, Tianyu and Hui, Yuchen and Berg-Kirkpatrick, Taylor and Dubnov, Shlomo},
  keywords = {Sound (cs.SD), Audio and Speech Processing (eess.AS), FOS: Computer and information sciences, FOS: Computer and information sciences, FOS: Electrical engineering, electronic engineering, information engineering, FOS: Electrical engineering, electronic engineering, information engineering},
  title = {Large-scale Contrastive Language-Audio Pretraining with Feature Fusion and Keyword-to-Caption Augmentation},
  publisher = {arXiv},
  year = {2022},
  copyright = {Creative Commons Attribution 4.0 International}
}

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:98a0b9c512be3938f9bb2d150d83dd1df063a1bb&dn=laion_larger_clap_general

Open magnet in torrent client · infohash 98a0b9c512be3938f9bb2d150d83dd1df063a1bb

Files & hashes

PathSizesha1sha256
README.md3.4 KB (3,493 B)fdc4e1ca8840a7fb382da623efb599d20df37f5bfa3c15ecc9a6753f06a51205a0ca5213ae7be96a962ed9b2b1c970aea3b3c56e
config.json643 B (643 B)19cd0d27ed9aa01b7154b32270a02f251b08d1206268f76a067e3104bf9001e97d7dcc0fcfb16f3086cfb478ee72d95900d7fc1d
merges.txt445.6 KB (456,318 B)226b0752cac7789c48f0cb3ec53eda48b7be36cc1ce1664773c50f3e0cc8842619a93edc4624525b728b188a9e0be33b7726adc5
preprocessor_config.json541 B (541 B)e8636819eeb1b19f1e5b6f572eca1a101144062e9739f58296aa6f9ac18008fd0150fb2649bc554985fbde86d0a4041c882ac753
pytorch_model.bin740.5 MB (776,444,665 B)754da7ebe3cf50c7569cdedab451dfe8ab7d010f314eb00cce6ad68d25237b8446b659ccdb136ed4672c1bca470f142f72455026
special_tokens_map.json280 B (280 B)d5698132694f4f1bcff08fa7d937b1701812598e06e405a36dfe4b9604f484f6a1e619af1a7f7d09e34a8555eb0b77b66318067f
tokenizer.json2.0 MB (2,108,774 B)15cffb1a334cf27ccef68b0b6e2bc6f74f1be219dc239041d98de27ffc3975473a1a23e3db4c937b23c138c38bbc66588bd247e5
tokenizer_config.json1.3 KB (1,362 B)6e172a6edd7cb77400dc898b7a2d4d7cc0dbd75de2eb445cfdbf4711de620cbdf10478b0423950799e85652d9f28da47066ab86d
vocab.json779.6 KB (798,293 B)4ebe4bb3f3114daf2e4cc349f24873a1175a35d7ed19656ea1707df69134c4af35c8ceda2cc9860bf2c3495026153a133670ab5e

Cite this release

Canonical URL
https://aiseedbank.org/models/laion_larger_clap_general/
Slug
laion_larger_clap_general
Infohash
98a0b9c512be3938f9bb2d150d83dd1df063a1bb
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: laion_larger_clap_general.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorylaion/larger_clap_general
Revision (pinned)ada0c23a36c4e8582805bb38fec3905903f18b41
Fetched at2026-09-02T04:38:20Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-02T04:38:29Z

apache-2.0743.7 MB (779,814,369 bytes)transformerspytorchclapfeature-extractionendpoints_compatiblepaper: 2211.06687