Document gender-conditioned inference
Browse files
README.md
CHANGED
|
@@ -8,14 +8,17 @@ tags:
|
|
| 8 |
- phonetics
|
| 9 |
- tts
|
| 10 |
- text-to-speech
|
|
|
|
| 11 |
pipeline_tag: text-to-speech
|
| 12 |
---
|
| 13 |
|
| 14 |
# ReNikud Plus
|
| 15 |
|
| 16 |
-
|
|
|
|
| 17 |
|
| 18 |
-
|
|
|
|
| 19 |
|
| 20 |
## Benchmark
|
| 21 |
|
|
@@ -29,14 +32,11 @@ hf download notmax123/RenikudPlus model.onnx --local-dir .
|
|
| 29 |
|
| 30 |
## Usage
|
| 31 |
|
| 32 |
-
Install the inference package from the [GitHub repository](https://github.com/maxmelichov/RenikudPlus), then run:
|
| 33 |
-
|
| 34 |
```python
|
| 35 |
from renikud_onnx import G2P
|
| 36 |
|
| 37 |
g2p = G2P("model.onnx")
|
| 38 |
-
print(g2p.phonemize("
|
| 39 |
-
# → ʃlˈom ʔolˈam
|
| 40 |
```
|
| 41 |
|
| 42 |
## Citation
|
|
|
|
| 8 |
- phonetics
|
| 9 |
- tts
|
| 10 |
- text-to-speech
|
| 11 |
+
- gender-conditioned
|
| 12 |
pipeline_tag: text-to-speech
|
| 13 |
---
|
| 14 |
|
| 15 |
# ReNikud Plus
|
| 16 |
|
| 17 |
+
Hebrew grapheme-to-phoneme (G2P) model that converts unvocalized text to IPA
|
| 18 |
+
for TTS, speech technology, and spoken-language research.
|
| 19 |
|
| 20 |
+
`model.onnx` is a self-contained, INT8 ONNX model. It accepts speaker controls:
|
| 21 |
+
`0` for unknown, `1` for male, and `2` for female.
|
| 22 |
|
| 23 |
## Benchmark
|
| 24 |
|
|
|
|
| 32 |
|
| 33 |
## Usage
|
| 34 |
|
|
|
|
|
|
|
| 35 |
```python
|
| 36 |
from renikud_onnx import G2P
|
| 37 |
|
| 38 |
g2p = G2P("model.onnx")
|
| 39 |
+
print(g2p.phonemize("היא רצה", speaker=2, target_speaker=2))
|
|
|
|
| 40 |
```
|
| 41 |
|
| 42 |
## Citation
|