Skip to content
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

[Doc] Adding blog post to model doc for TimmWrapper #35744

Merged
merged 5 commits into from
Jan 21, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/source/en/model_doc/timm_wrapper.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ Helper class to enable loading timm models to be used with the transformers libr
>>> top5_probabilities, top5_class_indices = torch.topk(logits.softmax(dim=1) * 100, k=5)
```

> [!NOTE]
> For a more detailed overview please read the [official blog post](https://huggingface.co/blog/timm-transformers) on the timm integration.
Copy link
Member

Choose a reason for hiding this comment

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

Maybe put it in Resources section as well?


Resources:
- [Example Notebook](https://github.com/ariG23498/timm-wrapper-examples)

## TimmWrapperConfig

[[autodoc]] TimmWrapperConfig
Expand Down