1. 23 Aug, 2021 2 commits
  2. 20 Aug, 2021 1 commit
  3. 19 Aug, 2021 1 commit
  4. 18 Aug, 2021 2 commits
  5. 17 Aug, 2021 2 commits
  6. 16 Aug, 2021 7 commits
  7. 13 Aug, 2021 7 commits
  8. 12 Aug, 2021 13 commits
  9. 11 Aug, 2021 3 commits
  10. 10 Aug, 2021 2 commits
    • Sylvain Gugger's avatar
      Fix last one · bfc88509
      Sylvain Gugger authored
      bfc88509
    • Ibraheem Moosa's avatar
      Use original key for label in DataCollatorForTokenClassification (#13057) · 29dada00
      Ibraheem Moosa authored
      * Use original key for label in DataCollatorForTokenClassification
      
      DataCollatorForTokenClassification accepts either `label` or `labels` as key for label in it's input. However after padding the label it assigns the padded labels to key `labels`. If originally `label` was used as key than the original upadded labels still remains in the batch. Then at line 192 when we try to convert the batch elements to torch tensor than these original unpadded labels cannot be converted as the labels for different samples have different lengths.
      
      * Fixed style.
      29dada00