masked_prosody_model
A transformer-based model for prosody prediction with masked inputs. This model processes pitch, energy, and voice activity detection features to predict prosodic patterns in speech.
Installation
pip install masked_prosody_model
Note: torch and torchaudio need to be installed separately.
Usage
from masked_prosody_model import MaskedProsodyModel
# Load the pretrained model
model = MaskedProsodyModel.from_pretrained("cdminix/masked_prosody_model")
# Process an audio file and get representations
representation = model.process_audio("some_audio.wav", layer=7) # layer between 0 and 15, 7 was used in the paper
Acknowledgments
This model was trained using Cloud TPUs supplied by Google's TPU Research Cloud (TRC). We thank them for their support.
Metadata
Release files for masked-prosody-model 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| masked_prosody_model-0.3.0.tar.gz | 242.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| masked_prosody_model-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 250.1 kB
Release files / masked_prosody_model-0.3.0.tar.gz
| Download URL | masked_prosody_model-0.3.0.tar.gz |
|---|---|
| Size | 242.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88bc65e60e887291864804f02ddde5e4e159eb43272bbc91649726cc732b2f4d
|
|
BLAKE2b-256 checksum How to use checksums |
ad1f61bfe4938aefc2932ef9780e8ca5ddf5b89043b67a5274336a87c99135b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / masked_prosody_model-0.3.0-py3-none-any.whl
| Download URL | masked_prosody_model-0.3.0-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba353f75978712b51e9b8e11dd7a188aa99b97c03bf3cae62dcf9f9cb7af7411
|
|
BLAKE2b-256 checksum How to use checksums |
03a707308e5fed3398e64e36027f11ded10b5d56426172826a8853cf0e36ad15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|