Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
T
Tidal
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • PLN
  • Tidal
  • Repository

Switch branch/tag
  • Tidal
  • armada
  • tide-table
  • sample_semantics.py
Find file
BlameHistoryPermalink
  • PLN (Algolia)'s avatar
    feat(semantics): validated CLAP vibe-search + live /vibe endpoint (#82,#86) · ac4643d0
    Katana-first finding: per-one-shot CLAP genre/mood tags are unreliable (every
    hit → boom-bap/euphoric — a 0.3s sound has no genre), but the audio EMBEDDINGS
    are gold for RELATIVE similarity. 'warm dusty rhodes' → suns_keys gold-keys +
    west-coast electric; 'jazzy upright bass' → no_sunshine/come_bass loops; a kick's
    nearest neighbours are other kicks (0.96 cross-folder). So we ship similarity,
    not fake absolute labels (Principle 1: trust the instrument).
    
    - sample_semantics.py validated on real audio; semantics_embeds.npz = 1490×512-d.
    - serve.py: lazy CLAP /vibe?q= (embed any phrase → rank) + /similar?name= (by
      audio-embed cosine). 503 if unbuilt, 400/404 on bad input; static serving
      untouched. Single-user LAN, torch loads once on first hit.
    PLN (Algolia) authored Jun 07, 2026
    ac4643d0
sample_semantics.py 9.71 KB
EditWeb IDE
×

Replace sample_semantics.py

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.