/ Модель

Характеристики

Лицензия
Своя лицензия
Библиотека
pytorch
Опубликована
18 ноя 2026

pitput

Синтез речиТекст → аудио3 профессии

Компактная CPU-модель синтезирует ивритскую речь женским голосом с несколькими стилями подачи.

130скачиваний за 30 дней3лайкавеса обновлены24 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Синтез речи» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели сгенерируют результат по каждой задаче. Опубликованный тест появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

pitput — небольшая модель синтеза речи на иврите, созданная как личный учебный проект и опубликованная под именем useless-ai. Это дообученная с нуля модель семейства tiny-voca: архитектура в стиле FastSpeech2 с дифференцируемым source-filter-вокодером. Веса содержат около 5 млн параметров и занимают 20 МБ; модель рассчитана на работу на CPU и синтезирует монофонический звук с частотой 24 кГц быстрее реального времени на ноутбуке.

Модель преобразует обычный текст на иврите без огласовок в речь женским голосом. Доступны восемь стилей подачи и восемь тегов выражения; длинный текст обрабатывается по предложениям. Для дат, аббревиатур и специальных форматов требуется заранее записать произносимые слова на иврите. Модель обучена на синтетической речи одного голоса, а не на записях людей.

Авторы описывают ограничения в произношении неоднозначных слов, стабильности некоторых стилей и интонации: мелодика может быть недостаточно разнообразной, а акцент иногда приходится не на то слово. Поддерживается только один женский голос, и просодия не переносится между предложениями. Лицензия указана как other, поэтому условия использования следует сверить с файлами репозитория.

Сценарии применения

  • озвучивание обычного текста на иврите
  • создание озвучки для новостных и информационных текстов на иврите
  • синтез коротких реплик и диалогов с эмоциональными тегами
  • локальная генерация речи на CPU для прототипов и учебных проектов

Ограничения

Модель обучена на синтетической речи одного женского голоса; интонация и акценты могут быть нестабильными, а стиль fearful работает слабее остальных. Для дат и аббревиатур требуется текст в произносимой форме на иврите; просодия между предложениями не переносится.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

pitput

pitput (פִּטְפּוּט) is a Hebrew take on tiny-voca: a tiny TTS model built to run on a CPU. The whole model, vocoder included, is only 20 MB (5.0M parameters). It outputs 24 kHz mono and runs faster than real time on a laptop CPU. It reads plain Hebrew without niqqud, in one voice with 8 delivery styles and 8 expression tags (<laugh>, <sigh>, <short pause> …).

It is a personal learning project, trained from scratch on synthetic speech. Try it in the browser on the Space.

Samples

The listening texts, synthesized with the default settings (the model's own playback: word codes at 0.5, melody at 0.3, pitch range 1.2, seed 0).

StyleTextAudio
defaultלפי נתוני הלשכה המרכזית לסטטיסטיקה, אוכלוסיית ישראל גדלה בשנה האחרונה בכמאה ושמונים אלף איש.
default, addressee fמה שלומך? שמעתי שלא הרגשת טוב בשבוע שעבר.
defaultהרכבת לחיפה יוצאת בשבע ועשרים ומגיעה בשמונה וחצי, <chuckle> אם היא בכלל תגיע.
excited<laugh> אני לא מאמינה, קיבלנו את הדירה!
sad<sigh> חיכיתי לו כל הערב, והוא פשוט לא הגיע.
angry, addressee mכמה פעמים אמרתי לך לסגור את הדלת?!
fearfulשמעת את זה? <gasp> יש מישהו בחוץ.
surprisedרגע, <short pause> הוא באמת התפטר? אחרי עשרים שנה?
calm<breath> קחו נשימה עמוקה, <long pause> ותנו לגוף להירגע לאט לאט.
whisperבוא נדבר בשקט, כולם כבר ישנים.

Usage

git clone https://huggingface.co/useless-ai/pitput
cd pitput
pip install -r requirements.txt        # PyTorch, numpy, soundfile

python -m pitput.infer --style excited --text "<laugh> אני לא מאמינה, קיבלנו את הדירה!" --output out.wav
python -m pitput.infer --style default --addressee f --text "מה שלומך? שמעתי שלא הרגשת טוב." --output hello.wav

The phonemizer (about 40 MB) is included. Options:

OptionMeaning
--styledefault, excited, sad, angry, fearful, surprised, calm, whisper
--addressee m / fGender of the person spoken to (לך, אותך, אמרת …). Without it, the sentence decides: a name, a form of address or the story is enough
--temperatureHow freely the delivery is drawn. Omitted, the model uses its own playback (word codes at 0.5, melody at 0.3). 0 is the most likely delivery; higher is livelier and less predictable; above ~1 it starts to break up
--seedAnother seed gives another delivery of the same text (default 0). If a laugh or chuckle comes out weak, try another seed
--text-fileRead the text from a UTF-8 file instead of --text
--speed1.0 = as trained; 0.9 is 10% slower
--pitch-shiftAdded to log F0 (0.058 ≈ one semitone)
--pitch-rangeScales the melody around each sentence's mean pitch (default: the model's own, 1.2)
--devicecpu (default) or cuda

