Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Birder CLIP

Birder CLIP is an early-stage Birder extension for CLIP-style image-text models, focused on practical inference and fine-tuning workflows.

Introduction

Birder CLIP extends Birder with image-text models for zero-shot classification, image-text retrieval style workflows, caption generation and related multimodal computer vision tasks.

The project is aimed at image-text modeling rather than general vision-language model (VLM) chat or instruction-following systems. It currently includes CLIP-style components, tokenizers, model registry utilities, inference scripts and training code. Full training is supported, but for large-scale CLIP pretraining you are probably better served by OpenCLIP.

Setup

  1. Ensure your environment meets the minimum requirements:

    • Python 3.11 or newer
    • PyTorch 2.14.0 or newer (installed for your hardware/driver stack)
    • Birder 0.8.3 or newer
  2. Install the latest Birder CLIP version:

pip install birder-clip

Birder CLIP uses Birder's runtime configuration, including birder.toml and the shared directory and LOG_LEVEL environment overrides. Tokenizers are stored in the tokenizers/ subdirectory of the configured MODELS_DIR.

Getting Started

List available image-text models:

python -m birder_clip.tools list-models --image-text

List available pretrained weights:

python -m birder_clip.tools list-models --pretrained --verbose

Run zero-shot classification on a directory of images:

python -m birder_clip.scripts.zero_shot -n laion_clip_vit_l14 --classes eagle hawk falcon --template-set default --gpu data/images

For detailed options, run:

python -m birder_clip.scripts.zero_shot --help
python -m birder_clip.tools --help

Training

Birder CLIP includes training support for image-text datasets in CSV and WebDataset formats, including CLIP, CoCa and LiT-style workflows.

Project Status and Contributions

Birder CLIP is an early alpha project. APIs, model names, checkpoints, training recipes and command-line options may change without notice.

This is currently a personal project in active development. Suggestions, bug reports and feedback are welcome through the project's issue tracker, but the project is not yet stable enough for broad external contributions.

Licenses

The code in this project is primarily licensed under Apache 2.0. See LICENSE for details.

Some model implementations, pretrained weights, tokenizers and converted artifacts may be derived from or depend on projects and datasets with their own licenses and usage restrictions.

You are responsible for ensuring compliance with all licenses and conditions of any dependent licenses.

Disclaimer

If you intend to use Birder CLIP, its pretrained weights, or any associated datasets in a commercial product, we strongly recommend seeking legal advice to ensure compliance with all relevant licenses and terms of use.

It's the user's responsibility to ensure that their use of this project, including any pretrained weights or datasets, complies with all applicable licenses and legal requirements.

Acknowledgments

Birder CLIP owes much to the work of others in computer vision, image-text representation learning and open-source machine learning.

Special thanks to the OpenCLIP project, which serves as the main reference implementation and inspiration for much of the CLIP-style modeling and training work here. The same principle as in Birder applies: this project stands on the shoulders of many open-source projects, papers and datasets. If an attribution is missing, please open an issue.

Metadata

Release files for birder-clip 0.0.2.dev10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for birder-clip 0.0.2.dev10
File Size Uploaded Provenance Actions
birder_clip-0.0.2.dev10.tar.gz 1.5 MB Without provenance Details for birder_clip-0.0.2.dev10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for birder-clip 0.0.2.dev10
File Interpreter ABI Platform Actions
birder_clip-0.0.2.dev10-py3-none-any.whl Python 3 none any Details for birder_clip-0.0.2.dev10-py3-none-any.whl

Total release size: 2.9 MB

Release files / birder_clip-0.0.2.dev10.tar.gz

Download URL birder_clip-0.0.2.dev10.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
7b48ef7068b29cb8393b77e52dabd6ade4b14715e30191e908d7da7c3e4d6c08
BLAKE2b-256 checksum
How to use checksums
41f515bea92b19e409fc3f7b9b5597a272d7ffe6f0380729c26ab00383fb4af8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.11.17

Release files / birder_clip-0.0.2.dev10-py3-none-any.whl

Download URL birder_clip-0.0.2.dev10-py3-none-any.whl
Size 1.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b4c220f3dab417b2f6823f933b7e90c4ab992383d49e81f6ff6f7a9a4e4119b2
BLAKE2b-256 checksum
How to use checksums
222467c49f3c90e16401d8a5864772bceae2dd5a4e5484b0a59ea6da7fe9c9c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.11.17

Security for birder-clip 0.0.2.dev10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page