Ratchada Utils are Python package use with Ratchada Whisper model utilities.
Project description
Ratchada_Util
A Python library for the Ratchada Whisper model.
Installation
You can install ratchada_utils
using pip:
pip install ratchada_utils
To install from source, clone the repository and run:
pip install .
Usage
Tokenizing Text
from ratchada_utils.processor import tokenize_text
text = "Your input text here."
tokenized_text = tokenize_text(text, pred=True)
print("Tokenized Text:", tokenized_text)
# Tokenized Text: ['your', 'input', 'text', 'here']
Requirements
- Python 3.10 or higher
- The Requirements are located in
requirements.txt
License
This project is licensed under the MIT License - see the LICENSE
file for details.
Contact
Please made contact on the official repository of this project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ratchada_utils-2.1.7.tar.gz
(24.8 kB
view details)
Built Distribution
File details
Details for the file ratchada_utils-2.1.7.tar.gz
.
File metadata
- Download URL: ratchada_utils-2.1.7.tar.gz
- Upload date:
- Size: 24.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b9c4af84ac1c982fa3d3a3ae343a2a2bdbf86cdc5a821c9d1b679062ed75799 |
|
MD5 | 6d291e6fec00369db1b7a6ae86c63436 |
|
BLAKE2b-256 | a04564f78c610c8224466b19730ce4330311c70816829ea0c7038b713b2063c0 |
File details
Details for the file ratchada_utils-2.1.7-py3-none-any.whl
.
File metadata
- Download URL: ratchada_utils-2.1.7-py3-none-any.whl
- Upload date:
- Size: 24.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cdebbfe0339bb2c77ea3e67ef359cbfaaa3ba89e8c1b76d53bff069cae569e2 |
|
MD5 | b8fd46db6541e92a974134af38629b9a |
|
BLAKE2b-256 | ecdf74d0ad177b54e1c56e0187e4ba8dd64d4997b7dc7b92bd1f7a935d354b62 |