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_util
using pip:
pip install ratchada_util
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-1.0.6.tar.gz
(11.7 kB
view details)
Built Distribution
File details
Details for the file ratchada_utils-1.0.6.tar.gz
.
File metadata
- Download URL: ratchada_utils-1.0.6.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a144081e4c6fa8b0e678fd889f05657466740da254eb149caef04c5da429b17 |
|
MD5 | 271cb4d48c5155a76c14674b34999dcf |
|
BLAKE2b-256 | a2766d5c61efb30a7d1354e759e4ebcc0df99a2de844a47230633c46104e17ef |
File details
Details for the file ratchada_utils-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: ratchada_utils-1.0.6-py3-none-any.whl
- Upload date:
- Size: 10.6 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 | eed8771b5d013f4f9648ae4543ced36eb3d4ee584edff8db4404c282c59d43a0 |
|
MD5 | a7697ea4ffe9f07f98fa5b69238e81b6 |
|
BLAKE2b-256 | f57c81dd23fb0dd2fc7ad0e137c14f84c7b64ead2740916f1391b1dbb32538fc |