Skip to content

Commit

Permalink
[models] Add attention_mask when required and apply `forced_bos_tok…
Browse files Browse the repository at this point in the history
…en` logits processor (Fixes huggingface#23)
  • Loading branch information
xenova committed Mar 18, 2023
1 parent e93c76d commit 5025621
Showing 1 changed file with 306 additions and 343 deletions.
Loading

0 comments on commit 5025621

Please sign in to comment.