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.2.tar.gz
(13.5 kB
view details)
Built Distribution
File details
Details for the file ratchada_utils-2.1.2.tar.gz
.
File metadata
- Download URL: ratchada_utils-2.1.2.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 | 9efc59605c4e3f2785f10d4b74473d1dcf09efe701d5a4dd653676b6d541cd0a |
|
MD5 | 6aaaf8bdacd4a5e544030d6992a94e3b |
|
BLAKE2b-256 | 1a46558504169c5158814877db15f471bc2e55aebf18e6455308316f35057b39 |
File details
Details for the file ratchada_utils-2.1.2-py3-none-any.whl
.
File metadata
- Download URL: ratchada_utils-2.1.2-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 | 5af59d9287b2c4e0dc72f7a261c2b399b8959853dfcc32076e53e19e573535af |
|
MD5 | db1360b0b61a33561044c001b5d93756 |
|
BLAKE2b-256 | d37c803200763f9c74f1ed7393d6156dc5235208c9c65a8a3eac03378e4ceade |