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.1.tar.gz
(11.1 kB
view details)
Built Distribution
File details
Details for the file ratchada_utils-2.0.1.tar.gz
.
File metadata
- Download URL: ratchada_utils-2.0.1.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 | 3d377fe906ad4606c2b78c0667aa3b97046c0860cf339a403c87cff58309a408 |
|
MD5 | 1457388ecf3d9f4d62ece0d9fb85a7d0 |
|
BLAKE2b-256 | b56640b09371998e593e13e749e7e99e41ce61239d875000f5a3f709fefb8e8d |
File details
Details for the file ratchada_utils-2.0.1-py3-none-any.whl
.
File metadata
- Download URL: ratchada_utils-2.0.1-py3-none-any.whl
- Upload date:
- Size: 2.9 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 | 155b7052bf8dce45f1f68aa3c5ee7b5f865c1e129d2473b2db331776e9e741e7 |
|
MD5 | 5ad213092a09eb56b2bb992df6427811 |
|
BLAKE2b-256 | 892a714de1768670f481807cb660d0a772a54e34670b7a480fb422df3d10edee |