Arc family · hear
arc-transcriber
A streaming transcript with the tags written inline: names linked to your own list, numbers turned into values, speakers, intents and sound events, every 100 ms.
In → out
In
- 16 kHz audio, from a file or live
- Your list of names
- Context: terms, a topic, earlier text
Out
- Transcript with inline tags and word times
- Names linked to your list; numbers with values
- Speakers, intents and acts, device-directed speech
- Sound and channel events
[ 2.40- 7.00] S1: [Marcus Delaney](name: Marcus Delaney) brings the ball up the floor fourth quarter, [three minutes](duration: 180 s) left.
[ 15.40- 19.40] S1: That puts the Harbor City Hawks ahead, [102 to 98.](score: 102-98)Three ways to run it
Hybrid
RecommendedRun Arc's heads on the device for tags, events and end of turn as the person speaks, and merge in words from a cloud recogniser or your own arc-serve. libarc streams in exactly that mode, and the schema is the same on both sides.
Edge
libarc: one C11 header, no Python, no network. Mac, Linux, Raspberry Pi 5 and Android arm64. On a Pi 5 the heads-only stream runs at 0.26 real time in 66 MB. iOS and Windows builds are coming.
Cloud
arc-serve, a C server in a distroless Docker image: POST /v1/audio/transcriptions in the standard transcription shape plus Arc's fields, WS /v1/realtime, health and model routes. You build and run it today; a Whissle-hosted endpoint is coming.
As a container Available
deploy/Dockerfile builds one amd64 + arm64 image (about 0.6 MB binary, weights mounted or bundled). Adapters for SageMaker, Snowflake and Hugging Face endpoints are in the repo.
Quickstart
Python
# pip install git+https://github.com/WhissleAI/arc_transcriber
from arc_audio import Arc
arc = Arc.from_pretrained("WhissleAI/arc-v1.1", backbone="mini", device="cpu", threads=4)
names = ["Marcus Delaney", {"name": "Harbor City Hawks", "kind": "team"}]
out = arc.predict("game.wav", domain="nba", names=names, events="default")CLI
arc-transcribe meeting.wav # Arc Mini, text with inline tags
arc-transcribe game.wav --domain nba --names roster.txt # link names to your list
arc-transcribe --mic --domain talk # live from the microphoneC (libarc)
#include "arc.h"
char err[512];
arc_engine* e = arc_create("arc-v1.1/mini", 4, err, sizeof err);
arc_options o = {.domain = "nba", .trunk = 1, .events = 1, .names = 1, .numbers = 1};
arc_result* r = arc_transcribe(e, pcm, n, &o); /* 16 kHz mono float */
arc_result_free(r);
arc_destroy(e);Container
# in a clone of arc_transcriber, with the arc-v1.1 mini folder downloaded
docker buildx build -f deploy/Dockerfile --target runtime -t arc-transcriber:0.1.0 .
docker run -p 8080:8080 -v "$PWD/arc-v1.1/mini:/opt/arc/model:ro" arc-transcriber:0.1.0
curl -s localhost:8080/v1/audio/transcriptions \
-F file=@examples/example_synth.wav -F domain=nba -F response_format=verbose_jsonCopied from the repository's README; the README is the reference.
More in the Arc family
Tags any text or word stream: entities, numbers, PII, intent, safety, end of command.
text or a word stream → JSON tags
Timed sound events (crash, horn, siren, glass) with start, end and score.
PCM → event timeline
Puts several audio and event feeds on one clock and emits fused events.
N audio + event feeds → one aligned event stream
Licence
Code and weights are CC BY-NC 4.0 plus the Whissle terms: free for research, evaluation and personal projects. Using it in a product, a hosted service or for business needs a commercial licence.
Talk to us about a commercial licenceRuns on
- macOS
- Linux x86-64 / arm64
- Raspberry Pi 5
- Android arm64
- Docker (amd64, arm64)