Codec-bpe

Latest version: v1.1.2

Safety actively analyzes 688600 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.1.2

- Fix for exclusive upper bound on `max_token_length` parameter to BpeTrainer. This parameter is set when passing the `--max_token_codebook_ngrams` argument in `codec_bpe.train_tokenizer`

1.1.1

- codec_framerate parameter should accept floats to support codecs with a non-integer framerate (e.g., Mimi, 12.5 Hz)

1.1.0

- Added support for Kyutai Lab's [Mimi codec](https://huggingface.co/kyutai/mimi), an amazing new codec with a 12.5 Hz framerate! Simply add `--use_mimi` when encoding audio with `codec_bpe.audio_to_codes` to encode using the Mimi model.
**Note:** Until Mimi is included in a stable release of HuggingFace Transformers, you need to install Transformers from source:
bash
pip install git+https://github.com/huggingface/transformers.gitmain

1.0.1

- Fix default output path in the `codec_bpe.audio_to_codes` tool

1.0.0

First release of codec-bpe!

- Installable using `pip`
- All tools runnable as submodules, e.g., `python -m codec_bpe.train_tokenizer ...`
- Improved usage examples

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.