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.0.tar.gz
(16.3 kB
view details)
Built Distribution
File details
Details for the file ratchada_utils-1.0.0.tar.gz
.
File metadata
- Download URL: ratchada_utils-1.0.0.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0c12d5c2b26d912ba0375c709528f28b7e1ea6e49e459c709b86343420cdf88 |
|
MD5 | c71ae4cbadf47f5d783c3f93069bd36e |
|
BLAKE2b-256 | 00fe9df44966d643f559427cd0a67a61e4e82ca52ecf7a88b07ac993128212ad |
File details
Details for the file ratchada_utils-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: ratchada_utils-1.0.0-py3-none-any.whl
- Upload date:
- Size: 12.3 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 | eacee3142f594151c6ca34263d3d8cc4b555e2861686b88771f1df739bd38cc0 |
|
MD5 | f7a9233ca8732202c7f4bcdecc69cd09 |
|
BLAKE2b-256 | 283232d47a7c58f7bd573969dcd941821f67896d1c27d0053c859bd349264061 |