OPT - fix docstring and improve tests slighly (#17228)

* correct some stuff

* fix doc tests

* make style
This commit is contained in:
Patrick von Platen
2022-05-13 15:14:50 +02:00
committed by Lysandre Debut
parent 219abba24c
commit f79af76fc1
3 changed files with 62 additions and 53 deletions

View File

@@ -35,6 +35,7 @@ src/transformers/models/marian/modeling_marian.py
src/transformers/models/mbart/modeling_mbart.py
src/transformers/models/mobilebert/modeling_mobilebert.py
src/transformers/models/mobilebert/modeling_tf_mobilebert.py
src/transformers/models/opt/modeling_opt.py
src/transformers/models/pegasus/modeling_pegasus.py
src/transformers/models/plbart/modeling_plbart.py
src/transformers/models/poolformer/modeling_poolformer.py