content.raw: Sharing a super-fast segmentation model today 💨 
content.type: text
content.value: Sharing a super-fast segmentation model today 💨 
content.type: new_line
content.raw: SlimSAM is pruned-distilled version of SAM model, it's (up-to 8.6x) faster and smaller yet very powerful! ⚡️ 
content.type: text
content.value: SlimSAM is pruned-distilled version of SAM model, it's (up-to 8.6x) faster and smaller yet very powerful! ⚡️ 
content.type: new_line
content.raw: It has the same architecture as SAM, meaning you can use the 🤗 transformers code for SAM on SlimSAM models ⬇️  (yes only 3 lines of code!)
content.type: text
content.value: It has the same architecture as SAM, meaning you can use the 🤗 transformers code for SAM on SlimSAM models ⬇️  (yes only 3 lines of code!)
content.type: new_line
content.code: from transformers import pipeline
  generator = pipeline(model="nielsr/slimsam-50-uniform", task="mask-generation")
  outputs = generator(image)
content.lang: python
content.raw: ```python
  from transformers import pipeline
  generator = pipeline(model="nielsr/slimsam-50-uniform", task="mask-generation")
  outputs = generator(image)
  ```
content.type: code_fence
content.type: new_line
content.raw: Lastly, I have built an app for you to compare SlimSAM and SAM outputs 
content.type: text
content.value: Lastly, I have built an app for you to compare SlimSAM and SAM outputs 
content.type: new_line
content.raw: https://huggingface.co/spaces/merve/slimsam
content.id: merve/slimsam
content.type: space
content.type: resource
content.url: https://huggingface.co/spaces/merve/slimsam
content.type: text
rawContent: Sharing a super-fast segmentation model today 💨 
  SlimSAM is pruned-distilled version of SAM model, it's (up-to 8.6x) faster and smaller yet very powerful! ⚡️ 
  It has the same architecture as SAM, meaning you can use the 🤗 transformers code for SAM on SlimSAM models ⬇️  (yes only 3 lines of code!)
  ```python
  from transformers import pipeline
  generator = pipeline(model="nielsr/slimsam-50-uniform", task="mask-generation")
  outputs = generator(image)
  ```
  Lastly, I have built an app for you to compare SlimSAM and SAM outputs 
  https://huggingface.co/spaces/merve/slimsam 
reactions.reaction: ❤️
reactions.users: osanseviero linoyts abhishek clem lunarflu BrigitteTousi marcsun13 julien-c Pclanglais Dlbk samusenps Tonic sbarman25 pcuenq afrideva sbrandeis