Feature Extraction
OpenCLIP
Safetensors
English
clap2
audio
clap
contrastive
audio-text-retrieval
zero-shot-audio-classification
Run this model with HF Jobs
Run laion/clap2-xxs-audioxl-s1B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/laion/clap2-xxs-audioxl-s1B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/laion/clap2-xxs-audioxl-s1B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use laion/clap2-xxs-audioxl-s1B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use laion/clap2-xxs-audioxl-s1B with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:laion/clap2-xxs-audioxl-s1B') tokenizer = open_clip.get_tokenizer('hf-hub:laion/clap2-xxs-audioxl-s1B') - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from laion/clap2-xxs-audioxl-s1B: direct link, hf CLI and curl.
- Browser
- Download file 3.56 MB
-
https://huggingface.co/laion/clap2-xxs-audioxl-s1B/resolve/main/tokenizer.json
- Command line
-
hf download hf://laion/clap2-xxs-audioxl-s1B/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/laion/clap2-xxs-audioxl-s1B/resolve/main/tokenizer.json
3.56 MB
File too large to display, you can check the raw version instead.