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.9.tar.gz
(11.8 kB
view details)
Built Distribution
File details
Details for the file ratchada_utils-1.0.9.tar.gz
.
File metadata
- Download URL: ratchada_utils-1.0.9.tar.gz
- Upload date:
- Size: 11.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 | ce583facbe01550da79fcf4a55f20c845ab79eb4ccc14d555957eb0822fe64fb |
|
MD5 | 09c2e88d49b943ac645253c16353c91d |
|
BLAKE2b-256 | a9a5cac6964f6e38b8eba59feee4be3a5a32447b02b81dd207a97afbd3dac376 |
File details
Details for the file ratchada_utils-1.0.9-py3-none-any.whl
.
File metadata
- Download URL: ratchada_utils-1.0.9-py3-none-any.whl
- Upload date:
- Size: 3.3 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 | 429ba0c87e71865a55d42b73a024fe2c91b37b5c77d00dfd1dab601170640f34 |
|
MD5 | 1aeed4698a9172425eaa316e9f15b3db |
|
BLAKE2b-256 | 0acdcf08e9ed2f026f2c5e3bd0ac74ac921a1ace7f600f51540619913eb78423 |