No project description provided
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
telephone-0.0.5.tar.gz
(16.0 kB
view details)
Built Distribution
File details
Details for the file telephone-0.0.5.tar.gz
.
File metadata
- Download URL: telephone-0.0.5.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e75fc8f4719bdf7c3999542383a13f28dae260cf357157adc08733efba0bbbe |
|
MD5 | 4220539f9f7945bf08c0f103a50f2d55 |
|
BLAKE2b-256 | ab440b6b73bc138278d91c3b6bf7016336e5376bd301ad7ec3c2923489fbcb81 |
File details
Details for the file telephone-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: telephone-0.0.5-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e40ddfdb40201a07e81a47ee148b5914e0f8ee54ee87078e605668ccb033e3ca |
|
MD5 | 158380e9eb6f4d69a667eaca3b1bb09a |
|
BLAKE2b-256 | 086d0392d86947dc323b32d420ef29af1b3e1d925bde478e65f060c753d5f7bd |