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.4.tar.gz
(16.2 kB
view details)
Built Distribution
File details
Details for the file ratchada_utils-1.0.4.tar.gz
.
File metadata
- Download URL: ratchada_utils-1.0.4.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5edd0ed05bf22f04c34435d339996ed9bbcd54bfed75c341ce47b8b96064b4e1 |
|
MD5 | ca3883fd1f35c06de507127be5893299 |
|
BLAKE2b-256 | 9bece1b1d85b93e4ebb9dd91ae7614f37f6bf960d3b33d72b0dc4f7f3d82b10a |
File details
Details for the file ratchada_utils-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: ratchada_utils-1.0.4-py3-none-any.whl
- Upload date:
- Size: 12.1 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 | 8a0d0311c801cc635d445b1d857ba89d4dc8aeda9ec96aaa9e920b97e4f3fa42 |
|
MD5 | 12b8d0b81e8873b7d00c051b8a196b4c |
|
BLAKE2b-256 | de25944adcfc743d697df8c2b59c7e12a0678f415ec2eca93d6edaff1696db73 |