Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 8 min read Announcement mediumAdept

Voice Cloning with Consent

A "voice consent gate" lets a voice-cloning TTS model run only after the speaker reads aloud a freshly generated consent sentence and an ASR system confirms the match. A language model produces a unique pair of sentences each session: one explicit consent statement naming the model, and one phonetically diverse neutral sentence. Because some cloning models need only a single sentence, the consent recording doubles as the cloning input. Live microphone capture and novel sentences reduce replay of old recordings, but the gate is not foolproof, since another TTS system could synthesize the consent phrase. Audio provenance checks and speaker-embedding similarity are suggested as future hardening, and modular demo code is provided as a Hugging Face Space.

Related posts

  • Open TTS Leaderboard: Scalable Evaluation for Multilingual Text-to-Speech and Voice Cloning

    Hugging Face mediumAdept

    Hugging Face's Open TTS Leaderboard ranks open-source text-to-speech models with objective metrics, so a model can be evaluated in a few hours rather than the weeks needed to collect arena votes. Intelligibility is measured as WER/CER from Qwen3 ASR transcripts on Seed TTS Eval and CV3 Eval. Speed is measured as batched RTFx and batch-size-1 time-to-first-audio on an H200 and on CPU, and voice cloning as WavLM speaker-embedding cosine similarity. Multilingual toggles show that English rankings don't carry over to other languages, and Pareto plots trade accuracy against speed and model size. A Listen tab lets users compare and vote on outputs, and the eval scripts are open-sourced.

  • Building strong safety evaluations

    Anthropic Engineering mediumAdept

    Safety evals underpin deployment and safeguard decisions, so Anthropic applies lessons from psychology's replication crisis to building them: preregistration, construct validity, rigorous statistics and full documentation. Refusal rate is often the wrong construct. Anthropic instead measures an appropriate response rate against domain-expert rubrics, where one bad turn fails the whole conversation, and pairs harmful prompts with benign ones to catch over-refusal. Multi-turn simulations are generated from expert-written specs, with a Claude model playing the user across varied personas and tactics and a grader model scoring each transcript. Evals that give models internet access should run sandboxed and monitored in real time.

  • Constitutional AI with Open LLMs

    Hugging Face hardMaster

    An end-to-end recipe applies Anthropic's Constitutional AI to open models: Mistral-7B-Instruct critiques and revises its own responses to red-teaming prompts from Anthropic's HH dataset according to a set of written principles. The revisions become an SFT dataset and preference pairs for DPO, each built from a 50/50 split of the ~42.6k harmless-base examples. Small models need few-shot demonstrations, careful system prompts and post-processing to produce clean critiques and revisions. Generation at scale runs on llm-swarm, a new tool that launches TGI or vLLM endpoints on Slurm via sbatch, load-balances them with nginx using least connections, and tears them down when the job ends. The released datasets and models include a variant with a constitution written to mimic xAI's Grok.

  • Mr. Bones: A Pirate-Voiced Halloween Chatbot Powered by Docker Model Runner

    Docker mediumAdept

    A Home Depot animatronic skeleton becomes a pirate-voiced Halloween chatbot. A Raspberry Pi 5 captures speech and transcribes it with Vosk, then sends it to LLaMA 3.1 8B (Q4) served by Docker Model Runner on a gaming PC with an RTX 5070. ElevenLabs Flash speaks the reply, and Bluetooth audio drives the skeleton's jaw. The local model cut response time from about 4.5s with the ChatGPT API to 1.5s, and chunking the LLM output to the TTS service reduced perceived lag. A detailed system prompt keeps answers in character, kid-safe and short, and the post notes the remaining weak spots: dependence on the network and the multi-tier setup.

  • Introducing AnySpeechRecognizer and AnyDecisionModel: Open Models for Speech and Decisions on Apple Platforms

    Hugging Face mediumAdept

    AnySpeechRecognizer mirrors Apple's SpeechAnalyzer API but lets apps swap in other engines (NVIDIA Parakeet v3/Ultra/Unified and Alibaba Qwen3-ASR on Core ML) and adds Sortformer-based speaker diarization for up to four speakers. On an M4 Max, Parakeet variants reached 1.4–2.8% WER on LibriSpeech files versus 2.1–4.0% for Apple's transcriber, transcribing an hour of audio in 20–40 seconds with about 100 MB of memory. AnyDecisionModel answers yes/no, multiple-choice and rating questions as typed Swift results with probabilities, read from one-token label probabilities or trained decision heads like Cloudflare's Clef. It supports MLX, Core AI, llama.cpp, Jev and Ollama backends, with calibration, rotation debiasing and entropy-based confidence.

The quest for software engineering knowledge.

Look:
Layout: