Skip to content

fine tuning CLIP for embedding generation #13

@imneonizer

Description

@imneonizer

@ellie-sleightholm

Based on this notebook:
https://github.com/marqo-ai/fine-tuning-embedding-models-course/blob/main/10_fine_tuning_CLIP_models.ipynb

I went through the code, It's a nice write-up, kudos to the team!
However, features are calculated without gradients meaning only the last classification Linear node is actually being trained that too with fixed number of classes that makes it more like a How to train CLIP for image classification instead of finetuning the CLIP model and solving the original purpose of the CLIP model that is to compute custom embeddings aligned with the data for ranking purposes.

I would really appreciate If you can put a notebook to do that aswell.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions