CLIP Linear Probing?

Hi, I am super new to HF and I am trying to perform a simple linear probing using CLIP as a baseline. I see some tutorials to add a classification layer for BERT but I don’t see any for CLIP so I was wondering if there’s any specific way to perform linear probing using CLIP with the HF layer?

Thank you!