Skip to content

create ijepa modelcard (ref : PR #36979 ).#39354

Merged
stevhliu merged 7 commits intohuggingface:mainfrom
Frontier-tech-consulting:dhruvmalik007/create-ijepa-modelcard
Jul 16, 2025
Merged

create ijepa modelcard (ref : PR #36979 ).#39354
stevhliu merged 7 commits intohuggingface:mainfrom
Frontier-tech-consulting:dhruvmalik007/create-ijepa-modelcard

Conversation

@dhruvmalik007
Copy link
Copy Markdown
Contributor

@dhruvmalik007 dhruvmalik007 commented Jul 11, 2025

What does this PR do?

#36979 : adds the descriptive model card based on the latest standard.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • [] Was this discussed/approved via a Github issue or the forum? Please add a link
    to it if that's the case
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines, and
    here are tips on formatting docstrings.
  • Did you write any new necessary tests?

Who can review?

@stevhliu

Copy link
Copy Markdown
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

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

Thanks!

Comment thread docs/source/en/model_doc/ijepa.md Outdated
Comment thread docs/source/en/model_doc/ijepa.md Outdated
```

</hfoption>
</hfoptions>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Would be helpful to show an quantization example with the large checkpoint https://huggingface.co/facebook/ijepa_vitg16_22k

Comment thread docs/source/en/model_doc/ijepa.md
Comment thread docs/source/en/model_doc/ijepa.md
Comment thread docs/source/en/model_doc/ijepa.md Outdated
Comment thread docs/source/en/model_doc/ijepa.md Outdated
Comment thread docs/source/en/model_doc/ijepa.md
Copy link
Copy Markdown
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

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

Two more things:

  • add the API references back since they shouldn't be removed ([[autodoc]])
  • remember to add the image back

Comment thread docs/source/en/model_doc/ijepa.md Outdated
Comment thread docs/source/en/model_doc/ijepa.md Outdated
Comment thread docs/source/en/model_doc/ijepa.md Outdated
Comment thread docs/source/en/model_doc/ijepa.md
@dhruvmalik007
Copy link
Copy Markdown
Contributor Author

Two more things:

  • add the API references back since they shouldn't be removed ([[autodoc]])
  • remember to add the image back

thanks for reminding the image. this was indeed skipped by me .

- revert the accidental removal of the autodoc api description and the image reerece architecture

- general context updation.
Copy link
Copy Markdown
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

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

Thanks, just a few more things!

Comment thread docs/source/en/model_doc/ijepa.md Outdated
Comment on lines +116 to +117
processor = AutoProcessor.from_pretrained("facebook/ijepa_vith14_1k")
model = AutoModel.from_pretrained("facebook/ijepa_vith14_1k", quantization_config=quantization_config, torch_dtype="auto", attn_implementation="sdpa")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
processor = AutoProcessor.from_pretrained("facebook/ijepa_vith14_1k")
model = AutoModel.from_pretrained("facebook/ijepa_vith14_1k", quantization_config=quantization_config, torch_dtype="auto", attn_implementation="sdpa")
processor = AutoProcessor.from_pretrained("facebook/ijepa_vitg16_22k")
model = AutoModel.from_pretrained("facebook/ijepa_vitg16_22k", quantization_config=quantization_config, torch_dtype="auto", attn_implementation="sdpa")

Comment thread docs/source/en/model_doc/ijepa.md Outdated
</hfoptions>


## Quantization
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
## Quantization

- merging the  quantization content.
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@stevhliu stevhliu merged commit 787a012 into huggingface:main Jul 16, 2025
15 checks passed
rjgleaton pushed a commit to rjgleaton/transformers that referenced this pull request Jul 17, 2025
)

* wip: adding first version of the IJEPA model card.

* refactor based on the @stevhliu feedbacks

* refactor:
- revert the accidental removal of the autodoc api description and the image reerece architecture

- general context updation.

* - changes of model for example quantization.
- merging the  quantization content.
zucchini-nlp pushed a commit to zucchini-nlp/transformers that referenced this pull request Jul 22, 2025
)

* wip: adding first version of the IJEPA model card.

* refactor based on the @stevhliu feedbacks

* refactor:
- revert the accidental removal of the autodoc api description and the image reerece architecture

- general context updation.

* - changes of model for example quantization.
- merging the  quantization content.
zaristei pushed a commit to zaristei/transformers that referenced this pull request Sep 9, 2025
)

* wip: adding first version of the IJEPA model card.

* refactor based on the @stevhliu feedbacks

* refactor:
- revert the accidental removal of the autodoc api description and the image reerece architecture

- general context updation.

* - changes of model for example quantization.
- merging the  quantization content.
zaristei pushed a commit to zaristei/transformers that referenced this pull request Sep 9, 2025
)

* wip: adding first version of the IJEPA model card.

* refactor based on the @stevhliu feedbacks

* refactor:
- revert the accidental removal of the autodoc api description and the image reerece architecture

- general context updation.

* - changes of model for example quantization.
- merging the  quantization content.
zaristei pushed a commit to zaristei/transformers that referenced this pull request Sep 9, 2025
)

* wip: adding first version of the IJEPA model card.

* refactor based on the @stevhliu feedbacks

* refactor:
- revert the accidental removal of the autodoc api description and the image reerece architecture

- general context updation.

* - changes of model for example quantization.
- merging the  quantization content.
zaristei pushed a commit to zaristei/transformers that referenced this pull request Sep 9, 2025
)

* wip: adding first version of the IJEPA model card.

* refactor based on the @stevhliu feedbacks

* refactor:
- revert the accidental removal of the autodoc api description and the image reerece architecture

- general context updation.

* - changes of model for example quantization.
- merging the  quantization content.
zaristei pushed a commit to zaristei/transformers that referenced this pull request Sep 9, 2025
)

* wip: adding first version of the IJEPA model card.

* refactor based on the @stevhliu feedbacks

* refactor:
- revert the accidental removal of the autodoc api description and the image reerece architecture

- general context updation.

* - changes of model for example quantization.
- merging the  quantization content.
zaristei pushed a commit to zaristei/transformers that referenced this pull request Sep 9, 2025
)

* wip: adding first version of the IJEPA model card.

* refactor based on the @stevhliu feedbacks

* refactor:
- revert the accidental removal of the autodoc api description and the image reerece architecture

- general context updation.

* - changes of model for example quantization.
- merging the  quantization content.
zaristei pushed a commit to zaristei/transformers that referenced this pull request Sep 9, 2025
)

* wip: adding first version of the IJEPA model card.

* refactor based on the @stevhliu feedbacks

* refactor:
- revert the accidental removal of the autodoc api description and the image reerece architecture

- general context updation.

* - changes of model for example quantization.
- merging the  quantization content.
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.

3 participants