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.10 or newer (installed for your hardware/driver stack)
    • Birder 0.7.0 or newer
  2. Install the latest Birder CLIP version:

pip install birder-clip

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

birder_clip-0.0.2.dev9.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

birder_clip-0.0.2.dev9-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file birder_clip-0.0.2.dev9.tar.gz.

File metadata

  • Download URL: birder_clip-0.0.2.dev9.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for birder_clip-0.0.2.dev9.tar.gz
Algorithm Hash digest
SHA256 74c06a620d4f7e39d80a414424d04e1fd0628648412e790d7f0b76bf7994b70c
MD5 b575b4aee7aec8310621feabd6c5809f
BLAKE2b-256 4f3e178700f995707284e7195a914187146bc744e778f50d769e7a1d1bee0bac

See more details on using hashes here.

File details

Details for the file birder_clip-0.0.2.dev9-py3-none-any.whl.

File metadata

File hashes

Hashes for birder_clip-0.0.2.dev9-py3-none-any.whl
Algorithm Hash digest
SHA256 3089173eb77bcef2e41deed5a78fe9710fc53e24016080bbccc8e4f25f713885
MD5 20179eaed4a6f341ef96dee0145bff49
BLAKE2b-256 f5eb0e2b44ad1599948180dbfb692ab9b5f4155577d365302a305d785ceb200c

See more details on using hashes here.

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