Fix to_tf_dataset references in docs
COLLABORATOR
The code snippet in [this section](https://huggingface.co/docs/datasets/master/use_dataset.html?highlight=to_tf_dataset#tensorflow) is missing an import (`DataCollatorWithPadding`) and doesn't initialize the TF model before the `model.fit` call.
2022-01-05T18:52:34Z
https://github.com/huggingface/datasets/pull/3514#issuecomment-1005991042
https://api.github.com/repos/huggingface/datasets/issues/3514
IC_kwDODunzps479jSC
https://api.github.com/repos/huggingface/datasets/issues/comments/1005991042/reactions
2022-01-05T18:52:34Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1005991042
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
Fix the `to_tf_dataset` references in the docs. The currently failing example of usage will be fixed by #3338.  