Skip to content

Adding initial support for Label-free concepts - #26

Open
tuomaso wants to merge 34 commits into
pyc-team:devfrom
tuomaso:dev
Open

Adding initial support for Label-free concepts#26
tuomaso wants to merge 34 commits into
pyc-team:devfrom
tuomaso:dev

Conversation

@tuomaso

@tuomaso tuomaso commented Apr 15, 2026

Copy link
Copy Markdown

Adding initial version of label-free cbm, utilizing SigLIP2 instead of labeled concept data.

tuomaso and others added 30 commits April 13, 2026 16:05
…es, decoupling it from init/build methods

- select native or generated learner supervision through concepts["c"]
- standardize dataset samples with native and generated concept dictionaries
- standardize '__getitem__' methods of all ConceptDataset implementations
- migrate CLIP annotation to Hugging Face preprocessing and model loading
- automatically select CUDA, MPS, or CPU unless a device is provided
- add example for dataset-aware prompts in 0_basic_usage.py
- restrict concept aggregation to merged routing
- move the LiteLLM backend to the top-level package
- update label-free examples and add coverage for the new APIs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants