Run this model with HF Jobs

Run jahnaviym/crate-clap-lora 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/jahnaviym/crate-clap-lora. 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/jahnaviym/crate-clap-lora 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.

Configuration Parsing Warning:In adapter_config.json: "peft.task_type" must be a string

Crate β€” CLAP LoRA for producer vocabulary

LoRA adapter over laion/clap-htsat-unfused fine-tuned so producer terms base CLAP barely knows β€” boom-bap, tape-saturated, rimshot, reese bass β€” pull the right audio. Part of Crate, sound-native search for music producers (hum / drop a track / describe it β†’ one embedding space).

Results β€” producer-vocab retrieval (held-out)

metric base CLAP fine-tuned
recall@1 0.210 0.405
recall@10 0.746 0.951
recall@5 0.580 0.868

Usage

from transformers import ClapModel, ClapProcessor
from peft import PeftModel

base = "laion/clap-htsat-unfused"
model = PeftModel.from_pretrained(ClapModel.from_pretrained(base), "jahnaviym/crate-clap-lora").merge_and_unload()
proc = ClapProcessor.from_pretrained(base)
# proc(text=[...]) / proc(audios=[...], sampling_rate=48000) β†’ get_text/audio_features

Training

  • Symmetric InfoNCE on (audio, text) pairs from Freesound (CC0/CC-BY) + free packs.
  • LoRA on the audio/text projection heads (r=16, alpha=32).
  • Label-preserving augmentation (pitch/stretch/noise/EQ) for positive pairs.

See the repo for the full pipeline and eval.

Downloads last month
7
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for jahnaviym/crate-clap-lora

Adapter
(1)
this model