From Python:

import soundfile as sf
from pitput.infer import CHECKPOINT, load_model, speak_text

model = load_model(CHECKPOINT)  # inference.pt next to the package
wave, utterances = speak_text(model, "שלום, <sigh> מה שלומך?", "calm", addressee="f", seed=0)
sf.write("out.wav", wave.numpy(), model.config.sample_rate)

Passing temperature=0.55 plays the way v2 did, with one temperature for both the word codes and the melody.

What the input must look like

  • Plain Hebrew in spoken form. There is no text normalizer for dates and acronyms: write those out in Hebrew words (בשבע ועשרים, not 7:20). A digit string is read as a number. Characters it can't read are skipped.
  • No niqqud needed. The phonemizer reads each sentence in context and adds stress. A pointed letter is followed; an unpointed letter is still predicted from the sentence.
  • Tags go where the sound should be, in English inside the Hebrew: <laugh>, <chuckle>, <sigh>, <breath>, <gasp>, <throat-clearing>, <short pause>, <long pause>.
  • Fillers אהמ and אממ are read "emm", הממ as a hum, אהה as a long "a".
  • Punctuation shapes the delivery (, . ? ! …). Long texts are read sentence by sentence.
  • The voice is a woman's, including first person (בודקת, not בודק).

Model

A fork of fiato, itself a fork of tiny-voca: a FastSpeech2-style model with a built-in differentiable source-filter vocoder, so there is no separate neural vocoder.

  • Input: 47 tokens: 29 phonemes, 5 punctuation marks, word boundary, utterance edges and the 8 expression tags. Stress is a parallel feature, not a token.
  • Text encoder: 4 transformer layers, 192 channels, with the style embedding added to every token.
  • Word delivery codes: each word or tag gets one of 32 learned delivery codes, chosen by a small recurrent planner from the text, the style and the previous codes. A sound tag's code comes from a table of the codes that gave full, audible renderings of that tag.
  • Timing: a token-level flow (flow matching, 2 layers) draws every token's length and whether a pause follows it, for the whole sentence at once.
  • Frame level: the style embedding is added again; a frame-level flow (2 layers) draws the pitch, voicing and energy contour, and 5 transformer layers predict the acoustic features.
  • Vocoder: a harmonic pulse train, on voiced frames only, plus noise shaped by 64 cepstral coefficients per frame.
  • Size: 4,991,888 parameters at inference (20 MB checkpoint); the weights are a moving average over training. Training also uses parameters that are not in the checkpoint (discriminators, a reference encoder for the delivery codes, an auxiliary mel head).

Training data

