Skip to main content

masked_prosody_model

PyPI version Python Version License: MIT Tests codecov

Model on HF

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)

Source distribution for masked-prosody-model 0.3.0
File Size Uploaded Provenance Actions
masked_prosody_model-0.3.0.tar.gz 242.8 kB Without provenance Details for masked_prosody_model-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for masked-prosody-model 0.3.0
File Interpreter ABI Platform Actions
masked_prosody_model-0.3.0-py3-none-any.whl Python 3 none any Details for masked_prosody_model-0.3.0-py3-none-any.whl

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

Security for masked-prosody-model 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page