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 hashes)
Built Distribution
Close
Hashes for telephone-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e40ddfdb40201a07e81a47ee148b5914e0f8ee54ee87078e605668ccb033e3ca |
|
MD5 | 158380e9eb6f4d69a667eaca3b1bb09a |
|
BLAKE2b-256 | 086d0392d86947dc323b32d420ef29af1b3e1d925bde478e65f060c753d5f7bd |