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.0.tar.gz
(11.1 kB
view details)
Built Distribution
File details
Details for the file ratchada_utils-2.1.0.tar.gz
.
File metadata
- Download URL: ratchada_utils-2.1.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 | 7e85249ea2233368fcf21888086df3ee86346e672ce896a57af9710512916c3e |
|
MD5 | b3fe5b5dbc1e488464640938b850be20 |
|
BLAKE2b-256 | e4a8be7bb5faefb17cf0a240df06388f4768506ba14a92a0fe5ad06abdd2dcb4 |
File details
Details for the file ratchada_utils-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: ratchada_utils-2.1.0-py3-none-any.whl
- Upload date:
- Size: 10.8 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 | a805cc1b876e05e7ce33f343b74e2372ac7e996949a8dbc066a810dcc5f7a3da |
|
MD5 | f143ef174b30b33b0658edf2bdbdf5e9 |
|
BLAKE2b-256 | 0aa6571798005e4716c5c5c6481895b16f7acc0955b7a7e92694b9af03d28871 |