From edbabf6b82b7cbe73965d75324bec2b6c16c1008 Mon Sep 17 00:00:00 2001 From: Aritra Roy Gosthipaty Date: Tue, 21 Jan 2025 18:02:39 +0530 Subject: [PATCH] [Doc] Adding blog post to model doc for `TimmWrapper` (#35744) * adding blog post to model doc * Update docs/source/en/model_doc/timm_wrapper.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * review suggestions * review suggestions --------- Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> --- docs/source/en/model_doc/timm_wrapper.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/source/en/model_doc/timm_wrapper.md b/docs/source/en/model_doc/timm_wrapper.md index 5af3d5174..467f2addf 100644 --- a/docs/source/en/model_doc/timm_wrapper.md +++ b/docs/source/en/model_doc/timm_wrapper.md @@ -47,6 +47,17 @@ 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) ``` +## Resources: + +A list of official Hugging Face and community (indicated by 🌎) resources to help you get started with TimmWrapper. + + + +- [Collection of Example Notebook](https://github.com/ariG23498/timm-wrapper-examples) 🌎 + +> [!TIP] +> For a more detailed overview please read the [official blog post](https://huggingface.co/blog/timm-transformers) on the timm integration. + ## TimmWrapperConfig [[autodoc]] TimmWrapperConfig