File size: 176 Bytes
5fa1a76
 
 
 
 
1
2
3
4
5
First, let's install transformers:

pip install -q transformers
Mask Generation Pipeline
The easiest way to infer mask generation models is to use the mask-generation pipeline.