pytorch / text

Models, data loaders and abstractions for language processing, powered by PyTorch
https://pytorch.org/text
BSD 3-Clause "New" or "Revised" License
3.48k stars 816 forks source link

Torch Text Transform Documentation Mismatch #2222

Open Subhanshu-2411 opened 5 months ago

Subhanshu-2411 commented 5 months ago

📚 The doc issue

Screenshot 2024-01-21 222914 I was going through the torch text documentation and found out that there is a type mismatch mentioned in the documentation that the Pad Transform function takes two integers as input but in description it is written that it takes 1 integer and 1 boolean value

Suggest a potential alternative/fix

No response