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-2.0.0.tar.gz
(11.1 kB
view details)
Built Distribution
File details
Details for the file ratchada_utils-2.0.0.tar.gz
.
File metadata
- Download URL: ratchada_utils-2.0.0.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f433c0c435d05c4053705449460d5412fe99ee5108317b556eb729126278da29 |
|
MD5 | f0368b68d7dde1ab7ab9a12b1ae1f88a |
|
BLAKE2b-256 | 2c7498aec7286916f4d38338459b8a65d98fb6e21929fa3b431042004447e87c |
File details
Details for the file ratchada_utils-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: ratchada_utils-2.0.0-py3-none-any.whl
- Upload date:
- Size: 10.5 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 | d892672f954843ef0a478b154dcdf9cb904007ec289964a5811bd0c3432fa2b9 |
|
MD5 | f3f73ce5a44cba58c8ee62045ef90434 |
|
BLAKE2b-256 | d70cfefd4ca82182c18dbdd461b98c9d5ba3d9399e5294420046525ae6e00c41 |