Skip to content

A TTS that fits in your CPU (and pocket)

Python
1.5 KB
Raw Blame
weights_path: hf://kyutai/pocket-tts/languages/italian/model.safetensors@3e82814a68665eec246ff649b14c71331f955c06
weights_path_without_voice_cloning: hf://kyutai/pocket-tts-without-voice-cloning/languages/italian/model.safetensors@1e08e6a23401048648a9fdcfde2f89348215c2a7

replace_characters:
  '"': ''
  '“': ''
  '”': ''
  '„': ''
  '«': ''
  '»': ''
  '’': ''''
  '‘': ''''
  '(': ''
  ')': ''
  '[': ''
  ']': ''
  '–': ','

flow_lm:
  insert_bos_before_voice: true
  dtype: float32
  flow:
    depth: 6
    dim: 512
  transformer:
    d_model: 1024
    hidden_scale: 4
    max_period: 10000
    num_heads: 16
    num_layers: 6
  lookup_table:
    dim: 1024
    n_bins: 4000
    tokenizer: tokenizers
    tokenizer_path: hf://kyutai/pocket-tts-without-voice-cloning/languages/italian/tokenizer.json@4e1e0a3e611c51c0b4ed8174fc10f32a54644303
  #weights_path: partial.safetensors

mimi:
  dtype: float32
  sample_rate: 24000
  inner_dim: 32
  outer_dim: 512
  channels: 1
  frame_rate: 12.5
  seanet:
    dimension: 512
    channels: 1
    n_filters: 64
    n_residual_layers: 1
    ratios:
    - 6
    - 5
    - 4
    kernel_size: 7
    residual_kernel_size: 3
    last_kernel_size: 3
    dilation_base: 2
    pad_mode: constant
    compress: 2
  transformer:
    d_model: 512
    num_heads: 8
    num_layers: 2
    layer_scale: 0.01
    context: 250
    dim_feedforward: 2048
    input_dimension: 512
    output_dimensions:
    - 512
  quantizer:
    dimension: 32
    output_dimension: 512
  #weights_path: codec.safetensors