Update README.md
Browse files
README.md
CHANGED
|
@@ -31,11 +31,11 @@ This is the `libri+peoples+sbc` checkpoint: the best-performing configuration fr
|
|
| 31 |
|
| 32 |
## Usage
|
| 33 |
|
| 34 |
-
The recommended way to use this model is via the [text2tobi CLI](https://github.com/
|
| 35 |
|
| 36 |
```bash
|
| 37 |
pip install torch transformers huggingface_hub
|
| 38 |
-
git clone https://github.com/
|
| 39 |
cd text2tobi
|
| 40 |
python -m text2tobi download
|
| 41 |
python -m text2tobi "the students filed into the lecture hall"
|
|
@@ -64,8 +64,8 @@ If you want to load the model without the CLI, include `model.py` from this repo
|
|
| 64 |
from model import ProsodyBoundaryModel
|
| 65 |
from transformers import AutoTokenizer
|
| 66 |
|
| 67 |
-
model = ProsodyBoundaryModel.from_pretrained("
|
| 68 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
| 69 |
model.eval()
|
| 70 |
```
|
| 71 |
|
|
|
|
| 31 |
|
| 32 |
## Usage
|
| 33 |
|
| 34 |
+
The recommended way to use this model is via the [text2tobi CLI](https://github.com/Howell-Prosody-Lab/Text2ToBI):
|
| 35 |
|
| 36 |
```bash
|
| 37 |
pip install torch transformers huggingface_hub
|
| 38 |
+
git clone https://github.com/Howell-Prosody-Lab/Text2ToBI
|
| 39 |
cd text2tobi
|
| 40 |
python -m text2tobi download
|
| 41 |
python -m text2tobi "the students filed into the lecture hall"
|
|
|
|
| 64 |
from model import ProsodyBoundaryModel
|
| 65 |
from transformers import AutoTokenizer
|
| 66 |
|
| 67 |
+
model = ProsodyBoundaryModel.from_pretrained("primsune/text2tobi")
|
| 68 |
+
tokenizer = AutoTokenizer.from_pretrained("primsune/text2tobi")
|
| 69 |
model.eval()
|
| 70 |
```
|
| 71 |
|