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.6.tar.gz
(25.1 kB
view details)
Built Distribution
File details
Details for the file ratchada_utils-2.1.6.tar.gz
.
File metadata
- Download URL: ratchada_utils-2.1.6.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 | 70080e581b2112d0818f4838b6209ba863dc8eb2381fccbe805d5577014cd6e4 |
|
MD5 | e058e1c46d765a0ff5d1e914c7bf1b66 |
|
BLAKE2b-256 | c58ead9f513b47669d7df314a6f5558f489e0ec9b7a35b18399e18086b1f1f4c |
File details
Details for the file ratchada_utils-2.1.6-py3-none-any.whl
.
File metadata
- Download URL: ratchada_utils-2.1.6-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 | 4416f84f7951c60ee78b0a176f07b088a24881fdbcbe1cc3ea98fd99d0cdba92 |
|
MD5 | 1531cd0c8b333b3bd3fb063652e342df |
|
BLAKE2b-256 | bf6270f860b069871384bbd92d23cde514ec0f4f8e8856f2aa9ca1690b95e0f0 |