facebookresearch / gtn

Automatic differentiation with weighted finite-state transducers.
MIT License
453 stars 38 forks source link

Interfacing with PyTorch example + docs #18

Closed awni closed 4 years ago

awni commented 4 years ago

Add an example building a PyTorch loss function with GTN and corresponding usage doc.

Screen Shot 2020-10-01 at 2 21 29 PM

awni commented 4 years ago

nit: Feel like CTC example might be more obvious for the newbie users.

Yea I prefer to keep the code super simple and to focus on the integration with PyTorch rather than the graphs and CTC complicates it in a non-useful way.