Thomas Hallock 6a2be93556 Fix CLAP embedding extraction for transformers 5.x
In transformers 5.x, ClapModel.get_audio_features() returns a
BaseModelOutputWithPooling instead of a raw tensor. The 512-dim
embedding is in .pooler_output[0], not directly indexed. Added
backward-compatible extraction with hasattr check.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 10:55:38 -06:00
2026-02-22 08:36:36 -06:00
2026-02-22 08:36:36 -06:00
2026-02-22 14:04:01 +00:00
2026-02-22 08:36:36 -06:00
2026-02-22 08:36:36 -06:00
2026-02-22 08:36:36 -06:00
2026-02-22 14:04:01 +00:00

haunt-fm

Personal music recommendation service — captures listening history, discovers similar tracks via Last.fm, embeds audio with CLAP, generates playlists

Description
Personal music recommendation service — captures listening history, discovers similar tracks via Last.fm, embeds audio with CLAP, generates playlists
Readme 235 KiB
Languages
Python 72.8%
HTML 26.5%
Mako 0.4%
Dockerfile 0.3%