A CLI tool for generating high-quality image-text pairs for AI training
Project description
GenIText: Generative Image-Text Automated package
Overview
This repository is independently developed as a felxible framework to generate high-quality Image-Text pairs for finetuning Image-Generation models, such as Stable Diffusion, DALL-E, and other generative models. By leveraging open-source captioning models, GenIText automates the process of generating diverse captions for corresponding images, ensuring that the text data is well-suited for downstream applications such as style-specific generations or domain adaptation. This framework is designed to complement contemporary repositories or modules in the field, offering an additional option for flexibility and automation to create customized datasets.
GenIText will become distributable as a CLI tool once package is ready for testing across systems. Please support in any way you see fit!
Table of Contents
Installation
GenIText is available as a Python package and can be installed easily using pip.
To install GenIText, simply run:
pip install genitext
After installation, you can verify that the CLI tool is accessible by running:
genitext --help
To initiate the CLI tool, run:
genitext
GenIText incorporates LLMs from Ollama to assist with prompt refinement which means ollama has to be available on the device when running /refine in the CLI tool. You can download the software for Mac or Windows OS from here. For Linux OS, you can install directly via the following:
curl -fsSL https://ollama.com/install.sh | sh
After installing, pull the appropriate LLM you want to use in /refine. Currently, the default config is set to deepseek-r1:7b since it offers strong performance with it's reasoning capabilities while using relatively trivial memory. Options to switch the LLM in config will be made available soon.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file genitext-0.2.1.tar.gz.
File metadata
- Download URL: genitext-0.2.1.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a29966a9c5e38e9c3c61586311d8e9f111b2f95e6c5cc4d0f8d45dc44cd854aa
|
|
| MD5 |
b88020e4c2d3f1775383605236b93394
|
|
| BLAKE2b-256 |
efd7ca380f6ddafbc018f42271a0039372039715dd14aa5eba9a8991dd20df29
|
File details
Details for the file genitext-0.2.1-py3-none-any.whl.
File metadata
- Download URL: genitext-0.2.1-py3-none-any.whl
- Upload date:
- Size: 26.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
290e064f7f43ab1530cd1c2eda7ea2b374ce284453d9e062f5fb8bf47707bab5
|
|
| MD5 |
154905bd4a6feb50ca265ea85879979e
|
|
| BLAKE2b-256 |
dc9aba553af1f2a5525b152d811c7824c6a4aa857cf2c75f76176dd5eaf86979
|