Adding links to pipelines parameters documentation
Author: AndreaSottana
Pull request: yes


# What does this PR do?

<!--
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 -->

Improving documentation, adding links to text generation pipelines documentation with more complete list of available parameters based on suggestion in this issue https://github.com/huggingface/transformers/issues/19038#issuecomment-1259592359


## Before submitting
- [x] 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/main/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/main/docs), and
      [here are tips on formatting docstrings](https://github.com/huggingface/transformers/tree/main/docs#writing-source-documentation).
- [ ] Did you write any new necessary tests?


## Who can review?

@Narsil or any other suitable reviewer

<!-- 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

 -->


Comments:
Hi, in order to pass the checks you might want to run

```python
pip install transformers[dev]
make fixup
```

Which should fix the docs for you.

I get the following error when calling `make fixup`

```
fatal: Not a valid object name main
Traceback (most recent call last):
  File "/Users/projects/transformers/utils/get_modified_files.py", line 27, in <module>
    fork_point_sha = subprocess.check_output("git merge-base main HEAD".split()).decode("utf-8")
  File "/Users/.pyenv/versions/3.10.4/lib/python3.10/subprocess.py", line 420, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/Users/.pyenv/versions/3.10.4/lib/python3.10/subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'merge-base', 'main', 'HEAD']' returned non-zero exit status 128.
No library .py files were modified
python utils/custom_init_isort.py
python utils/sort_auto_mappings.py
doc-builder style src/transformers docs/source --max_len 119 --path_to_docs docs/source
make: doc-builder: No such file or directory
make: *** [extra_style_checks] Error 1
```

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

> Hi, in order to pass the checks you might want to run
> 
> ```python
> pip install transformers[dev]
> make fixup
> ```
> 
> Which should fix the docs for you.

Hi @Narsil it's done. Feel free to approve the PR if you're happy, thanks

@sgugger any idea why the tests are not passing ?

It seems there is an issue with your CircleCI permissions, the tests won't run.
Could you try refreshing your permissions as shown [here](https://support.circleci.com/hc/en-us/articles/360048210711-How-to-Refresh-User-Permissions-)?

> It seems there is an issue with your CircleCI permissions, the tests won't run.
> Could you try refreshing your permissions as shown [here](https://support.circleci.com/hc/en-us/articles/360048210711-How-to-Refresh-User-Permissions-)?

I'm unable to follow the guidance as when I click on the last link
`5.` Refresh permissions at https://app.circleci.com/settings/user

I get the following message

> **Something Unexpected Happened**
> This is certainly annoying, our apologies. Maybe a refresh would help. If that doesn't work, you may not have permissions to view this page or you may have the incorrect URL.

Can these checks be run on your end somehow or must they be run from my GitHub account?

@sgugger 
You can see the error I get here https://app.circleci.com/pipelines/github/AndreaSottana/transformers/4/workflows/49a7c689-e6b8-430b-b324-32968f9a0962/jobs/42 

```
#!/bin/bash -eo pipefail
python utils/tests_fetcher.py | tee tests_fetched_summary.txt

Traceback (most recent call last):
  File "utils/tests_fetcher.py", line 689, in <module>
    if not diff_with_last_commit and not repo.head.is_detached and repo.head.ref == repo.refs.main:
  File "/home/circleci/.pyenv/versions/3.7.12/lib/python3.7/site-packages/git/util.py", line 1083, in __getattr__
    return list.__getattribute__(self, attr)
AttributeError: 'IterableList' object has no attribute 'main'

Exited with code exit status 1

CircleCI received exit code 1
```

I have no idea where this comes from as my PR only edited some documentation. This whole process doesn't really make life easier for those who just want to make quick contributions to the repository

I have never seen that error before, will report this to CircleCI to see if they have a better idea of what went wrong. In any case, the tests are not needed here, the quality checks are the ones I wanted to make sure were passing before merging.
Just waiting for the doc build job and will merge after!