Skip to main content

Telephone

usage

from telephone import Telephonemizer
from datasets import load_dataset

telephonemizer = Telephonemizer()

telephonemizer.convert_text("hello")

ds = load_dataset("patrickvonplaten/librispeech_asr_dummy", "clean", split="validation")
telephonemizer.convert_voice(ds[0]["audio"]["array"])

preprocess

bart

python data_preprocessing_bart.py --data ./example/example.txt --mask_tok "<extra_id_0>" --poisson_lam 20 --mask_prob 0.01  --output_name ./example/example_out_bart.csv

t5

python data_preprocessing_t5.py --data ./example/example.txt --poisson_lam 20 --mask_prob 0.15  --output_name ./example/example_out_t5.csv

Metadata

Release files for telephone 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for telephone 0.0.5
File Size Uploaded
telephone-0.0.5.tar.gz 16.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for telephone 0.0.5
File Interpreter ABI Platform
telephone-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 19.0 kB

Release files / telephone-0.0.5.tar.gz

Download URL telephone-0.0.5.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4e75fc8f4719bdf7c3999542383a13f28dae260cf357157adc08733efba0bbbe
BLAKE2b-256 checksum
How to use checksums
ab440b6b73bc138278d91c3b6bf7016336e5376bd301ad7ec3c2923489fbcb81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.8.9

Release files / telephone-0.0.5-py3-none-any.whl

Download URL telephone-0.0.5-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e40ddfdb40201a07e81a47ee148b5914e0f8ee54ee87078e605668ccb033e3ca
BLAKE2b-256 checksum
How to use checksums
086d0392d86947dc323b32d420ef29af1b3e1d925bde478e65f060c753d5f7bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.8.9

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.2

2 release files

0.0.1

2 release files

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