The dataset is synthetic only, with no recorded human speech: about 91,600 clips (180 h) of one synthetic voice, of which 86,438 training clips (173 h) passed forced alignment. 160 held-out sentences (20 per style) were kept for validation and 160 for test.

  • Text: Hebrew sentences from news (archive, HeSum, RSS), HeDC4 web text and stories, Hebrew Wikipedia, ivrit.ai transcripts and LLM-written scenes, among them emotional, dialogue-heavy scenes written for the expressive styles and sounds, plus short lines with hesitation fillers.

  • Spoken form: an LLM rewrote numbers, dates, money, acronyms and Latin script as Hebrew words, and every answer was checked by code.

  • Addressee gender: an LLM decided the gender of ambiguous second-person words (לך, אותך, אמרת) in context. The audio follows that decision. Where the decided words of a sentence agree, the phonemes use that listener; otherwise the phonemizer decides from the sentence.

  • Styles: an LLM picked a style for each dialogue sentence and inserted the tags; calm and whisper were assigned to plain statements, and some expressive sentences were recorded in a second style. Each style was rendered with one fixed delivery instruction; default is a bright, friendly delivery.

    StyleAligned training clips
    default54,318
    calm5,438
    whisper4,867
    surprised4,638
    angry4,556
    excited4,533
    sad4,120
    fearful3,968

    Tags in the aligned clips (at most 2 per clip): breath 4,008, short pause 3,277, long pause 2,704, chuckle 2,236, laugh 2,161, gasp 2,103, sigh 2,005, throat-clearing 1,101.

  • Labels: phonemes from the phonemizer in this repository, with stress and the tags at their positions. Durations come from forced alignment with facebook/wav2vec2-lv-60-espeak-cv-ft, which is used only for labeling and is not part of the model. A tag owns the sound up to the neighbouring phonemes.

Limitations

  • Laughs and chuckles vary. Some draws are full and some are thin; another --seed usually helps. <breath> and <sigh> are quieter than speech, as they are in the data.
  • Melody and emphasis: the melody is less varied than the recordings, and the emphasis of a sentence sometimes lands on the wrong word. A tag does not reliably change the tone of the words after it.
  • Temperature trades life for stability: the default playback is the steadier one. Above ~1, words can be mispronounced and the sound can break.
  • Fearful is the weakest style: more of its clips failed alignment than the other styles.
  • Pronunciation follows the bundled phonemizer. בין and בית are read with ej (bˈejn, bˈejt). With no listener and no cue in the sentence, "ראית את הסרט החדש, מיכל?" is read as masculine; --addressee f fixes it.
  • The speaker is a woman. First person follows that (בודקת). There is no men's voice.
  • One voice only. Sentences are synthesized independently, with no prosody carried between them.

License

  • Code (pitput/): Apache License 2.0. It is a fork of fiato by cfahlgren1 and tiny-voca by Muhammed Nazeem, both Apache-2.0; see NOTICE, LICENSE and LICENSE.tiny-voca.
  • Phonemizer (phonemizer/, code and weights): Apache License 2.0. renikud_onnx.py is from RenikudPlus by notmax123, Apache-2.0; see phonemizer/NOTICE.
  • TTS weights and audio samples are not licensed for redistribution or any commercial use.

Files

FileContents
inference.ptWeights, model configuration and front-end fingerprint (loaded with weights_only=True)
pitput/Inference code: infer.py (command line and speak_text), model.py, text.py (phoneme tokens), read.py (Hebrew to a label)
phonemizer/The pronunciation model: phonemizer.py, model.safetensors (40 MB), config.json
samples/The audio above
config.json, recipe.jsonModel and training settings of this version
requirements.txtPython dependencies
NOTICE, LICENSE, LICENSE.tiny-vocaAttribution and license of the code

Acknowledgements

tiny-voca for the architecture and training recipe, fiato for expression tags on it, RenikudPlus for the phonemizer's per-letter distributions, decoder and number reading, and the Hebrew text sources: HeDC4, HeSum, Hebrew Wikipedia and ivrit.ai.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · pytorch

Можно запустить

Подбираем GPU…

Ревизия весов
f709514

0 моделей