sajeedmehrab

Results 3 issues of sajeedmehrab

Added tokenizer kwargs for the fill mask pipeline, which enables to truncate/pad/specify max length etc for the tokenizer. Pipeline can be used as follows following the edit: `from transformers import...

![image](https://user-images.githubusercontent.com/65396882/217030372-250df252-bdf7-48d0-bd20-09c2cb6039a8.png)

The demo at: https://huggingface.co/spaces/THUDM/CogView2 appears to not run. The site displays "Runtime Error" and an error traceback. ![cogview2issue1](https://user-images.githubusercontent.com/65396882/204152578-a3a33f95-b892-4cdb-a9b1-e8367f5a5e27.png)