Skip to content

add CLIP-ViT-L-scope #1022

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Nov 19, 2024
Merged

add CLIP-ViT-L-scope #1022

merged 10 commits into from
Nov 19, 2024

Conversation

Lewington-pitsos
Copy link
Contributor

No description provided.

Comment on lines 215 to 218
"clip-scope": {
prettyLabel: "CLIP-ViT-L-scope",
repoName: "CLIP-ViT-L-scope",
repoUrl: "https://github.com/Lewington-pitsos/vitsae",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Lewington-pitsos, thanks for opening a PR :) Just to understand, what is the library here? For what I can see:

  • clip-scope seems like a generic name that is not mentioned in both the model card and the github repo
  • clipscope seems to be a Python library ("from clipscope import ConfiguredViT, TopKSAE" in the model card) but can't see how to install it. At least it doesn't seem to be on PyPI.
  • CLIP-ViT-L-scope is a very specific name (the name of the repo on the Hub)
  • vitsae is the name of the repo on the Hub. Is it planned to be a published library at some point?

I'm asking this because depending on what you plan to do here, the integration with the Hub could change. Typically, do you think other repos might use the same library in the future or will it be a "one-shot"? We usually recommend to have a consistent naming between the library and repo tags to avoid confusion. Also, the name of the library is usually different from the name of the repo on the Hub, especially when multiple models are linked to the same library.

@Lewington-pitsos
Copy link
Contributor Author

Lewington-pitsos commented Nov 14, 2024

Thanks for the super quick feedback, I have tried to make the names more consistent as suggested, I have also changed the repo to point to the github repo for using the files (clipscope) rather than the one I used to train the models (vitsae). The clipscope repo is much more likely to be used by others in future than vitsae.

I seem to be able to access the clipscope pypi package (https://pypi.org/project/clipscope/) and pip install clipscope from the usage section works for me, does it fail for you?

In terms of tracking, these models are all derived from the same training process and a common use case for them should be to compare how they perform against one another. In a sense collectively they comprise a single tool. https://huggingface.co/google/gemma-scope-2b-pt-res from which we took inspiration takes a similar approach and places large numbers of related models together as a single "model".

Personally I am most interested in the extent to which people are using the tool in any respect than I am in which parts of it are being used most.

Copy link
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the clarification @Lewington-pitsos! Then I think it makes sense to integrate the library as mentioned below.

Also, to make it connected to your model repo on the Hub, you'll have to edit the model card metadata to add library_name: clipscope here. Once that's done and the comments below are addressed, we should be able to merge :)

@Lewington-pitsos
Copy link
Contributor Author

apologies for the delay, accepted the suggested commit and changes made to the readme https://huggingface.co/lewington/CLIP-ViT-L-scope/blob/main/README.md

I think we should be ok to merge now

Copy link
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Wauplin
Copy link
Contributor

Wauplin commented Nov 19, 2024

Sorry, had a few lint issues ^^
I'm merging it now. Expect 3-4 days before getting it live on the Hub.

@Wauplin Wauplin merged commit 32b26e2 into huggingface:main Nov 19, 2024
4 checks passed
@Lewington-pitsos
Copy link
Contributor Author

aah, I should have picked that up, much obliged

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