Show HN: BSE – Semantic Zip Engine for Text, Image and Audio

Show HN: BSE – Semantic Zip Engine for Text, Image and Audio

We constructed BSE (Bramble Semantic Engine) – a semantic compressor that transforms pure inputs into low-dimensional structured representations.

It’s designed as a preprocessing engine for LLMs, able to decreasing lengthy inputs into compact, logic-preserving kinds throughout:

1. Language

Extracts SVO (Subject, Verb, Object) construction

Captures modifiers: adjectives/adverbs

Restores pronouns from short-term reminiscence

Detects questions

Computes:

Compression Rate (%)

Semantic Loss (%)

Compares sentence compression outputs by way of SDC:

Subject-Subject, Verb-Verb, Object-Subject similarity

Sentence distance

2. Image

Crops and weights center-priority patches

Converts into 100×100 weighted matrices

Visualizes:

R, G, B Channels

Brightness

3. Audio

Decomposes audio into pitch & depth throughout frequency bands

Returns normalized 2D matrices

Visualized as grayscale spectro-patches

Live demo (Gradio):
https://huggingface.co/areas/Sibyl-V/BSE_demo

Feedback welcome on:

Compression logic

Use instances (LLM fine-tuning, retrieval, alignment)

Design of multi-modal construction output

Built in 48 hours by a solo dev & their black nine-tailed fox associate.
Let us know what you’d enhance — and what scares you.

HI-FI News

by way of Hacker News https://ift.tt/d4Iuscg

April 13, 2025 at 08:51AM