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.5.tar.gz
(11.7 kB
view details)
Built Distribution
File details
Details for the file ratchada_utils-1.0.5.tar.gz
.
File metadata
- Download URL: ratchada_utils-1.0.5.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 | 6d03a288f5d77531178b383600cb5d9b83d6fdb98a15e705238e262bcd6cddaa |
|
MD5 | 66bc9d225e70030677a5a0aed8abcfe1 |
|
BLAKE2b-256 | 6df730d6915b86f0945a145f0f48e3e99507aa8fcbf9ee05e64bf3f5448f757c |
File details
Details for the file ratchada_utils-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: ratchada_utils-1.0.5-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 | acadd73fd7c57d146439ea3182b7463a6db87c69f9021fa9c2a9b96a4a1dce64 |
|
MD5 | cd3b29e97df278090300a343d3dfab1e |
|
BLAKE2b-256 | 7c30d8588ecaa56be4e8f490910ba3bd396a6ff8503800bd0d2e6bf7c9996737 |