Auto annotation tool for Text, Images, and Videos.
Project description
SwiftAnnotate 🚀
SwiftAnnotate is a comprehensive auto-labeling tool designed for Text, Image, and Video data. It leverages state-of-the-art (SOTA) Vision Language Models (VLMs) and Large Language Models (LLMs) through a robust annotator-validator pipeline, ensuring high-quality, grounded annotations while minimizing hallucinations. SwiftAnnotate also supports annotations tasks like Object Detection and Segmentation through SOTA CV models like SAM2, YOLOWorld, and OWL-ViT.
Key Features 🎯
-
Text Processing 📝
Perform classification, summarization, and text generation with state-of-the-art NLP models. Solve real-world problems like spam detection, sentiment analysis, and content creation. -
Image Analysis 🖼️
Generate captions for images to provide meaningful descriptions. Classify images into predefined categories with high precision. Detect objects in images using models like YOLOWorld. Achieve pixel-perfect segmentation with SAM2 and OWL-ViT. -
Video Processing 🎥
Generate captions for videos with frame-level analysis and temporal understanding Understand video content by detecting scenes and actions effortlessly. -
Quality Assurance ✅
Use a two-stage pipeline for annotation and validation to ensure high data quality. Validate outputs rigorously to maintain reliability before deployment. -
Multi-modal Support 🌐
Seamlessly process text, images, and videos within a unified framework. Combine data types for powerful multi-modal insights and applications. -
Customization 🛠️ Easily extend and adapt the framework to suit specific project needs. Integrate new models and tasks seamlessly with modular architecture.
-
Developer-Friendly 👩💻👨💻 Easy-to-use package and detailed documentation to get started quickly.
Installation Guide
Make sure you have conda installed on your system. To install SwiftAnnotate, follow these steps:
-
Clone the repository:
git clone https://github.com/yasho191/SwiftAnnotate
-
Create virtual environment:
conda create -n swiftannotate python=3.10 conda activate swiftannotate
-
Navigate to the project directory:
cd SwiftAnnotate
-
Install dependencies:
pip install -r requirements.txt
Annotator-Validator Pipeline for LLMs and VLMs
The annotator-validator pipeline ensures high-quality annotations through a two-stage process:
Stage 1: Annotation
- Primary LLM/VLM generates initial annotations
- Configurable model selection (OpenAI, Google Gemini, Anthropic, Mistral, Qwen-VL)
Stage 2: Validation
- Secondary model validates initial annotations
- Cross-checks for hallucinations and factual accuracy
- Provides confidence scores and correction suggestions
- Option to regenerate annotations if validation fails
- Structured output format for consistency
Benefits
- Reduced hallucinations through 2 stage verification
- Higher annotation quality and consistency
- Automated quality control
- Traceable annotation process
The pipeline can be customized with different model combinations and validation thresholds based on specific use cases.
Supported Modalities and Tasks
Text
Images
Captioning
Currently, we support OpenAI, Google-Gemini, and Qwen2-VL for image captioning.
Videos
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 swiftannotate-0.1.0.tar.gz.
File metadata
- Download URL: swiftannotate-0.1.0.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.10.8 Darwin/24.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6ef708883dcfb52ffbbbb61e2504c4066d3deb9c7d4d4280204c4ac8afd48c4
|
|
| MD5 |
7f712cb54a2f4f6f14baaa28b38941d4
|
|
| BLAKE2b-256 |
50cb7f2ca44975eb126a0d5b19520f6163b75c328f387e9b2c42e1fff79eadda
|
File details
Details for the file swiftannotate-0.1.0-py3-none-any.whl.
File metadata
- Download URL: swiftannotate-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.10.8 Darwin/24.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f898b1fc4172ed5d12906d94dd5c51820eecaa4e44349f6ea1a30cdb2e940e4
|
|
| MD5 |
4ab5d18e8f2dbb8bc571dc6874afa3a0
|
|
| BLAKE2b-256 |
b1c1ec887364fda0694c40ac98a8f61722d038e6c59797bd565f706caf90da79
|