clearer model variable naming: pegasus
Author: kamalkraj
Pull request: yes

# What does this PR do?

clearer model variable naming: pegasus

```bash
============================================================================= test session starts =============================================================================
platform darwin -- Python 3.8.9, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- /Users/kamal.raj/.virtualenvs/transformers/bin/python
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/Users/kamal.raj/Documents/GitHub/transformers/.hypothesis/examples')
rootdir: /Users/kamal.raj/Documents/GitHub/transformers, configfile: setup.cfg
plugins: xdist-2.4.0, timeout-2.0.1, dash-2.0.0, hypothesis-6.31.3, forked-1.3.0, typeguard-2.13.2
collected 31 items                                                                                                                                                            

tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_attention_outputs <- tests/test_modeling_tf_common.py PASSED                                        [  3%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_compile_tf_model PASSED                                                                             [  6%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_config PASSED                                                                                       [  9%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_decoder_model_past_large_inputs PASSED                                                              [ 12%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_determinism <- tests/test_modeling_tf_common.py PASSED                                              [ 16%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_forward_signature <- tests/test_modeling_tf_common.py PASSED                                        [ 19%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_generate_with_headmasking <- tests/test_modeling_tf_common.py PASSED                                [ 22%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_headmasking <- tests/test_modeling_tf_common.py PASSED                                              [ 25%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_hidden_states_output <- tests/test_modeling_tf_common.py PASSED                                     [ 29%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_initialization <- tests/test_modeling_tf_common.py PASSED                                           [ 32%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_inputs_embeds <- tests/test_modeling_tf_common.py PASSED                                            [ 35%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_keras_save_load <- tests/test_modeling_tf_common.py PASSED                                          [ 38%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_keyword_and_dict_args <- tests/test_modeling_tf_common.py PASSED                                    [ 41%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_lm_head_model_beam_search_generate_dict_outputs <- tests/test_modeling_tf_common.py PASSED          [ 45%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_lm_head_model_no_beam_search_generate_dict_outputs <- tests/test_modeling_tf_common.py PASSED       [ 48%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_lm_head_model_random_beam_search_generate <- tests/test_modeling_tf_common.py PASSED                [ 51%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_lm_head_model_random_no_beam_search_generate <- tests/test_modeling_tf_common.py PASSED             [ 54%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_load_with_mismatched_shapes <- tests/test_modeling_tf_common.py PASSED                              [ 58%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_loss_computation <- tests/test_modeling_tf_common.py PASSED                                         [ 61%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_model_common_attributes PASSED                                                                      [ 64%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_model_main_input_name <- tests/test_modeling_tf_common.py PASSED                                    [ 67%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_model_outputs_equivalence <- tests/test_modeling_tf_common.py PASSED                                [ 70%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_numpy_arrays_inputs <- tests/test_modeling_tf_common.py PASSED                                      [ 74%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_onnx_compliancy <- tests/test_modeling_tf_common.py PASSED                                          [ 77%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_onnx_runtime_optimize <- tests/test_modeling_tf_common.py PASSED                                    [ 80%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_pt_tf_model_equivalence <- tests/test_modeling_tf_common.py SKIPPED (test is PT+TF test)            [ 83%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_resize_token_embeddings PASSED                                                                      [ 87%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_save_load <- tests/test_modeling_tf_common.py PASSED                                                [ 90%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_save_load_config <- tests/test_modeling_tf_common.py PASSED                                         [ 93%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusModelTest::test_saved_model_creation PASSED                                                                         [ 96%]
tests/pegasus/test_modeling_tf_pegasus.py::TFPegasusIntegrationTests::test_batch_generation PASSED                                                                      [100%]

============================================================================== warnings summary ===============================================================================
../../../.virtualenvs/transformers/lib/python3.8/site-packages/flatbuffers/compat.py:19
  /Users/kamal.raj/.virtualenvs/transformers/lib/python3.8/site-packages/flatbuffers/compat.py:19: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    import imp

-- Docs: https://docs.pytest.org/en/stable/warnings.html
============================================================ 30 passed, 1 skipped, 1 warning in 287.07s (0:04:47) =============================================================
```

<!--
Congratulations! You've made it this far! You're not quite done yet though.

Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.

Then, please replace this with a description of the change and which issue is fixed (if applicable). Please also include relevant motivation and context. List any dependencies (if any) that are required for this change.

Once you're done, someone will review your PR shortly (see the section "Who can review?" below to tag some potential reviewers). They may suggest changes to make the code even better. If no one reviewed your PR after a week has passed, don't hesitate to post a new comment @-mentioning the same persons---sometimes notifications get lost.
-->

<!-- Remove if not applicable -->

Fixes # (issue)


## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-requests),
      Pull Request section?
- [ ] Was this discussed/approved via a Github issue or the [forum](https://discuss.huggingface.co/)? Please add a link
      to it if that's the case.
- [ ] Did you make sure to update the documentation with your changes? Here are the
      [documentation guidelines](https://github.com/huggingface/transformers/tree/master/docs), and
      [here are tips on formatting docstrings](https://github.com/huggingface/transformers/tree/master/docs#writing-source-documentation).
- [ ] Did you write any new necessary tests?


## Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

<!-- Your PR will be replied to more quickly if you can figure out the right person to tag with @

 If you know how to use git blame, that is the easiest way, otherwise, here is a rough guide of **who to tag**.
 Please tag fewer than 3 people.

Models:

- albert, bert, xlm: @LysandreJik
- blenderbot, bart, marian, pegasus, encoderdecoder,  t5: @patrickvonplaten, @patil-suraj
- longformer, reformer, transfoxl, xlnet: @patrickvonplaten
- fsmt: @stas00
- funnel: @sgugger
- gpt2: @patrickvonplaten, @LysandreJik
- rag: @patrickvonplaten, @lhoestq
- tensorflow: @LysandreJik

Library:

- benchmarks: @patrickvonplaten
- deepspeed: @stas00
- ray/raytune: @richardliaw, @amogkam
- text generation: @patrickvonplaten
- tokenizers: @n1t0, @LysandreJik
- trainer: @sgugger
- pipelines: @LysandreJik

Documentation: @sgugger

HF projects:

- datasets: [different repo](https://github.com/huggingface/datasets)
- rust tokenizers: [different repo](https://github.com/huggingface/tokenizers)

Examples:

- maintained examples (not research project or legacy): @sgugger, @patil-suraj
- research_projects/bert-loses-patience: @JetRunner
- research_projects/distillation: @VictorSanh

 -->
@gante 

Comments:
_The documentation is not available anymore as the PR was closed or merged._