clay-lab / transductions

A PyTorch framework for creating, running, and reproducing experiments on seq2seq models.
6 stars 3 forks source link

Ignore <pad> when computing cross-entropy loss and sequence accuracy. #65

Open bdusell opened 2 years ago

bdusell commented 2 years ago

Fixes clay-lab/transductions #64