Mismatch between tutoriel and doc
{'login': 'clefourrier', 'id': 22726840, 'node_id': 'MDQ6VXNlcjIyNzI2ODQw', 'avatar_url': 'https://avatars.githubusercontent.com/u/22726840?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/clefourrier', 'html_url': 'https://github.com/clefourrier', 'followers_url': 'https://api.github.com/users/clefourrier/followers', 'following_url': 'https://api.github.com/users/clefourrier/following{/other_user}', 'gists_url': 'https://api.github.com/users/clefourrier/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/clefourrier/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/clefourrier/subscriptions', 'organizations_url': 'https://api.github.com/users/clefourrier/orgs', 'repos_url': 'https://api.github.com/users/clefourrier/repos', 'events_url': 'https://api.github.com/users/clefourrier/events{/privacy}', 'received_events_url': 'https://api.github.com/users/clefourrier/received_events', 'type': 'User', 'site_admin': False}
[{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}, {'id': 1935892877, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODc3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/good%20first%20issue', 'name': 'good first issue', 'color': '7057ff', 'default': True, 'description': 'Good for newcomers'}, {'id': 4614514401, 'node_id': 'LA_kwDODunzps8AAAABEwvm4Q', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/hacktoberfest', 'name': 'hacktoberfest', 'color': 'DF8D62', 'default': False, 'description': ''}]
{'login': 'riccardobucco', 'id': 9295277, 'node_id': 'MDQ6VXNlcjkyOTUyNzc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9295277?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/riccardobucco', 'html_url': 'https://github.com/riccardobucco', 'followers_url': 'https://api.github.com/users/riccardobucco/followers', 'following_url': 'https://api.github.com/users/riccardobucco/following{/other_user}', 'gists_url': 'https://api.github.com/users/riccardobucco/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/riccardobucco/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/riccardobucco/subscriptions', 'organizations_url': 'https://api.github.com/users/riccardobucco/orgs', 'repos_url': 'https://api.github.com/users/riccardobucco/repos', 'events_url': 'https://api.github.com/users/riccardobucco/events{/privacy}', 'received_events_url': 'https://api.github.com/users/riccardobucco/received_events', 'type': 'User', 'site_admin': False}
[{'login': 'riccardobucco', 'id': 9295277, 'node_id': 'MDQ6VXNlcjkyOTUyNzc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9295277?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/riccardobucco', 'html_url': 'https://github.com/riccardobucco', 'followers_url': 'https://api.github.com/users/riccardobucco/followers', 'following_url': 'https://api.github.com/users/riccardobucco/following{/other_user}', 'gists_url': 'https://api.github.com/users/riccardobucco/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/riccardobucco/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/riccardobucco/subscriptions', 'organizations_url': 'https://api.github.com/users/riccardobucco/orgs', 'repos_url': 'https://api.github.com/users/riccardobucco/repos', 'events_url': 'https://api.github.com/users/riccardobucco/events{/privacy}', 'received_events_url': 'https://api.github.com/users/riccardobucco/received_events', 'type': 'User', 'site_admin': False}]
Hi, thanks for reporting! This line should be replaced with 
```python
dataset = dataset.map(lambda examples: tokenizer(examples["text"], return_tensors="np"), batched=True)
```
for it to work (the `return_tensors` part inside the `tokenizer` call). Can I work on this? Fixed in https://github.com/huggingface/datasets/pull/5095
## Describe the bug
In the "Process text data" tutorial, [`map` has `return_tensors` as kwarg](https://huggingface.co/docs/datasets/main/en/nlp_process#map). It does not seem to appear in the [function documentation](https://huggingface.co/docs/datasets/main/en/package_reference/main_classes#datasets.Dataset.map), nor to work.

## Steps to reproduce the bug
MWE:
```python
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("bert-base-cased")

from datasets import load_dataset
dataset  = load_dataset("lhoestq/demo1", split="train")

dataset = dataset.map(lambda examples: tokenizer(examples["review"]), batched=True, return_tensors="pt")

```

## Expected results
return_tensors to be a valid kwarg :smiley: 

## Actual results
```python
>> TypeError: map() got an unexpected keyword argument 'return_tensors'
```

## Environment info
- `datasets` version: 2.3.2
- Platform: Linux-5.14.0-1052-oem-x86_64-with-glibc2.29
- Python version: 3.8.10
- PyArrow version: 8.0.0
- Pandas version: 1.4.3


{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5093/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}