[Docs] Add Developer Guide: How to Hack Any Transformers Model (#33979)

* docs: add example for separating q, k, v projections in SAM

* docs: How to Hack Any Transformers Model

* docs: remove changes from sam model docs

* Apply suggestions from code review

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>

---------

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
This commit is contained in:
Magnus
2024-10-07 10:08:20 +02:00
committed by GitHub
parent f5aeb7c1a5
commit ad1a250719
3 changed files with 183 additions and 2 deletions

View File

@@ -93,7 +93,6 @@ masks = processor.image_processor.post_process_masks(
)
scores = outputs.iou_scores
```
## Resources
A list of official Hugging Face and community (indicated by 🌎) resources to help you get started with SAM.