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.8.tar.gz
(11.7 kB
view details)
Built Distribution
File details
Details for the file ratchada_utils-1.0.8.tar.gz
.
File metadata
- Download URL: ratchada_utils-1.0.8.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 | 30f75a6bffb972c99ed2b0c6a2beb7317cbe97497a20d4afb37aaf4224436752 |
|
MD5 | 89d128d938f6774a569419c1c3e03a64 |
|
BLAKE2b-256 | a662498258a95f2650897ca58c53dbddee6b4a1bb970035cbdcb20709f71c871 |
File details
Details for the file ratchada_utils-1.0.8-py3-none-any.whl
.
File metadata
- Download URL: ratchada_utils-1.0.8-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 | c7c7d395042ecacdc11d546304a98b3d934c050ba9d334568f8c8cd3a5c8e095 |
|
MD5 | bd1f9ecd75475b187d350fdc21c15773 |
|
BLAKE2b-256 | 172a51a912524a3371d2713447d189af6688ab501af79478ed199d391b51e1cc |