spybyscript commited on
Commit
b1a6ebe
·
verified ·
1 Parent(s): 3f77bb5

Update v2 LiteRT duration and punctuation contract

Browse files
litert/assets/g2p/normalization.json CHANGED
@@ -36,5 +36,11 @@
36
  "length",
37
  "unicode_combining"
38
  ]
39
- }
 
 
 
 
 
 
40
  }
 
36
  "length",
37
  "unicode_combining"
38
  ]
39
+ },
40
+ "punctuation_token_remap": {
41
+ "<ellipsis>": "<sil>",
42
+ "<end_exclaim>": "<sil>",
43
+ "<end_question>": "<sil>"
44
+ },
45
+ "punctuation_token_remap_scope": "continuation_only"
46
  }
litert/litert/duration_predictor.tflite CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:eafb691ab4daea4cc578c2ca635d53390d667dd837296c40c08691c495246bfd
3
  size 8253652
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9714f1588286a84810c118242f0c3a4a2fa5486fb122fb7c50811c105c21b9f9
3
  size 8253652
litert/manifest.json CHANGED
@@ -623,6 +623,21 @@
623
  "calibrated_floors": false,
624
  "floor_table_ms": {}
625
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
626
  "text_normalizer": {
627
  "version": "scyllasband_spoken_text_v2_2026_08_05",
628
  "sha256": "d8fd1b2415d0d100d1c70237a4469117ee6b73d0e4da703e4654c83192779cc4",
 
623
  "calibrated_floors": false,
624
  "floor_table_ms": {}
625
  },
626
+ "word_boundaries": {
627
+ "enabled": true,
628
+ "schema": "scyllasband_word_boundary_runtime_v1",
629
+ "g2p_output_symbol": " ",
630
+ "duration_phone": "<sil>",
631
+ "presence_threshold_frames": 0.5,
632
+ "projection_schema": "scyllasband_word_boundary_candidates_v1",
633
+ "projection_source": "frozen_mfa_word_intervals",
634
+ "training_objective": {
635
+ "presence_loss_weight": 0.25,
636
+ "positive_duration_loss_weight": 1.0,
637
+ "positive_class_weight": 5.0,
638
+ "presence_logit_scale": 4.0
639
+ }
640
+ },
641
  "text_normalizer": {
642
  "version": "scyllasband_spoken_text_v2_2026_08_05",
643
  "sha256": "d8fd1b2415d0d100d1c70237a4469117ee6b73d0e4da703e4654c83192779cc4",