Skip to content
Projekte

Über uns

Streaming ASR, audio captioning and speech QA over a whisper-style encoder with pluggable LLM backends

Kreativität und Medien

So werden diese Zahlen gemessen

What you can do

  • Whisper-style encoder — log-mel spectrogram, conv frontend, pre-norm transformer, CTC head. Sized by a small EncoderConfig.
  • Streaming ASR — feed audio in any block size; overlapping chunks are decoded and merged into a growing transcript.
  • Audio captioning — transcript + acoustic statistics into an LLM backend.
  • Speech QA — ask a question about spoken content.

Gemessener Sternzuwachs

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

auricle

CI Python License: MIT Code style: ruff

Streaming speech understanding toolkit: ASR, audio captioning and speech question answering on top of a whisper-style audio encoder with pluggable LLM backends.

auricle implements the architecture and tooling — a from-scratch whisper-style encoder, chunked streaming, caption/QA pipelines, an evaluation suite and a CLI. Models are randomly initialised by default; point load_checkpoint at trained weights to get real transcripts.

Features

  • Whisper-style encoder — log-mel spectrogram, conv frontend, pre-norm transformer, CTC head. Sized by a small EncoderConfig.
  • Streaming ASR — feed audio in any block size; overlapping chunks are decoded and merged into a growing transcript.
  • Audio captioning — transcript + acoustic statistics into an LLM backend.
  • Speech QA — ask a question about spoken content.
  • Pluggable LLM backends — echo (deterministic), OpenAI-compatible HTTP, optional HuggingFace. Register your own with a decorator.
  • Evaluation suite — WER/CER, JSONL manifests, an aggregate report.
  • CLI — auricle transcribe | stream | caption | ask | eval.

Quickstart

pip install -e ".[dev]"

# offline transcription (tiny random model)
auricle transcribe tests/fixtures/tone_1s.wav

# streaming
auricle stream tests/fixtures/sweep_2s.wav --chunk-seconds 1 --overlap-seconds 0.25

# caption + QA with the deterministic echo backend
auricle caption tests/fixtures/tone_1s.wav --backend echo
auricle ask tests/fixtures/tone_1s.wav --question "what is this?"

# evaluate against a manifest
auricle eval manifest.jsonl --root data/ --out report.json

Python:

from auricle import AuricleModel, transcribe, StreamingASR

model = AuricleModel.tiny()
print(transcribe(model, "audio.wav"))

Documentation

A note on models

auricle ships architecture and tooling, not pretrained weights. Out of the box, AuricleModel.tiny() is randomly initialised, so transcripts are nonsense — the pipelines, streaming, and evaluation are still fully functional and tested. Load your own trained checkpoint with load_checkpoint to get real results.

Development

pip install -e ".[dev]"
pre-commit install
pytest
ruff check . && ruff format --check .

License

MIT

Ähnliche Projekte entdecken

Wird geladen…