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.3.tar.gz
(13.5 kB
view details)
Built Distribution
File details
Details for the file ratchada_utils-2.1.3.tar.gz
.
File metadata
- Download URL: ratchada_utils-2.1.3.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a05caa35f00fc5fc03feb05b5d6c503392adeba2b2a711b6b2738fbc96cb34f |
|
MD5 | 92352c4d9ccad77db08fb1cb27b5d319 |
|
BLAKE2b-256 | 18e48aedcb0816fe87bffd6cb162cb4370d7995c64f6b4df6213110db06828fb |
File details
Details for the file ratchada_utils-2.1.3-py3-none-any.whl
.
File metadata
- Download URL: ratchada_utils-2.1.3-py3-none-any.whl
- Upload date:
- Size: 13.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 | d16ce9afadbbdb40c97f8f9ab7f96ad1400db209664867943727b3eeacb746eb |
|
MD5 | db3bb8086124ae8fbfc81d5918f05874 |
|
BLAKE2b-256 | 7b0bdc9546ac798c008fb91c806cac285cd69fbf2afdf789b571942aea9e1a0f |