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.4.tar.gz
(25.1 kB
view details)
Built Distribution
File details
Details for the file ratchada_utils-2.1.4.tar.gz
.
File metadata
- Download URL: ratchada_utils-2.1.4.tar.gz
- Upload date:
- Size: 25.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 | 7972102ae2143a5041fb689d892e5ba6007c703bcec5a0b5de490a41399772be |
|
MD5 | 7b2f05d0bba64a1ae58f987a428aac66 |
|
BLAKE2b-256 | 828dd3ebe17f4720040e4d060dc603ef9b268782b4d7c8687ccb7ec9f8cdbc36 |
File details
Details for the file ratchada_utils-2.1.4-py3-none-any.whl
.
File metadata
- Download URL: ratchada_utils-2.1.4-py3-none-any.whl
- Upload date:
- Size: 24.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 | 2ee30a2cfb4a21d36c7fc32405891dab255a538ba009d99543969af36bd0ed6c |
|
MD5 | ad832aa209dbb60058b8ca6b1db261c4 |
|
BLAKE2b-256 | 638e65d413a8f216e08d3e2b6b9b2be9d2eb1dc99435779ad69d166dc45d8999 |